Creating and Editing EO's
Creating and Editing EO's
- Subject: Creating and Editing EO's
- From: "Cuauhtemoc Hohman" <email@hidden>
- Date: Thu, 17 Apr 2008 13:51:49 -0500
Hi all,
I think it's a rather basic question, however after searching the web for sometime, I haven't found the answer yet.
I have made a D2W application, in which I want to have a few differences between creating a new EO and editing an existing EO.
Particularly, when creating, I want the user to be able to provide a value for the database primary key through a D2WEditString, and when editing, I want the user not to be able to edit them at all, through a D2WDisplayString.
I thought doing this adding a few rules with the assistant for such cases.
However, it seems that there is no way in D2W to distinguish between editing an existent object, and creating a new one, as it uses the same page and the same task.
Is this really true? I can't believe, there's no way to make this small differences.
Any suggestions of how I can make this work?
--
Atentamente, Cuauhtemoc Hohman
_______________________________________________
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