hi all, wouldn't it be nice to have a java api in tapestry that could be used to add certain javascript functionality to a page? preferable independent from a javascript library?
like: jsApi.addEventListener(Page page, Component comp, String eventType); or: jsApi.addAsynchronousLink(Page page, ActionLink action) which would be called by a mixin that was applied to a ActionLink component @Component @MixinClasses(AsynchronousLink.class) ActionLink checkDate this way you could provide (contribute) custom implementations for several libraries like dojo, prototye, yahoo ui,... T4 is very dojo centric and makes it almost impossible to replace dojo... except you replace any component with dojo specific script code :) the basic services offered by this api would be for: - communication (ajax, json) - (a)synchronous calls - adding/removing event listener (see T4) (- effects) ... i'd be grateful to some other thoughts and comments on this idea g, kris