Re: the flow of wicket

2008-01-12 Thread Edgar Poce
Hi, > > I tried adding breakpoints, but I lack the source. I guess i have to > > attached it in my eclipse. > If you are using eclipse and maven read the following documentation. http://maven.apache.org/plugins/maven-eclipse-plugin/examples/attach-library-sources.html br, edgar --

Re: Wicket & OSGi

2007-11-17 Thread Edgar Poce
vailable in Apache Felix. br, Edgar > David > > > Edgar Poce wrote: > > > > Hi, > > > > In my spare time I'm building a CMS with wicket. I'm not developing it > > actively, just playing with it in my spare time. So far I dev

Re: Wicket & OSGi

2007-11-16 Thread Edgar Poce
and Equinox > > OSGi. I am hoping to switch from Velocity to Wicket. Edgar's code below is > > most helpful! Do you or anyone have any other code to share? Bundles? For > > example, this code would be helpful as well > > "you have to register an OsgiWic

Re: Wicket & OSGi

2007-11-14 Thread Edgar Poce
Hi, I ran a helloworld application in osgi, the only problem I found was a classloader issue, I had to use a custom IWebApplicationFactory. I copy the code bellow. In order to make it work you have to register an OsgiWicketServlet instance in the HttpService. hope it helps, Edgar public class

Re: home page with parameters

2007-07-31 Thread Edgar Poce
ing beanName) > { >do some reflection thingie... > } > > Or if you don't want to use PageParameters: > > public Index() > { >this(new XDao(), new ABean()); > } > > public Index(Doa dao, Bean bean) > { > ... > } > > > Hope this helps... >

home page with parameters

2007-07-31 Thread Edgar Poce
Hi, In my application I'd like to add a home page that displays a collection of beans from a dao, I'd like to pass the bean class and the DAO instance as constructor's parameters. it possible to define a page with parameters in the constructor as the home page?. thanks in advance, edgar