Re: @PaxWicketBean transient injected object null after first request ?

2012-11-13 Thread Andreas Pieber
Yep, that's exactly what I do. Every field with a pax-wicket annotation is replaced at serialisation time with the information required to retrieve the service again; once you deserialize the class again the injection is redone; it's very similar to what wicket itself does for @SpringBeans; only a

Re: @PaxWicketBean transient injected object null after first request ?

2012-11-13 Thread Hendy Irawan
Thank you Andreas. I thought omitting transient means they will be serialized (and cause serialization problems), so @PaxWicketBean replaces the serialization mechanism with injection? Thank you again :) Hendy On Wed, Nov 14, 2012 at 4:15 AM, Andreas Pieber wrote: > Hey, > > The problem is tr

Re: @PaxWicketBean transient injected object null after first request ?

2012-11-13 Thread Andreas Pieber
Hey, The problem is transient. @PaxWicketBeans are never serialized, but always retrieved a new. Please try to remove transient; this should do the trick. Kind regards, Andreas On Tue, Nov 13, 2012 at 2:42 PM, Hendy Irawan wrote: > Hi all, > > My code is : > > @PaxWicketBean(name="bannersSupp

Re: WebXmlObserver of org.ops4j.pax.web.extender.war.internal

2012-11-13 Thread Charles Moulliard
Start to work on a ComplexApplication containing a table, theme, . On Tue, Nov 13, 2012 at 2:18 PM, Achim Nierbeck wrote: > Yep, feel free. > Any new Sample to show the power of the little framework we got is just > great :) > > > 2012/11/13 Charles Moulliard > >> Before to speak about a so

Re: Interesting links (Vaadin - OSGI)

2012-11-13 Thread Achim Nierbeck
Hi Charles, one more, I did take a quick look at the other two links, the first one is base on the second so no much more info there and the third is about a incubator project at eclipse. Just for the record ;) my inital work can be found at [1] and [2], I actually started in a way as Kai Toedter

@PaxWicketBean transient injected object null after first request ?

2012-11-13 Thread Hendy Irawan
Hi all, My code is : @PaxWicketBean(name="bannersSupplier") private transient Supplier bannersSupplier; On first request it's OK, but on "second" request (i.e. going to another page and going back so now it has ?0 on the URI), it seems that the field is now null. bannersSupplier come from the B

Re: Interesting links (Vaadin - OSGI)

2012-11-13 Thread Achim Nierbeck
Hi Charles, I know the second link, it actually got me into thinking about a much easier way of registering a Vaadin application. That's how I got into the Extender-Pattern Implementation. The first and second I have to take a closer look at, thanks for sharing. regards, Achim 2012/11/13 Charle

Re: WebXmlObserver of org.ops4j.pax.web.extender.war.internal

2012-11-13 Thread Achim Nierbeck
Yep, feel free. Any new Sample to show the power of the little framework we got is just great :) 2012/11/13 Charles Moulliard > Before to speak about a solution, maybe it could be more interesting to > extend one of the example that we have to validate that we can support all > the vaadin featu

Interesting links (Vaadin - OSGI)

2012-11-13 Thread Charles Moulliard
Hi, After a discussion that I had this morning with Joonas LEHTINEN, it comes to me with some OSGI initiatives around Vaadin project : - http://redvoodo.wordpress.com/howto/how-to-use-vaadin-osgi/ - http://www.toedter.com/blog/?p=850 - http://www.eclipse.org/proposals/technology.skalli/ I have n

Re: WebXmlObserver of org.ops4j.pax.web.extender.war.internal

2012-11-13 Thread Charles Moulliard
Before to speak about a solution, maybe it could be more interesting to extend one of the example that we have to validate that we can support all the vaadin features on OSGI and next we could propose something using or not blueprint. I will work to extend the SimpleApplication to use theme, add-on