Four Js Development Tools Forum

Discussions by product => GAS and GBC => Topic started by: Ullrich M. on January 07, 2010, 01:38:28 pm



Title: Launching a dynamically created HTML/PDF-file
Post by: Ullrich M. on January 07, 2010, 01:38:28 pm
Hi all

Application-Server: Linux Redhat Enterprise
Genero BDL / GAS  2.11.16 (sorry, it's not 2.2x)

That's what I do now in my web-application:
first click on a button:
create a PDF-file depending on data in an input array row
create and display a link to URL in a textedit field, style = "OpenURL"
         using the snippet $FGLASDIR/demo/app/card/tpl/set1/Edit_OpenURL.xhtml

second click on the link to URL:
launch my default web-browser with the PDF-File stored under the DocRoot directory


That's what I want to:
Do all this with only ONE click on a button without displaying the link to the DocRoot-directory of the App-Server.

Any suggestions?

Thanks,
Umo







Title: Re: Launching a dynamically created HTML/PDF-file
Post by: . on January 12, 2010, 05:44:00 pm
Hi Umo,

Could you test your application with the "main.xhtml" file attached ?
Basically, the link won't be displayed and the file is automatically launched.
If it doesn't meet your need, please send me your test program to be sure we are on the same way.

Best regards,
Guney