Hi,
you have to use setOutputMarkupPlaceholderTag(true), see javadoc for this method.

Vit

On 08/03/2017 05:50 PM, lucast wrote:
Dear Forum,

I have a page component that initially is hidden.
These are the steps taken:


When I try to make the component visible, inside an AjaxLink.onClick(), I do
it like so:
pageComponent.setVisible(true);
target.add(pageComponent);

However, on the page, the component is not made visible at all. On wicket
Ajax debug, I get the following error:


Would you happen to know what I am missing, please?

Thank you,
Lucas

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Hidden-to-visible-not-working-even-after-having-set-up-setOutputMarkupId-true-tp4678430.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
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

Reply via email to