Re: How can I capture the data on one panel 1 when i click submit button on panel 2

2010-09-09 Thread Andrea Del Bene
Ben benarjee_g at yahoo.com writes: Here is my panel1 ... add(new ImageQualityForm(imageQualityForm, new CompoundPropertyModel(imageQuality), aform)); } private static class ImageQualityForm extends Form { public ImageQualityForm(String id, IModel model,

How can I capture the data on one panel 1 when i click submit button on panel 2

2010-09-08 Thread Ben
Hi, I have a page and multiple panels added to it. e.g I have panel1 and panel2 added to a page. On Panel I have components RadioChoice, dropdownchoice,text area that accepts input from the user. Panel 2 has two textfields (accepts the login info) and submit button. When i click submit button

Re: How can I capture the data on one panel 1 when i click submit button on panel 2

2010-09-08 Thread Jeremy Thomerson
Is there a Wicket form wrapping both panels? If so, it will work, even if both panels also have a form in them. Jeremy Thomerson http://wickettraining.com -- sent from my smart phone, so please excuse spelling, formatting, or compiler errors On Sep 8, 2010 9:15 AM, Ben benarje...@yahoo.com

RE: How can I capture the data on one panel 1 when i click submit button on panel 2

2010-09-08 Thread MONZON Jose
What you want is to implement the EventBus pattern (formally Observer Pattern). Basically, with an Eventbus, your panels subscribe to a given event and when some other panel fires that event the subscriber gets the message: Panel1: //Subscribe to event Type1.

Re: How can I capture the data on one panel 1 when i click submit button on panel 2

2010-09-08 Thread jcgarciam
Jose, Check this out https://issues.apache.org/jira/browse/WICKET-1312 https://issues.apache.org/jira/browse/WICKET-1312 On Wed, Sep 8, 2010 at 12:38 PM, MONZON Jose [via Apache Wicket] ml-node+2531520-6845597-65...@n4.nabble.comml-node%2b2531520-6845597-65...@n4.nabble.com wrote: What you