On 28-Aug-08, at 11: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)

I don't believe there is any way to "push" a new window to the browser. You could have some js enabled in the returning page (if the validation succeeds) that opens a new window for you on load, but that my run foul of popup blockers.


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

;david

--
David LeBer
Codeferous Software
'co-def-er-ous' adj. Literally 'code-bearing'
site:   http://codeferous.com
blog:   http://davidleber.net
profile:        http://www.linkedin.com/in/davidleber
twitter:        http://twitter.com/rebeld
--
Toronto Area Cocoa / WebObjects developers group:
http://tacow.org




_______________________________________________
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]

Reply via email to