Re: edit page component in D2W
Re: edit page component in D2W
- Subject: Re: edit page component in D2W
- From: Antoine Berry <email@hidden>
- Date: Thu, 27 Sep 2012 08:54:58 +0200
Hello Ted,
Yes this component is used. But in ERModernLook, the 'editRelationship'
tasks are handled by embedded components, so I think you'd better work
on the components rather than the page? For example when you create a
new D2W app, you have already a rule like :
100 : (task = 'inspect' and smartRelationship.isToMany = 1) =>
componentName = "ERDList" [com.webobjects.directtoweb.Assignment]
and in this case ERDList is used to inspect relationship.
And to edit a relationship, this component is used : ERDEditRelationship.
I started to write about relationship components in the wiki, so if you
find something interesting about that and you have a few time, you can
write something about that!
http://wiki.wocommunity.org/display/documentation/To-one+relationship+components
Le 27/09/12 05:35, Theodore Petrosky a écrit :
If I read the ERModernLook rule model,
20 : look = 'ERModernLook' => templateNameForEditRelationshipPage = "ERMODEditRelationshipPage" [com.webobjects.directtoweb.Assignment]
Is this the component that is used to edit an entity? Before I start playing around, I want to know.
Ted
_______________________________________________
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
--
Antoine Berry
_______________________________________________
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