Andy Blower wrote: > > 2) How easy is it to add custom AJAX interactions? I'm thinking of > interactions like checking a checkbox to mark a search result, return > success and visually change the appearance. >
For this I would advise you to use t5components - an ajax-enabled component package. The onEvent-mixin can be added to any other components, and on defined events such as blur, change, click, dblclick, error, focus, keydown, keypress keyup, load, mousedown, mousemove, mouseout, mouseover, mouseup, reset, select, submit and unload it will call a java-function. template code: <input t:type="TextField" t:id="mytextfield" value="textFieldValue" t:mixins="t5components/OnEvent" event="blur" /> java event code: @OnEvent(component = "mytextfield", value = 'blur') public StreamResponse onBlurEvent(String value) { return new TextStreamResponse("text/html", value); } See http://213.160.23.119:8080/t5c-demo/oneventpage. -- View this message in context: http://www.nabble.com/-T5--Tapestry-evaluation-%2B-questions-tp16368331p16376510.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]