Re: Switch Component Question
Re: Switch Component Question
- Subject: Re: Switch Component Question
- From: Johnny Miller <email@hidden>
- Date: Thu, 21 Jun 2012 13:33:11 -1000
Hi Amedeo & Chuck,
This is what I've been trying. // updated since CH's email
public WOActionResults createNewDriverSchedule() {
MESSchedule schedule = MESSchedule.createMESSchedule(ec()); schedule.setDriverRelationship(MESDriver.localInstanceIn(ec(), object())); ((DispatchPagesWrapper)context().page()).setSelectedObject(schedule); return null;
}
If I put a logging statement on setSelectedObject I see that MESSchedule gets set but then it's gets overwritten by the current selected object? Do you know why that could happen?
Thanks a lot,
On Jun 21, 2012, at 1:23 PM, Amedeo Mantica wrote: parent().parent().parent().... ?
Sent from my iPhone On 22/giu/2012, at 01:16, Johnny Miller < email@hidden> wrote: Hi,
I'm trying to create a frame set behavior where in one column I have various navigation trees of EOs and in the other column I have a WO switch component that loads the correct editor depending on the type of EO that is selected from the navigation.
My question is it is possible for the component loaded by the switch component to communicate back up to the top component and set the EO that in turn will be loaded by the switch component?
Hope that makes sense,
|
_______________________________________________
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