Probably there was a misunderstanding :). I saw Garret Wilson searching for a behavior to inject "submission" and "confirmation" into various components. I just pointed out that actually we have a special behavior for AJAX (AbstractDefaultAjaxBehavior) that can be used to factorize custom Ajax request attributes and apply them when needed instead of repeating code in various subclasses. Of course with this solution you have to manually add you custom behavior and is not powerful as an Ajax listener as you suggested.
Unless you use a more powerful language than Java that provides something
like Scala's Trait I don't see how you could implement your solution
without re-implementing the standard Ajax links.

Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov

On Fri, Oct 31, 2014 at 5:33 PM, Andrea Del Bene <an.delb...@gmail.com>
wrote:



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

Reply via email to