User Profile

Collapse

Profile Sidebar

Collapse
pronerd
pronerd
Last Activity: Sep 16 '09, 08:36 PM
Joined: Nov 10 '06
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • pronerd
    replied to Need Help on Java servlet program...
    in Java
    Servlets can only run inside of a Servlet container (Tomcat, JBoss, etc.). You can not run one inside an Applet....
    See more | Go to post

    Leave a comment:


  • The scrolling is working in Firefox for me.
    See more | Go to post

    Leave a comment:


  • pronerd
    replied to PgUp scrolling in FF
    And as I already explained that is going to happen each time the user selects an input field. None of the key events are going to trigger until the user has selected something else.

    Why does it matter if the user can use the page up or down buttons any way. If they have selected a textfield that they are entering data, why would they want to move off of the page. They would not be able to see what they are entering....
    See more | Go to post

    Leave a comment:


  • This is not clear. MySQL is a database not a form field. So there is no field type of MySQL. Also since it sounds like you want to be able to do database access you will need a server side technology like ASP, JSP, PHP, etc. You can not access a database with JavaScript by it self....
    See more | Go to post

    Leave a comment:


  • pronerd
    replied to form validation
    Yes. There are thousands of examples of JavaScript form validation available. Just Google for "JavaScript +form +validation"....
    See more | Go to post

    Leave a comment:


  • pronerd
    replied to Java Post method - Cookie Issue
    in Java
    You will spend a huge amount of time trying to work out all the details of emulating a HTTP client your self. You would be a lot better of using one of the library's for this. Like HttpClient lib (http://hc.apache.org/httpclient-3.x/) from Apache.
    See more | Go to post

    Leave a comment:


  • pronerd
    replied to Problem with access to signed javascript file
    in Java
    The description starts off talking about accessing a JavaScript file, but the URL is for a JAR file. Which is it you are trying to use? They are completely different un-related technologies. Are you trying to load a Java Applet in the page?




    Meaning what exactly? Is there an error, is something happening that should not, or something not happening that should be?




    Is...
    See more | Go to post

    Leave a comment:


  • Sounds like this question should be posted in a forum for SQL or the DataBase you are using rather than for Java. Unless you are doing this with EJB entity beans or a similar frame work. Is that the case?
    See more | Go to post

    Leave a comment:


  • P.S. I would also try adding the line below just before the write() method call to make sure your heap size settings are actually being made. You might also try using a capital 'M' instead of lower case for setting the Xmx value. I see to remember seeing it that way in examples some where.
    See more | Go to post

    Leave a comment:


  • That is the only option I know of for Java to create the acutal files. Some other options are to export the data in CSV format and import it to Excel, or for Office 2003 or newer you can save the in an XHTML table and Excel can open that just like a normal Excel file. For this option to work the XHTML has to be well formed, and there is some meta data tweaking that has to be done. To see an example just save a normal Excel file as HTML and look...
    See more | Go to post

    Leave a comment:


  • pronerd
    replied to Browser Crash Handler
    This is something that needs to be done on the server side. The client side not reliable enough to carry out critical funcitons. There are too many knowns. Difffernt browser bugs, differnt browser plugins that can change behaviors, different browser security settings that can prevent JavaScript features etc. etc. This also would not handle the problem of OS level crashes, or loss of network connectivity. The server side logic needs to handle...
    See more | Go to post

    Leave a comment:


  • pronerd
    replied to PgUp scrolling in FF
    Ok,

    I think I see what is going on here. Once you select the text input field the field then absorbs all keyboard events. So if you change the trigger event from something like onkey to onmouseover the act() function is called before the text field is selected. And your keyboard events are not swallowed by the text field. Once a text field is selected though the keyboard events are swallowed by the text field, and you have to select...
    See more | Go to post

    Leave a comment:


  • Finding a layer's width when the CSS is not set

    Does anyone know a trick to get the width of a layer when its CSS width attribute is not set? The code below will return a value of null since the CSS attributes are not set. Does anyone know of a way to get the layer's width in this case?


    Code:
    <div id="someLayer" ></div>
    
    <script>
        alert('Width: 'document.getElementById('someLayer').style.width):
    </script>
    See more | Go to post

  • pronerd
    replied to list and onblur event..
    Too many errors to explain them all. Here are working versions of the functions

    Code:
    function validateCB() {
        if(document.rec.loc.options.selectedIndex == 0)   {
            alert(" hi");
    	return false;
        } else {
    	return true;
        }
    }
     
     
    function validatePID(inputfield, helptext) {
        if(inputfield.value.length !=9)   {
    	if(helptext
    ...
    See more | Go to post

    Leave a comment:


  • pronerd
    replied to list and onblur event..
    There should not be a space between the equals signs.

    Code:
    selectedIndex = = 0

    Should be

    Code:
    selectedIndex == 0
    See more | Go to post

    Leave a comment:


  • Code:
    <html>
        <body><br /><br />
            
            <select onchange="concatInput()" id="dropDownMenu" >
                <option value="1" >1</option>
                <option value="2" >2</option>
                <option value="3" >3</option>
            </select>
    ...
    See more | Go to post

    Leave a comment:


  • pronerd
    replied to How to read and map xls columns
    in Java
    The POI project will let you access MS Office files with Java.
    Apache POI - Java API To Access Microsoft Format Files
    See more | Go to post

    Leave a comment:


  • Ok first off I think what you actually want to do is change the ID attribute, not the name attribute. Chaining a tag's name could potentially change is function. For instance if you had a DIV tag and you changed it's name to "blankX" it could end up no longer functioning as a DIV object.

    Secondly what you are describing sounds unnecessarily complicated. If you just want to make objects appear and disappear you could simply...
    See more | Go to post

    Leave a comment:


  • pronerd
    replied to pasteHTML and font size
    Sure you can. As I just explained you could add a space after the closing tag so the cursor would not end up beside the letter(s). Or you could set an onChange event for the field and check to see if the currsor is next to your tag. If it is then move it over a space or two.






    I do not understand what you mean. First off you are not setting your font size in px. You are not including any label...
    See more | Go to post

    Leave a comment:


  • pronerd
    replied to pasteHTML and font size
    That is not a bug. Just about every rich text editor will do that. I have the same problem with MS Word. If the cursor is placed next to that text it will be counted as inside the tags so it will have the style of those tags. You could try adding a space after the closing tag so that it will not treat the cursors location as inside the tag....
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...