A technique I used like 6 years ago (and so which may be superseded by
newer, better ideas) is to have the submit return the current page in
the existing window all the time, but have an onload that
conditionally opens the new window with the contents you want.
Hope this helps!
Regards,
Mark
On Aug 28, 2008, at 10:22 AM, Paolo Sommaruga wrote:
I need to do it programmatically. First the application have to
process a form, then if the validation is ok, it have to generate a
pdf report in a new window browser. My problem is how to open the
pdf in a NEW window browser, because the action of generate the pdf
is not fired by the user but programmatically by the application (if
the validation is successful)
Paolo
Il giorno 28/ago/08, alle ore 14:49, James Cicenia ha scritto:
Why can't you use javascript or a wohyperlink with a target?
just wondering
James Cicenia
On Aug 28, 2008, at 4:24 AM, Paolo Sommaruga wrote:
Hi,
I have a stupid problem that trouble me. I need to open
programmatically a component in a _new_ browser window, thus no
possibility of using javascript, neither, as usually, target =
"_blank" in a href tag.
I have to open it in a Component action or a DirectAction, with a
code like
MyComponent component = (MyComponent) pageWithName("MyComponent");
...
return component
I have browseed the documentation but have not found anything
Any suggest ?
Regards
Paolo Sommaruga
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/james%40jimijon.com
This email sent to [EMAIL PROTECTED]
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]