For starters, your "action" method should be renamed to onAction. I'm still not quite sure what you are trying to do here. It seems like you are providing a generic example, instead of the actual code you are struggling with.
On Sun, Aug 12, 2012 at 7:51 AM, Angelo C. <[email protected]> wrote: > Hi, > > I got some very old code working, turned out quite tedious, maybe T5.3.4 > has > some easier way? here is the code > > public String getUpdateLink() { > return resources.createEventLink("action").toAbsoluteURI(); > } > > public void action() { > String name = > requestGlobals.getRequest().getParameter("name"); > } > > > > < input t:type="Checkbox" onchange="update('123')" /> > > > > > -- > View this message in context: > http://tapestry.1045711.n5.nabble.com/calling-some-functions-from-javascript-tp5715291p5715298.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] > >
