• 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: passing an object to a new window
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: passing an object to a new window


  • Subject: Re: passing an object to a new window
  • From: Theodore Petrosky <email@hidden>
  • Date: Tue, 14 Jul 2009 06:29:11 -0700 (PDT)

Thanks.... sometimes the obvious just evades me.

Ted

--- On Tue, 7/14/09, Stefan Klein <email@hidden> wrote:

> From: Stefan Klein <email@hidden>
> Subject: Re: passing an object to a new window
> To: "Theodore Petrosky" <email@hidden>
> Cc: email@hidden
> Date: Tuesday, July 14, 2009, 7:26 AM
> Hi,
>
> public WOActionResults printViewAction() {
>     PrintViewComponent nextPage =
> pageWithName(PrintViewComponent.class.getName());
>     nextpage.setWhatEver(foo);
>     return nextPage;
> }
>
> Stefan
>
>
> Theodore Petrosky schrieb:
> > I have a project with multiple components. in one of
> these components, I am creating a new 'window':
> >
> > PrintViewLink : WOHyperlink {
> >     directActionName = "printView";
> >     target = "_blank";
> > }
> >
> > In my directAction I have:
> >
> > public WOActionResults printViewAction() {
> >     return
> pageWithName(PrintViewComponent.class.getName());
> > }
> >
> > This window is basically a print view. click the print
> button on a modalContainer and you see a window of the
> current record ready to print.
> >
> > How do I pass this new window an object? I was
> thinking somehow through the session. But then I thought
> 'there must be an easier way'...
> >
> > Ted
> >
> >
> >       
> >  _______________________________________________
> > 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
> >
> >   
>



 _______________________________________________
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: 
 >Re: passing an object to a new window (From: Stefan Klein <email@hidden>)

  • Prev by Date: Re: Little help with a qualifier
  • Next by Date: Re: Little help with a qualifier
  • Previous by thread: Re: passing an object to a new window
  • Next by thread: setTimeout()
  • Index(es):
    • Date
    • Thread