wicket:remove attribute???

View: New views
1 Messages — Rating Filter:   Alert me  

wicket:remove attribute???

by Benjamin Paige :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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.