Hi,

How can I test the presence of a tiles attribute ?
eg :

<table><tr>
<td>
    <tiles:insert attribute="body"/>
</td>
<td>
    <tiles:insert attribute="test" ignore="true"/>
</td>
</tr></table>

In this example, if the "test" tiles attribute is empty the
I don't want to output the <td> and </td>

So I would like To do something like :

<tiles:present attribute="test">
<td>
    <tiles:insert attribute="test">
</td>
</tiles:present>

How can I replace the non-existing <ttiles:present> tag ?

Thanks

--
Franck Lefebure

Reply via email to