• 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
Programmatic access to a componen instance generated by a switch component
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Programmatic access to a componen instance generated by a switch component


  • Subject: Programmatic access to a componen instance generated by a switch component
  • From: Hugi Thordarson <email@hidden>
  • Date: Wed, 27 Mar 2019 15:34:23 +0000

Hi all.
I think I might be out of luck here, but does anyone have Some Amazing Way™ to
programmatically work with a component instance generated by a WOSwichComponent?

Ideally, what I'd be able to do is something like:

SomeComponentThatContainsAWOSwitchComponent nextPage = pageWithName(
SomeComponentThatContainsAWOSwitchComponent.class );
nextPage.componentInstanceDisplayedByWOSwitchComponentSomehowExposed.searchString
 = "Some String";
nextPage.componentInstanceDisplayedByWOSwitchComponentSomehowExposed.invokeSomeMethodThatPotentiallyModifiesTheResponse();
return nextPage;

I'm currently using ERXThreadStorage to throw values around and facilitate
communication between components, but of course that feels very, very wrong, so
any suggestions would be nice.

Cheers,
- hugi
 _______________________________________________
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: Programmatic access to a componen instance generated by a switch component
      • From: George Domurot <email@hidden>
  • Prev by Date: Re: WOInstaller.jar needs update
  • Next by Date: Re: Programmatic access to a componen instance generated by a switch component
  • Previous by thread: Re: ERRest and apache Commons Lang
  • Next by thread: Re: Programmatic access to a componen instance generated by a switch component
  • Index(es):
    • Date
    • Thread