This might be of some help and it might not. I use bi-directional json (but not cometd) in one of the portal apps I wrote (unfortunately not in Wicket). On the server side, I use json-lib http://json-lib.sourceforge.net/ and on the client side I use jsonStringify.js, http://www.thomasfrank.se/json_stringify_revisited.html and jQuery, http://jquery.com. The json-lib can actually jsonify a java object quite nicely, just watch out for extensive object graphs as they can bring the app to a screeching halt.
Regards, -scott > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:wicket-user- > [EMAIL PROTECTED] On Behalf Of Vincent Demay > Sent: Tuesday, March 20, 2007 11:54 AM > To: wicket-user@lists.sourceforge.net > Subject: Re: [Wicket-user] Serveur pushing implementation > > James McLaughlin a écrit : > >> WDYT?, Any comments, feelings? > >> > > > > This looks like really exciting work. I can't wait to try it out. I > > took a look at the code and you've done a really nice job. One > > question, is it possible to push rendered components instead of > > pinging those components on the client side to call back? > > > The problem comes from cometd bus which is design to transport json and > not xml. I was thinking of something which is able to serialize a > component rendered as String and put all in a json object in order to > avoid this second useless callback. but it need some additionnal work ;) > > -- > Vincent > > ------------------------------------------------------------------------ > - > > 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 ------------------------------------------------------------------------- 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