I want to swap panels using the event model in 1.5. This is very similar to
the panel swapping code (wicket 1.4.x) found in the Apache Wicket Cookbook but
uses the event model instead. The problem is I can't set the panel equal to
its replacement, like you would in 1.4.x. This is found on
OuterPanelClass.this.panel.replaceWith(replacement);
OuterPanelClass.this.panel=replacement;
-igor
On Wed, Mar 28, 2012 at 11:33 AM, Jeffrey Schneller
jeffrey.schnel...@envisa.com wrote:
I want to swap panels using the event model in 1.5. This is very similar to
the panel swapping code
:
MyPage.this.workingPanel.replaceWith(replacement);
MyPage.this.workingPanel = replacement;
-Original Message-
From: Igor Vaynberg [mailto:igor.vaynb...@gmail.com]
Sent: Wednesday, March 28, 2012 3:07 PM
To: users@wicket.apache.org
Subject: Re: Event handling and swapping panels
[mailto:igor.vaynb...@gmail.com]
Sent: Wednesday, March 28, 2012 3:07 PM
To: users@wicket.apache.org
Subject: Re: Event handling and swapping panels
OuterPanelClass.this.panel.replaceWith(replacement);
OuterPanelClass.this.panel=replacement;
-igor
On Wed, Mar 28, 2012 at 11:33 AM, Jeffrey Schneller
Subject: Re: Event handling and swapping panels
paste your entire panel/page class...
-igor
On Wed, Mar 28, 2012 at 12:15 PM, Jeffrey Schneller
jeffrey.schnel...@envisa.com wrote:
Thanks. But what does OuterPanelClass refer to in my example?
I don't think either of these are right
Subject: Re: Event handling and swapping panels
paste your entire panel/page class...
-igor
On Wed, Mar 28, 2012 at 12:15 PM, Jeffrey Schneller
jeffrey.schnel...@envisa.com wrote:
Thanks. But what does OuterPanelClass refer to in my example?
I don't think either of these are right
, March 28, 2012 3:49 PM
To: users@wicket.apache.org
Subject: Re: Event handling and swapping panels
that is correct
-igor
On Wed, Mar 28, 2012 at 12:41 PM, Jeffrey Schneller
jeffrey.schnel...@envisa.com wrote:
Here it is:
public class Admin extends WebPage {
private Component
]
Sent: Wednesday, March 28, 2012 3:49 PM
To: users@wicket.apache.org
Subject: Re: Event handling and swapping panels
that is correct
-igor
On Wed, Mar 28, 2012 at 12:41 PM, Jeffrey Schneller
jeffrey.schnel...@envisa.com wrote:
Here it is:
public class Admin extends WebPage
to be easier.
-Original Message-
From: Igor Vaynberg [mailto:igor.vaynb...@gmail.com]
Sent: Wednesday, March 28, 2012 3:49 PM
To: users@wicket.apache.org
Subject: Re: Event handling and swapping panels
that is correct
-igor
On Wed, Mar 28, 2012 at 12:41 PM, Jeffrey Schneller
Thank you Igor and Francois!! This solved my problem and it is working
perfectly now.
-Original Message-
From: Francois Meillet [mailto:qq...@gmail.com]
Sent: Wednesday, March 28, 2012 4:45 PM
To: users@wicket.apache.org
Subject: Re: Event handling and swapping panels
Unless
10 matches
Mail list logo