Skip to Content
0
Former Member
Jan 06, 2006 at 07:27 PM

serverEvent for htmlb InputField

14 Views

How to get the serverEvent for inputfield working?

Eg:

<hbj:inputField id="currencyDisplay" type="BCD"

width="250px" value="100" jsObjectNeeded="true">

<%currencyDisplay.setServerEvent (EventTrigger.ON_FOCUS,Event ev);%>

</hbj:inputField>

Also I've created a function ev() on Dynpage:

public void ev(Event e)throws PageException{

}

I get runtime error!

If i take off this line:

<%currencyDisplay.setServerEvent (EventTrigger.ON_FOCUS,Event ev);%>

It won't display error.

I need to execute something on the server with something changed in the inputfield...Anybody??

Thank you!