|
I have several self-links (see example below) that change
the panel being displayed, however I'm getting an error: A child component with
the name "xyz" already exists. (Multiple pages is not really an option for
me, but I can explain why if you want to know)
new Link("someLink")
{
public void linkClicked()
{
changePanel("xyz")
}
}
Can someone either show me a better way to do it, or allow me
to remove the panel before replacing it with a different one? (I noticed the #removeAll method on Container, but didn't see a #remove("xyz")
method).
Thanks!
- Jonathan ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. www.katun.com ********************************************************************** |
- [Wicket-user] Redefining a child component/panel Jonathan Carlson
- Re: [Wicket-user] Redefining a child component/panel Jonathan Locke
- Re: [Wicket-user] Redefining a child component/panel Jonathan Locke
- Re: [Wicket-user] Redefining a child component/panel Jonathan Carlson
- Re: [Wicket-user] Redefining a child component/panel Jonathan Carlson
- Re: [Wicket-user] Redefining a child component/p... Eelco Hillenius
