Hi.. My html code is.. <input id="supplimentalId" class="button" jwcid="@Submit" value="Add"/>
and java code is
@EventListener(elements = "supplimentalId", events = "onclick")
public void watchText(IRequestCycle cycle)
{
// do something
((Dialog)getComponent("DialogContentSupplimental")).show();
}
ie .. when i click on add button this dialog box must open.
But the above method is not working.
Please if anybody could help me, I ll be thankfull.
Regards,
kavya
