Hi,
See org.apache.wicket.Component#getVariation().
Using variations you can have MyPanel.html and MyPanel_2.html.
You can also use #setMarkup() method. Or you can override
IMarkupResourceStreamProvider and return dynamic markup each time.
On Mon, Jul 2, 2012 at 6:37 AM, Dan12321 wrote:
> Hi,
>
Hi,
is possible to set html file for Panel?
When I have MyPanel.java, it render MyPanel.html and I would like to render
sometimes MyPanel.html and sometimes MyPanel2.html. Is it possible?
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/set-html-for-Panel-tp4650316.html
Hi,
I have already tried that out...its in the code..:
*owCommentPanel.setOutputMarkupPlaceholderTag(true); *
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/setOutputMarkupPlaceholderTag-not-working-to-render-panel-with-setvisible-false-tp4650313p4650315.html
Sent f
Try setOutputMarkupPlaceholderTag(true)
2012/7/1 kshitiz :
> Hi,
>
> I am using a panel with setVisible false on a condition. But it is not
> getting rendered when its visibility becomes true. Here is the code :
>
> *final ShowCommentPanel showCommentPanel = new ShowCommentPanel(
>
Hi,
I am using a panel with setVisible false on a condition. But it is not
getting rendered when its visibility becomes true. Here is the code :
*final ShowCommentPanel showCommentPanel = new ShowCommentPanel(
"showCommentPanel", postDomain, userDomain, 3);
Hi,
Here is my later response.
I see two ways to solve this:
1) Use setResponsePage(pageInstance) as I described in my previous response:
setMyCookie();
PageB pageB = new PageB();
pageB.info("some text");
setResponsePage(pageB);
This way the feedback is associated with a component (pageB) and