Hi all,
I don't find any documentation on that, so I post here.
I would like to create my own tag (in Struts 1 I extend
org.apache.struts.taglib.html.BaseFieldTag for example) to display a
table. In fact I would like to put some HTML around displayTag.
How could I do ? Where are the new "baseFieldTag" ?
My HTML code to put in my Tag :
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td colspan="3">
<table border="0" cellpadding="0" cellspacing="0"
width="100%">
<tr>
<td><img src="<s:url value=
"img/tableauArrondiTitreGauche.gif"/>"></td>
<td width="100%" class=
"tableauArrondiTitre"><s:text name="title"/></td>
<td><img src="<s:url value=
"img/tableauArrondiTitreDroite.gif"/>"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="tableauLateral"><img src="<s:url value=
"img/vide.gif"/>" width="1"></td>
<td width="100%">
<div id="display">
<display:table name="interventions">
<display:column title=
"Heure " property="heure" sortable="true"/>
...
</display:table>
</div>
</td>
<td class="tableauLateral"><img src="<s:url value=
"img/vide.gif"/>" width="1"></td>
</tr>
<tr>
<td colspan="3">
<table border="0" cellpadding="0" cellspacing="0"
width="100%">
<tr>
<td><img src="<s:url value=
"img/tableauArrondiBasGauche.gif"/>"></td>
<td width="100%" class=
"tableauArrondiBas"></td>
<td><img src="<s:url value=
"img/tableauArrondiBasDroite.gif"/>"></td>
</tr>
</table>
</td>
</tr>
</table>
Thanks a lot,
Regards,
Michaƫl.