yes, extend the default one instead

-igor


On 3/22/07, jamieballing <[EMAIL PROTECTED]> wrote:


We have a situation where we want to have an applet invoke an ajax event
after it finishes something. We don't want the ajax event to be invoked by
a
user action (i.e. onclick).

Our current approach is that we extend the AjaxEventBehvior, make the
getCallbackScript() public so that the applet can see it, and set the
event
to be some string that isn't tied to an actual javascript event (e.g.
"XXX"). We then do our thing in the onEvent() method and everything seems
to
work.

This seems a little messy... Is there a better way to accomplish it (e.g.
extend AbstractDefaultAjaxBehavior)?

Many Thanks,
Jamie
--
View this message in context:
http://www.nabble.com/Correct-way-to-implement-ajax-event-not-tied-to-a-direct-javascript-event--tf3448858.html#a9619123
Sent from the Wicket - User mailing list archive at Nabble.com.


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to