On 16.01.2004 16:11, Helmut Tammen wrote:

I�ve developed a woody app that has some input fields on a form and a "Print" button. Pressing the button leads to a pipeline that generates PDF Output of the form fields.
This is o.k. as long as I run the woody application as standalone app. When I run it as coplet in the portal the pdf-output is rendered as text and displayed in the portal.

If it's rendered as text something else is wrong (wrong mime-type for example).


Is there a way to tell the pdf-pipeline generating the output in a new window (javascript: window.open()) ?

If the print button submits the form you just have to adapt the target of the form: http://selfhtml.teamone.de/html/formulare/definieren.htm#zielfenster (@target on the form element). Woody supports this in the default styles by copying all attributes from wi:form-template, i.e. just add it to your from template wt:form-template.


A bit more complicated is the window.open() version as you have to collect the form values yourself and it's not needed I think.

Joerg


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to