Skip to Content
0
Former Member
Oct 24, 2005 at 01:18 AM

Event handler error

35 Views

Hi ALL,

I have a Dropdownlist box which consists of months .When i change the month name output should be displayed according to that.I wrote a hander method but it displaying below error

<b>Eventhandler- " hi " or "on hi " not found!.

Exception id: 09:12_23/10/05_0619

See the details for the exception ID in the log file</b>

Here is my code

<hbj:dropdownListBox id="Month" tooltip="Select Month" selection="Oct" disabled="false" nameOfKeyColumn="KeyCol" nameOfValueColumn="KeyVal" onSelect= " hi " >

method

public void onSelect(Event event) throws PageException {

// Get the listbox by component name.

response.write("this is the output....");

DropdownListBox lb= (DropdownListBox)this.getComponentByName("Month");

Can any one have idea on this?.I appreciate your help.

Thanks in advance