|
View:
New views
8 Messages
—
Rating Filter:
Alert me
|
|
|
wicketstuff-pushHi,
I'am looking for a way to do reverse ajax (or cometd) in Wicket. I have search the Wicket website, examples, and google and the only thing I found was some mail archives talking about a maven artifact called "wicketstuff-push", and classes like "org.wicketstuff.push.cometd.CometdAbstractBehavior" It sound's good, but I can't find any reference to that lib, only mail archive.(even on the wicketstuff website (1)) The last mail is from may 2008... Do you know where I can found a wicket lib to do reverse ajax. I already used the "AjaxSelfUpdatingTimerBehavior" wich works well but i need push, no polling. Thanx, 1 : http://wicketstuff.org -- Julien Graglia --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Re: wicketstuff-pushAs far as I know it only lives in subversion. I tried it myself a month ago
and it is functional: http://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicketstuff-push/ http://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicketstuff-push-examples/ On Thu, Jul 3, 2008 at 4:10 PM, Julien Graglia <jgraglia@...> wrote: > Hi, > > I'am looking for a way to do reverse ajax (or cometd) in Wicket. > > I have search the Wicket website, examples, and google and the only > thing I found was some mail archives talking about a maven artifact > called "wicketstuff-push", and classes like > "org.wicketstuff.push.cometd.CometdAbstractBehavior" > > It sound's good, but I can't find any reference to that lib, only mail > archive.(even on the wicketstuff website (1)) > > The last mail is from may 2008... > > Do you know where I can found a wicket lib to do reverse ajax. > > I already used the "AjaxSelfUpdatingTimerBehavior" wich works well but i > need push, no polling. > > Thanx, > > > 1 : http://wicketstuff.org > -- > Julien Graglia > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@... > For additional commands, e-mail: users-help@... > > |
|
|
Re: wicketstuff-pushLe jeudi 03 juillet 2008 à 16:28 +0200, Frank Bille a écrit :
> As far as I know it only lives in subversion. I tried it myself a month ago > and it is functional: > > http://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicketstuff-push/ > http://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicketstuff-push-examples/ Thx !!! -- Julien Graglia - NetCeler Tel: 04-92-57-12-12 --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Re: wicketstuff-pushYou can also check out the jetty website for the latest cometd implementation...fyi, it comes with the jetty server...it's great i use it also to my project the wicket-push :)
|
|
|
Re: wicketstuff-push> > Le jeudi 03 juillet 2008 à 16:28 +0200, Frank Bille a écrit : > >> As far as I know it only lives in subversion. I tried it myself a month > >> ago > >> and it is functional: > >> > >> http://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicketstuff-push/ > >> http://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicketstuff-push-examples/ > > I try to use wicketstuff-push with wicket 1.4-m3, but I can't get it to work. I have checkout wicketsuff-dojo (and examples), modified them to use jetty 7.0.0pre2 and wicket 1.4-m3 and it is OK. Then I co wicketstuff-push and examples, modified them to use the same version of wicket (some errors to correct) and jetty, but I can't get it to work. The examples "A chat using simulated channel based on polling" and "A chat using simulated push based on polling" are working (polling is OK) but I get an NPE when I really use CometdBayeux with test "Basic Cometd tests" : 2008-07-15 16:33:55.466::WARN: Error for /wicketstuff-push-examples/cometd java.lang.Error: [{"channel":"/meta/reconnect","connectionType":"long-polling","clientId":"1nnmumdfsusjgcj3km","connectionId":undefined,"timestamp":null,"id":null}] at org.mortbay.cometd.AbstractCometdServlet.getMessages(AbstractCometdServlet.java:304) at org.mortbay.cometd.continuation.ContinuationCometdServlet.doPost(ContinuationCometdServlet.java:68) at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) at org.mortbay.cometd.AbstractCometdServlet.service(AbstractCometdS Caused by: java.lang.NullPointerException at org.mortbay.cometd.MessageImpl.put(MessageImpl.java:144) at org.mortbay.cometd.MessageImpl.put(MessageImpl.java:15) at org.mortbay.util.ajax.JSON.parseObject(JSON.java:767) at org.mortbay.util.ajax.JSON.parse(JSON.java:707) at org.mortbay.util.ajax.JSON.parseArray(JSON.java:837) It seems that the "Id" param is null...(from the 7.0.0pre1 sources of cometd : the 7.0.0pre2 did not exists (1)) I didn't find how to correct this... I have search deeply in wicketpush and wicketdojo, and it seems to came from a javascript in wicketstuff-dojo.. I realize that wicketstuff-dojo use dojo 0.4 internally, (I'am not a dojo expert, but the last version seems to be 1.1.1)... So here are my questions : - did anybody successfully manage to use wicketstuff-push with jetty (6.1.11 or 7.0.0pre1)? - wicketstuff-push is it alive? last commit was 15/11/07 ... -and if not what do you use to do reverse ajax with wicket? Note : I already used cometd-bayeux in a Spring MVC Application, so maybe the solution is to use cometd at "low" level ie. with no integration with wicket...? Thanx, 1 : sources of cometd-bayeux artefact (only in version 7.0.0pre1): http://repo1.maven.org/maven2//org/mortbay/jetty/cometd-bayeux/7.0.0pre1/ -- Julien Graglia --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Re: wicketstuff-pushHello,
I successfully implement wicket-push in our wicket application...i just used the example in the wicket-stuff...with the default configuration...i just checked out and run it...then customized for our needs... i think the mininum requirement is jetty 6.1.4 to run it and it even run on tomcat 6 and JBoss 4...you should have servlet 2.5 running on you server Cheers...
|
|
|
Re: wicketstuff-pushLe mercredi 16 juillet 2008 à 18:47 -0700, freak182 a écrit :
> Hello, > I successfully implement wicket-push in our wicket application...i just used > the example in the wicket-stuff...with the default configuration...i just > checked out and run it...then customized for our needs... With wicket 1.4-m3 ? ? some changes occurs from wicket 1.3.x to 1.4... > > i think the mininum requirement is jetty 6.1.4 to run it > and it even run on tomcat 6 and JBoss 4...you should have servlet 2.5 > running on you server > I try with jetty 6.1.11 (servlet 2.5) and with jetty 7.0.0pre2 (servlet 3.0) --> no success. I double check my project and I have checkout the good svn url.. But with wicket *1.4-m3*, it didn't compile (most errors are easy : missing @Override (an error in my Eclipse config), some generics (IModel<...>), use of AbstractCometdServlet (CometdServlet did not exists in org.mortbay.cometd), use of dojox.bayeux.* from cometd-api.jar... The main error is in push examples : "org.wicketstuff.push.examples.pages.push.WicketAbstractPushChat" (1) I try to correct everything, now everything compile, but the cometd example fails... 1 : I have found that mail talking about that error : http://www.mail-archive.com/users@.../msg15406.html -- Julien Graglia --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Re: wicketstuff-pushHello,
to be exact i used wicket 1.3.3 and jetty 6.1.4 i dont know if the wicket-push has already been updated...anyway, my source code is in my another pc which so happended that is in repair shop :(
|
| Free Forum Powered by Nabble | Forum Help |