You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@wicket.apache.org by Benjamin Paige <bf...@gw.dec.state.ny.us> on 2009/08/18 18:51:25 UTC
wicket:remove attribute???
Can we create an attribute "wicket:remove" that will essentially allow the containing element to mimic the behavior of the "<wicket:remove>" element. This way web editors will not break because of the unknown wicket tag.
I assume this would be easy update. Please advise.
example:
<table>
<tr>
<th>Name</th>
</tr>
<tr wicket:id = "userScripts">
<td wicket:id = "name">FileSearch4Google</td>
</tr>
<wicket:remove>
<tr>
<td>LabelLinks5Gmail</td>
</tr>
</wicket:remove>
<tr wicket:remove=true>
<td>Gmail 3.0</td>
</tr>
</table>
The last two rows will be removed when rendered by server. But only the last rows will be standard for all web editors.