It depends on your task. If it is related to validation you can campare values in onValidate handler:
@OnEvent(value=EventConstants.VALIDATE, component="mySelect") void validateMaySelect(MyValue newValue) { if (!myValue.equals(newValue)) { // your code here } } Or you can use getter and setter method on the page/component: public MyValue getMyValue() { return myValue; } public void setMyValue(MyValue newValue) { if (!myValue.equals(newValue)) { // your code here myValue = newValue; } } On Mon, Mar 25, 2013 at 10:43 PM, Norman Franke <nor...@myasd.com> wrote: > On Mar 25, 2013, at 9:56 AM, Thiago H de Paula Figueiredo wrote: > >> On Mon, 25 Mar 2013 09:21:11 -0300, marin mamic <marin_ma...@yahoo.com> >> wrote: >> >>> Hi all, >> >> Hi! >> >>> I was wondering if there are any other ways to trigger a server side method >>> when value is changed in the select component except ajax call? >> >> Tapestry or not, the answer for you question is "no, unless you submit the >> whole form". > > Unless you don't mind reloading the current page, of course. You could also > likely do something in a hidden iframe or similar hackery like loading a > hidden image that triggers an event link on the server. > > AJAX is definitely the way to go, though, IMHO. > > Norman Franke > Answering Service for Directors, Inc. > www.myasd.com > -- BR Ivan --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org