Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

displaytag + strut --> export

Status
Not open for further replies.
Apr 13, 2004
16
DE
hello together,

i have written an struts application with one dispalytag table. all work fine, up to now. now i want to add an export dialog to the table. the basic dialog also work fine,but then i try to set the export.excel.filename value=kunde.ID from a bean "kunde", wich i has setup with use:bean ... the taglib generated only a random filename like CHDRE.xls. if i set the value="filename.xls", its work.

can anybody help me?


thanks.
 
hi
i trto use export func with struts. i use diplaytag.10rc2
when i click excell link it does not take url in a right way
can you paste your code ?

sincerely

 
hallo,

i dont really understand your problem. please send your code.
 
hi

my code is below

<display:table name="List" export="true">
<display:column property="bolgeAdi" title="ID" />
<display:column property="ulkeAdi" />
<display:column property="ulkeKodu" />
</display:table>

but when i click the link it opens blank page.
i need a small struts-export working example.

sincerely
 
hallo,

you have to add an requestURI in the dispalyTag definition then you using struts and the export from displaytag, then it should work.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top