Thanks for the response.
-------------
I added <display:setProperty ....value="test.pdf" />. But this gives me a pop-up window "do u want to open pdf or save?". Also it does first opens a window in the background, and if I say "open pdf", it opens in new window.
-------------
About uncheck "Use DDE" option -
I am using windows XP and tried to uncheck "Use DDE" as suggested.
But it doesn't change it for me. The "Apply" button in "Folder options" ie always disabled. Hence I have to say "close". And the "Use DDE" is reset back "checked".
-------------
 
Below is the code I have -
---------------------------
test.jsp

<display:table class="testClass" cellspacing="0" requestURI="/test.do" export="true"
    name="sessionScope.TestAction.beans" decorator="TestDecorator" sort="list" >
 <display:column class="testClass" headerClass="sortable" property="field1" title="titlefield1" sortable="true"/>
 <display:column class="testClass" headerClass="sortable" property="field2" title="titlefield2" sortable="true"/>
</display:table>
---------------------------
_javascript_ function calling to get pdf -
 
function getPDF() {
 var href = ""> window.open(href);
}
---------------------------
The displaytag config file,
 
export.pdf=true
export.pdf.label=
export.pdf.include_header=true
export.pdf.filename=
------------
 
Thanks.
Kavita 
 

 
On 4/28/06, Solanki, Vinay V. <[EMAIL PROTECTED]> wrote:
Can you send the HTML code, you just need to set the export property as follow:-
 
Just don't set the value="true"
 
 <display:setProperty name="export.pdf.filename" value="example.pdf"/>


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of kavita kale
Sent: Friday, April 28, 2006 12:55 AM

To: [email protected]
Subject: [displaytag-user] pdf opens in 2 windows with acrobat 7.0.

 
Hi All,
 
I am using displayTag to export in PDF view. It is opening 2 windows, (1st window blank, 2nd actually opens pdf document) with acrobat 7.0. With acrobat 5.0 it opens as expected ie only in one window.
 
I will really appreciate if someone can suggest a way to solve this issue with acrobat 7.0. Has anyone encountered the same issue before?
 
Thanks,
Kavita.

Reply via email to