Hello Pedro, I have since resolved this issue. I was trying to use an existing
WebPage class fired from the WebPage attached to the submenu class. Eventually,
I relented and allowed the constructor inside the submenu WebPage to call the
needed private method by refactoring the target WebPage via cut-n-paste. The
remaining classes are undisturbed so it works for me. Thanks for the reply,
David.
- Original Message -
From: Pedro Santos pedros...@gmail.com
To: users@wicket.apache.org
Sent: Wednesday, September 9, 2009 2:46:46 PM GMT -06:00 US/Canada Central
Subject: Re: Transparent resolver parent child working but cannot add third
component
I want an added third component (a WebPage class) to be displayed
setResponsePage(third component) are not enough because you adding the third
component inside an iframe? can you send significant code of parent page?
On Fri, Sep 4, 2009 at 8:08 PM, da...@davidwbrown.name wrote:
Hello all, I have a WebPage parent transparent resolver that displays the
child page OK. The parent page is a tabbed menu and the child is a row of
submenus. When the submenu child is clicked I want an added third component
(a WebPage class) to be displayed. But instead I get the usual ugly
WicketRunTimeException: component added but markup not found. All classes
and HTML are in the same package. Obviously, this issue is the result of
some mismatch in the hierarchy but I thought the transparent resolver would
fix the hierarchy dilemma. I have studied every transparent resolver example
I can Google but nothing jumps out as a diagnostic to perform to resolve
this problem. I don't want to refactor all of the classes from markup
inheritance to Panel if this can be avoided as this will in all-likelihood
break the menu pages. Please advise.
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org