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?
-- 
View this message in context: 
http://www.nabble.com/Wicket-placeholder-for-%3Ctr%3E-component-causing-invalid-markup-tp21663544p21663544.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to