Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. kook04

    First time using Java 1.5: New compiler error, please help

    I am converting some software that was writting under Java 1.3.1 to Java 1.5, and I am getting two compile errors that I have never seen before. Both are related to import statements. Here they are: 1) "<class name> is already defined in a single type import". This one is happening with...
  2. kook04

    Closing &quot;child&quot; windows when the parent window is closed.

    Hey all, Is there a way to close a 'child' window automatically when the parent browser window is closed. By child window, I mean a pop up window that was opened from an action in the parent browser window. When the parent browser is closed, I want the child to also close. Thanks in advance...
  3. kook04

    Need help disabling a text input field.

    You guys have been so helpful, and I now have one more slight problem. I've implemented the code that cLFlaVA suggested, and it works great for the most part. I.E.: var e = document.forms['formName'].elements; for (var i = 0; i < e.length; i++) { if (e[i].type == 'select-one') {...
  4. kook04

    Need help disabling a text input field.

    That did it! Worked like a charm. Thanks for such a simple and solid solution. -Kennedy ------ KJR
  5. kook04

    Need help disabling a text input field.

    Thank you so much for your help. I will try to implement this solution, and I will let you know the outcome. Thanks again. -Kennedy ------ KJR
  6. kook04

    Need help disabling a text input field.

    You've given me an idea... Perhaps in the onload event, I could iterate through all of the elements in the form, and "fire" the change event for each Select menu. Does that sound feasible? I would need to be able to do things: 1) Know if an element is a Select menu. 2) Trigger each select...
  7. kook04

    Need help disabling a text input field.

    I'm sorry, I should have explained the problem better... Using the 'onload' event in the body is not possible because there may be many pairs of Select menus and text fields on the page. Also, there may be other select menus and text fields on the page which do not need to have this...
  8. kook04

    Need help disabling a text input field.

    I have a text input field which needs to be enabled/disabled based on the current selection in a Select menu. I have it 90% working. The easy part is already done, i.e.: I added an "onchange" listener to the Select menu. Whenever it changes, the function checks the current selection, and...
  9. kook04

    Browser behavior differences

    That was the solution! Thank you very much. ------ KJR
  10. kook04

    Browser behavior differences

    ...textField = document.forms[0].elements[textFieldName]; alert(operatorSelect.selectedIndex); //***** var operator = operatorSelect.options[operatorSelect.selectedIndex].value; alert("Operator: " + operator)...
  11. kook04

    Problem in deploying a war file in Weblogic 7.0

    I've also had this same problem. Does anyone have a solution? ------ KJR
  12. kook04

    Problem with &quot;URL Rewriting&quot;. (encodeURL( ) method)

    Hey all, I'm having a problem with then encodeURL( ) method of the HttpServletResponse class. When I encode a URL that is pointing to a servlet, the encoded URL string I get back give the web server (iPlanet 4.1) a problem. I get a ClassNotFoundException because it is viewing the appened...
  13. kook04

    Can't control log files!

    Thanks Ken. Well, I actually am having a problem. It seems these files grow rather large relatively quickly. Being that they are in a /tmp directory, I thought they would eventually go away, but that doesn't seem to be the case. Is there anyway to stop these files from being generated...
  14. kook04

    Can't control log files!

    Hey all, I'm having a problem with log files being generated that I don't necessarily want. In particular, in the /var/tmp directory, a bunch of files are being created, all starting with the letters &quot;wsc&quot;. An example would be wscAAAig20s or something along those lines. My...
  15. kook04

    how to make a &quot;working&quot; icon appear during long process

    Exactly. I would recommend a JProgressBar for such a task. It lets the user know that activity is taking place. ------ KJR
  16. kook04

    Error: &quot;Failed to Get GenericServlet&quot; ??

    I am getting this error when I try to load my Servlets. I am using iPlanet Web Server, and they were working correctly at one point. Does anyone have any idea what might generate this problem? Thank you ------ KJR
  17. kook04

    constructing Btree

    From experience, there is no &quot;short cut&quot; to creating a BTree. To code one that works properly, it will be slightly involved depending on whether it is to be persistant or not. ------ KJR
  18. kook04

    &quot;modifier static not allowed here&quot;

    Classes cannot be declared Static. ------ KJR
  19. kook04

    quoting strings in JDBC

    There is no such method in Java. Sorry ------ KJR
  20. kook04

    How to seperate strings

    String s = &quot;ABCDEFG&quot;; String begin = s.substring(0, 2); String end = s.substring(2, s.length()); //Then, you have: begin = &quot;AB&quot; end = &quot;CDEFG&quot; Hope this helps :) ------ KJR

Part and Inventory Search

Back
Top