• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

probelm with exportPdf tag

 
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I am using extremecomponents tag libraries for exporting table contents into a PDF. The code is working fine and able o export table contents to a PDF if i use jsp resource as the action for the <ec:table>.
But getting problem if i use action class URL. The table getting hidden on clicking PDF icon. Others features of the table tag like sorting, filtering working prefectly.

My Code:
---------

<ec:table
items="listcomp"
action="${pageContext.request.contextPath}/showtable.action"
imagePath="${pageContext.request.contextPath}/images/table/*.gif"
width="60%"
rowsDisplayed="1">

<ec:exportPdf fileName="output.pdf" tooltip="Export PDF" headerColor="black" headerBackgroundColor="#b6c2da"/>

<ec:row>
<ec:column property="cid"/>
<ec:column property="cname"/>
<ec:column property="address"/>
</ec:row>
</ec:table>

I searched google..... gone though so many links... Not got the solution for my problem.
If anyone have idea.. please help me regarding this??

Thanks & Regards,
Polireddy
 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am also getting the same problem.
Please help

Regards
Sajin B
 
reply
    Bookmark Topic Watch Topic
  • New Topic