Programmatic access to a componen instance generated by a switch component
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