• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: open programmatically a component in a new browser window
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: open programmatically a component in a new browser window


  • Subject: Re: open programmatically a component in a new browser window
  • From: David LeBer <email@hidden>
  • Date: Thu, 28 Aug 2008 12:12:34 -0400


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@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >open programmatically a component in a new browser window (From: Paolo Sommaruga <email@hidden>)
 >Re: open programmatically a component in a new browser window (From: James Cicenia <email@hidden>)
 >Re: open programmatically a component in a new browser window (From: Paolo Sommaruga <email@hidden>)

  • Prev by Date: Re: Will Insensitive Like become potential sql injection?
  • Next by Date: Re: open programmatically a component in a new browser window
  • Previous by thread: Re: open programmatically a component in a new browser window
  • Next by thread: Re: open programmatically a component in a new browser window
  • Index(es):
    • Date
    • Thread