I suppose you could use
task = 'edit' and entity.name = 'Child'
instead of
pageConfiguration = 'EditChild'
in your rules. I seem to remember you could do something like
pageConfiguration like 'Edit*Child'
too, but I could be misremembering that :) Maybe check through the core
d2w rules file in wonder to look for examples.
On 12/28/24 10:33 PM, mailinglists via Webobjects-dev wrote:
This is a D2W question:
I have functioning ListChild, EditChild, CreateChild pageConfigurations. They
work nicely when activated through ERXNavigation.
How can I reuse these in the context of EditParent or CreateParent where Parent
has toMany children? I want to edit the list of children right inside the page
for the Parent. The default rule set for the EditParent pageConfiguration
creates an EditRelationshipEmbeddedChild page configuration for the children
propertyKey. How can I (can I at all?) reuse the
ListChild/CreateChild/EditChild page configurations instead? Or do I have to
kind of duplicate the rules for the EditRelationshipEmbedded* page
configuration?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/ramseygurley%40gmail.com
This email sent to ramseygur...@gmail.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to arch...@mail-archive.com