Hi,

I'm pretty sure what you need is wicket:enclosure [1] instead

[1] http://cwiki.apache.org/WICKET/wickets-xhtml-tags.html


the_adam wrote:
If we have a component with a corresponding markup tag <tr> and want to hide
it and display placeholder tag via Component#setOutputMarkupPlaceholderTag
the resulting markup will be:

<tr style="display: none;" id="componentId"/>

However this is not a valid markup. The proper markup would be:

<tr style="display: none;" id="componentId"><td span="x"></tr> where x is
the number of columns. Obviously wicket won't know how many columns there
are so one would have to set that explicitly.

Are you planning to anyhow address this issue, i.e. provide a different
placeholder method (maybe
WebMarkupContainer#setOutputRowPlaceholderTag(boolean, short)) or is the
only way of solving this to manually swap component-to-display with custom
placeholder component?


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to