Hi..
 I am using tapestry 4.1
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.,ie @EventListener is never called.
Is the above code correct? Have i missed anything?


Please if anybody could help me, I ll be thankful.



Regards,
kavya
-- 
View this message in context: 
http://www.nabble.com/problem-with-%40EventListener-tp16447029p16447029.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to