2009/9/14 Anjo Krank <[email protected]>

> Depends on whatcha wanna do. Normally, one needs to set the current user,
> set the creation date and so forth. If you want that, you could override
> ERXGenericRecord.init() and get the user from Thread storage where you
> previously put it in session.awake(). Look at the bug tracker example on how
> to do that.
>
> If you *really* want default values calculated by rules, this is also
> possible, but I'd strongly recommend against it and won't say anything until
> you make a good case for you needing it :)
>
> Cheers, Anjo
>

Well, I have a parent class and a child class.

I would like an overview all the parents children in a list page, instead of
the edit relationship page.
When creating a new child instance from this page, I automatically want to
assign the parent to the child class.

Then I can hide the child->parent relationship property from the edit page,
since this is not allowed to be changed.

-- 
Freddie Tilley
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to