Re: D2W - Component to edit a many-to-many relationship with a meaningful attributes in the join table
Re: D2W - Component to edit a many-to-many relationship with a meaningful attributes in the join table
- Subject: Re: D2W - Component to edit a many-to-many relationship with a meaningful attributes in the join table
- From: Ramsey Lee Gurley <email@hidden>
- Date: Mon, 17 Aug 2009 08:24:48 -0400
Hi James,
Off the top of my head, you can edit a to-many relationship in couple
of ways. If you use an edit to many fault component, you will edit
the relationship in the EditRelationship page of your app. If you use
an edit to many relationship component, you'll typically get a list of
checkboxes or a WOBrowser to select what objects are related in your
edit page. If you want to edit mulitple to-many relationships on a
single page, I'm guessing you would need to use something like a
ERDGroupingListPage or ERDMassModifyButton somewhere and set up a
massModificationPageConfiguration that takes you to a page to do
that. I'm not sure what page that would be since I haven't had a need
to use it yet, but a little digging in the ERDirectToWeb framework
would probably produce an answer for you pretty quickly.
Ramsey
On Aug 17, 2009, at 6:05 AM, Brook, James wrote:
I am working on a Direct to Web edit page where I want to be able to
assign objects to a many-to-many relationship and also check/uncheck
a boolean attribute (meaningful class property) on the join table.
This attribute exists in addition to the two foreign keys. I guess I
will need to unflatten my relationship and do some work on building
an edit component for this. Does anyone know if such a component
might already exist somewhere?
--
James _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
@mac.com
This email sent to email@hidden
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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