Kavya, The id should be part of the jwcid expression:
<input class="button" jwcid="[EMAIL PROTECTED]" value="Add"/> the component will create the id attribute for you. Kavya K wrote:
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
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]