aspose file tools*
The moose likes Portals and Portlets and the fly likes Save Dialog in JSF Portlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Portals and Portlets
Bookmark "Save Dialog in JSF Portlet" Watch "Save Dialog in JSF Portlet" New topic
Author

Save Dialog in JSF Portlet

Pallavi Roy
Ranch Hand

Joined: Jun 01, 2006
Posts: 37
Hi All,
I have a JSF portlet where i want to save the contents of my Text area on the click of a button to a word document.(IBM Websphere portal) <h:inputTextarea id="text1" value="#{pc_TextAreaView.textAreaValue}" rows="10" cols="50" />
<h:commandButton id="save" value="Save As Word" action="#{pc_TextAreaView.SaveAsWord}"/>

In my page bean i have written the follwoing code but the response.setHeader() doesn't seem to work.I am not getting any pop dialog and i cannot save my file.
Please help me to get this thing work.

[ November 21, 2006: Message edited by: Pallavi Roy ]

Break the ice - SCJP 1.4,<br />Where There's a will- SCWCD 1.4.<br />Back in action - Websphere Certified Portal 6 Application Developer
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Save Dialog in JSF Portlet
 
Similar Threads
file dialog does not close in IE 6
response.setHeader() not working in JSF portlet
Saving/opening a PDF file from the JSP Page
Call to JSF experts
unable to download xml file