Re: how to embed one wicket app into another

2009-09-10 Thread Eyal Golan
I go with Martin, use iFrame. This is what we do. We have two Wicket apps, running on the same machine, the web.xml triggers two different Wicket apps. Why you ask? an old and a VERY BAD decision. In order to navigate from one app to the other we actually use URLs. In order to show page from app B

Re: how to embed one wicket app into another

2009-09-10 Thread John Armstrong
My vote would be to create a common jar package that contains the relevant panels along with their associated business logic, DAO/ORM etc. Then you can use that jar package in both of your apps seamlessly assuming there are not more complex interactions going on. We use this paradigm on our apps

Re: how to embed one wicket app into another

2009-09-10 Thread Martin Makundi
Well.. that doesn't help if the other app is on other server and other db and live data should be viewed from the other app.. in that sad case you do need iframe. ** Martin 2009/9/10 John Armstrong siber...@siberian.org: My vote would be to create a common jar package that contains the

Re: how to embed one wicket app into another

2009-09-10 Thread John Armstrong
Databases have this cool feature called 'access control' ;) Its fairly trivial to set up the db to take connections from both apps and share the live data. The only time this hurts is if you need to share non-wicket content (image galleries or pdfs that users upload or something) since NFS is not

Re: how to embed one wicket app into another

2009-09-10 Thread Martin Makundi
Databases have this cool feature called 'access control' ;) Its fairly trivial to set up the db to take connections from both apps and share the live data. Yes but if we assume that the applications are separate, i.e., they cannot be merged. If they can be merged it turns into developing a

Re: how to embed one wicket app into another

2009-09-10 Thread John Armstrong
This was my point, many times people 'assume' they are individual apps when they are not. I just wanted to highlight that this should be investigated before the assumption was made. For example, I just completed an intranet project where it was 'assumed' that there were 3 different systems.

how to embed one wicket app into another

2009-09-09 Thread Quan Zhou
Hi.I've developed my simple forum with Wicket(we call it A), and I want to embed it into another website (B) developed by Wicket. like, the left panel and the navigator panel are both from B, and the right panel is from A, I dont want to use Frame because my page will be complicated. Does anyone

Re: how to embed one wicket app into another

2009-09-09 Thread Jeremy Thomerson
If you have created good self-contained components, you should be able to just embed PanelB into PageA -- Jeremy Thomerson http://www.wickettraining.com On Wed, Sep 9, 2009 at 10:54 PM, Quan Zhou betoget...@gmail.com wrote: Hi.I've developed my simple forum with Wicket(we call it A), and I

Re: how to embed one wicket app into another

2009-09-09 Thread Quan Zhou
sorry, i forget to say this two apps are installed in different servers.each is a single standalone app. so i think i can't embed panelB into PageA. On Thu, Sep 10, 2009 at 11:58 AM, Jeremy Thomerson jer...@wickettraining.com wrote: If you have created good self-contained components, you

Re: how to embed one wicket app into another

2009-09-09 Thread Jeremy Thomerson
If you can't share the code, then you basically have the same options for embedding one in the other than you would with any other app - Perl, PHP, ASP, Wicket, Struts - whatever it is. -- Jeremy Thomerson http://www.wickettraining.com On Wed, Sep 9, 2009 at 11:25 PM, Quan Zhou

Re: how to embed one wicket app into another

2009-09-09 Thread Martin Makundi
Use Iframe ** Martin 2009/9/10 Quan Zhou betoget...@gmail.com: sorry, i forget to say  this two apps are installed in different servers.each is a single standalone app. so i think i can't embed panelB into PageA. On Thu, Sep 10, 2009 at 11:58 AM, Jeremy Thomerson jer...@wickettraining.com