Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4136152
By: thierryler
Hi.
You can change the value in the "displaytag.properties" file and/or in you JSP.
If you want the same name for all your tables, set the "export.excel.filename"
property in the "displaytag.properties" file.
Ex:
export.excel.filename=my_file_name.xls
If you want a specific name by table, then change it in the JSP, using
the <display:setProperty .../> tag.
Ex:
<display:table
onclick="produitInitAction.do" mode="co"
name="alpha" defaultsort="1" sort="list" defaultorder="descending"
pagesize="15" export="true" requestURI="listeProduitValiderAction.do"
decorator="fr.generali.fede.icone.web.displaytag.TableDecoratorIcone">
<display:setProperty name="export.excel.filename" value="produits.xls"/>
<display:column property="codeProduit" title="Code" sortable="true"
headerClass="sortable" />
<display:column property="libelleProduit" title="Libellé"
sortable="true"
headerClass="sortable"/>
</display:table>
You can change both: one default name for all tables and one specific name when
needed.
Th.
______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=249317
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
displaytag-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/displaytag-user