Re: Getting Selected Values from Subcomponents
Re: Getting Selected Values from Subcomponents
- Subject: Re: Getting Selected Values from Subcomponents
- From: Daniele Corti <email@hidden>
- Date: Wed, 28 Jan 2015 15:00:27 +0100
Hi Amedeo,
thanks for the answer, but, sorry, I'm not sure to understand it. AFAIK, WODynamicElement is a simple HTML Element, not a component, so I cannot assign a .wo file to it (or am I wrong?).
Anyway, I'm trying to change my example by moving the submit button on the SubComponent and using context().page().takeValueForKey(Object value, String key) in the SubComponent Action to set the value in the Parent Component, last I call performParentAction(String action) to do the login in the parent.
Not sure if this is the best way, but seems to work.
Thank you,
__
Daniele
_______________________________________________
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