Re: WODisplayGroup - how to insert default values?: SOLVEDish
Re: WODisplayGroup - how to insert default values?: SOLVEDish
- Subject: Re: WODisplayGroup - how to insert default values?: SOLVEDish
- From: "Clive Roberts" <email@hidden>
- Date: Thu, 21 Apr 2005 14:50:16 +0100
thanks,
> > What am I missing?
>
> i would say, the selectedObject () can be different to the fresh inserted
> object.
> therefor insert () returns a reference to the new object.
> lets say x = ...insert (); x.takeValue.....
> could fix it.
>
I tried this but diplayGroup.insert returns a null value (the documentation
says this is to force a page reload).
However, it works using:
displayGroup.setInsertedObjectDefaultValues(defaultDictionary)
I send this method in the component constructor and it sets the values! A
step forward!
The behaviour of the first insert appears a little odd! The
EOEnterpriseObject gets created and inserted in the DisplayGroup and is then
displayed; thereafter it can be edited.
regards
Clive Roberts
_______________________________________________
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