I am getting this error when clicking on my "searchbutton". What is my
problem exactly ?

"Request event 'clicked' (on component Gentoo:button) was not handled; you
must provide a matching event handler method in the component or in one of
its containers."

gentoo.tml : 
<t:button type="button" t:id="button" value="search" event="clicked" />

gentoo.java :

@Component(parameters = {"type=button"})
        private Button button;
        
        @OnEvent(component = "button", value = "clicked")
        public JSONObject onButtonClicked(String value) {
                
                System.out.println("Event Caught !");
        }

Thanks




-- 
View this message in context: 
http://www.nabble.com/Tapestry-5-and-Event-component.-tp24192270p24192270.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to