• 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: responseForComponentWithName() and session
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: responseForComponentWithName() and session


  • Subject: Re: responseForComponentWithName() and session
  • From: Amedeo Mantica <email@hidden>
  • Date: Sun, 10 Apr 2011 22:33:55 +0200

why not:

WOComponent myPage = pageWithName(ComponentName.class);
.
.
WOResponse response = myPage.generateResponse();
return response;

regards
Amedeo

On 10/apr/2011, at 20.31, Paolo Sommaruga wrote:

> Hi,
>
> I have an application in which inside in a component I need to call a child component invoked programmatically in the java code of the parent component. I use
>
> (WOApplication.application ()). responseForComponentWithName(ComponentName,
>                                               null
>                                               null
>                                               null
>                                               uriPrefix,
>                                               null);
>
> and it works.
>
> But I see that the component invoked programmatically uses a new session than the one of the calling component.
> Is there a way to call responseForComponentWithName() in order to open the new component in the same session of the caller component ?
>
> Thanks
>
> Paolo
>
> _______________________________________________
> 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

  • Follow-Ups:
    • Re: responseForComponentWithName() and session
      • From: Paolo Sommaruga <email@hidden>
References: 
 >responseForComponentWithName() and session (From: Paolo Sommaruga <email@hidden>)

  • Prev by Date: responseForComponentWithName() and session
  • Next by Date: Problems with login and multiple instances
  • Previous by thread: responseForComponentWithName() and session
  • Next by thread: Re: responseForComponentWithName() and session
  • Index(es):
    • Date
    • Thread