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 SkipVought 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: *

  • Users: AvaB
  • Order by date
  1. AvaB

    <body onload="doSomething()"> doesn't work

    Thanks for your suggestion. I tried it but no luck. If I do it this way... <body onload="test1()"> <p>Paragraph 2</p> </body> <SCRIPT LANGUAGE="JavaScript"> function test1(){ alert("popup 1"); } window.onload = function test2(){ alert("popup 2"); } </script> <body> <p>Paragraph 1</p> </body>...
  2. AvaB

    &lt;body onload=&quot;doSomething()&quot;&gt; doesn't work

    i have a main.jsp file whose <body onload="doSomething()"> works perfectly on its own. however, if i instead call AAA.jsp which includes/embeds 2 jsp files (main.jsp and menu.jsp), the onload of main.jsp no longer works. i suspect it is because AAA.jsp also has its own onload function and for...
  3. AvaB

    problem with entity beans remote interface and bean class

    looks like the automatically generated ejb files have not been refreshed. are you using eclipse/wsad? if so, regenerate the ejb classes (try deleting the previous copies first - just the ones that were automatically generated - not the actual bean and interface you coded) and redeploy.
  4. AvaB

    What causes a bean not bound error:

    are you using jboss with eclipse? if so, check out http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3837280#3837280.
  5. AvaB

    JOptionPane and password question

    Try passing a JPasswordField object as the message parameter for the JOptionPane.
  6. AvaB

    onClick=&quot;clearForm();return false;&quot;

    I see. I noticed the submitting when I was playing around with the code earlier but couldnt understand why it would submit the form. I didnt know this was default for an input type of image. Thanks to both for your input!
  7. AvaB

    onClick=&quot;clearForm();return false;&quot;

    Just wondering, in code such as the one below, what exactly does the "return false" do? function clearForm(){ document.form1.firstname.value=""; document.form2.lastname.value=""; } <input type="image" src="clear.jpg" name="clear" onClick="clearForm();return false;">
  8. AvaB

    &quot;back&quot; button

    I had the same problem. Have a look at this thread: http://www.tek-tips.com/viewthread.cfm?SQID=889614&SPID=216
  9. AvaB

    onclick=&quot;window.history.back()&quot;

    I was playing around with the code and it's weird but apparently, this code: <input type="image" src="/images/change.jpg" border=0 name="Change" onclick="window.history.back()"> and this one: <A href="javascript:window.history.back()"><IMG src="/images/change.jpg"></A> have different...
  10. AvaB

    onclick=&quot;window.history.back()&quot;

    I have "order.jsp" with a bunch of textboxes where user inputs some data and "confirm.jsp" which extracts user input and displays it on screen for verification. here is my problem: on "confirm.jsp", i have a button called "change" that should go back to the order.jsp with the user's original...
  11. AvaB

    WSAD 5.0 - IBM Universal Test Client - Error

    Double-check to see if the method has been promoted to the appropriate interface (remote or local?). Also try to re-generate EJB classes and redeploy.
  12. AvaB

    wrapping text & StringBuffer

    I have a StringBuffer object in B.jsp that collects various String objects passed from some A.jsp and displays it on the screen. B.jsp: String name_input = request.getParameter("name"); String address_input = request.getParameter("address"); String comment_input =...
  13. AvaB

    Dynamic Hyperlinks

    if i understand you correctly, you wish to be forwarded to some page depending on what is selected from the drop down menu. is that right? in that case, you may try something like: ----------------------------------------------------- <%@ page import="javax.servlet.RequestDispatcher"%> <%...
  14. AvaB

    file naming conventions

    a file named "foo.java" must have a "public class foo" in it.
  15. AvaB

    JSPs and Javascript

    Hi all, Does the location of the <script></script> block whwre I define functions matter in a JSP page?
  16. AvaB

    Java Version (JVM RT) on Client Side

    You may use: System.getProperty("java.version") System.getProperty("java.vendor")

Part and Inventory Search

Back
Top