Kikoolol.
Thanks for your help, but if you had read my question, you will have
understood that we don't care what will be in my tag. In do know that
displayTag is not Struts...
By the way, I found my mistake. Tags does'nt more exist, it is themes and
templates.
So here is my JSP :
<s:component template="crmTable" theme="xhtml">
<s:param name="title" value="%{'accueil.mesInterventions'}"/>
<s:param name="table">
<display:table name="interventions">
<display:column title=
"Heure " property="heure" sortable="true"/>
...
</display:table>
</s:param>
</s:component>
and my template :
<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">
${stack.findValue("getText('"+parameters.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">
${parameters.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>
If it could be helpfull for someone...
Michaël.
"Antonio Petrelli" <[EMAIL PROTECTED]>
10/05/2007 15:35
Veuillez répondre à
"Struts Users Mailing List" <[email protected]>
A
"Struts Users Mailing List" <[email protected]>
cc
Objet
Re: [S2] Creating my own tag
2007/5/10, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
> In fact I would like to put some HTML around displayTag.
DisplayTag IS NOT part of Struts:
http://displaytag.sourceforge.net/
Antonio
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]