Skip to Content

Dropdownlist box & InputField

1. Is there a way to have a onChange/focus lost event for an InputField? I saw the <bsp> find and replace solution, but I need a jsp version. I need to dynamically calculate field values when a value is entered in the inputfield!

2. How do you handle eventing for dropdownlistboxes (HTMLB using DynPages). how do you get the values for the selected items in your event handler method in DynPage?

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Jan 21, 2005 at 01:52 AM

    Hi Siddhartha,

    Even I'm unaware of the first issue. But for the second issue, the sol - if you have htmlb dropdownlistbox, use property <b>"onSelect"</b> as given below.




    selection ="<%=myBean.getSelection() %>"



    <b>In DynPage - call the method </b>

    public void onDDSelect(Event event) throws PageException


    DropdownListBox sf = (DropdownListBox)


    sel = sf.getSelection();


    Hope this helps.



    PS: Dont forget to award points if you find it useful or solved.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.