Re: restrictedChoiceKey and ERD2WQueryToOneRelationship
Re: restrictedChoiceKey and ERD2WQueryToOneRelationship
- Subject: Re: restrictedChoiceKey and ERD2WQueryToOneRelationship
- From: Theodore Petrosky <email@hidden>
- Date: Tue, 12 Feb 2013 11:38:56 -0800 (PST)
ok there is no object. but the popup is being populated from the Entity Client. So I could create a view on the database called currentclients and use that to populate the popups. I've done that before, just never in D2W.
102 : (pageConfiguration like 'Query*' and propertyKey = 'client') => restrictedChoiceKey = "client.currentClients" [com.webobjects.directtoweb.Assignment]
and removing the 'object' gets me to an unknown key 'client'.
--- On Tue, 2/12/13, Ramsey Gurley <email@hidden> wrote:
> From: Ramsey Gurley <email@hidden>
> Subject: Re: restrictedChoiceKey and ERD2WQueryToOneRelationship
> To: "Theodore Petrosky" <email@hidden>
> Cc: "WebObjects Development" <email@hidden>
> Date: Tuesday, February 12, 2013, 1:07 PM
> There's no object on a query page
> :-)
>
> On Feb 12, 2013, at 11:04 AM, Theodore Petrosky wrote:
>
> > anyone have an idea why the restrictedChoiceKey and
> ERD2WQueryToOneRelationship don't play well together?
> >
> > --- On Tue, 2/12/13, Theodore Petrosky <email@hidden>
> wrote:
> >
> >> From: Theodore Petrosky <email@hidden>
> >> Subject: Re: ERMODInspectPage and
> ERMODWizardCreationPage differences?
> >> To: "WebObjects Development" <email@hidden>
> >> Date: Tuesday, February 12, 2013, 9:54 AM
> >>
> >> of course the popup on the edit page is a:
> >>
> >> ERD2WEditToOneRelationship component
> >> and on the query page:
> >> ERD2WQueryToOneRelationship component
> >>
> >> both of these components have bindings for
> >> restrictedChoiceKey but I can not get it working on
> the
> >> latter.
> >>
> >> Ted
> >>
> >>
> >> --- On Tue, 2/12/13, Theodore Petrosky <email@hidden>
> >> wrote:
> >>
> >>> From: Theodore Petrosky <email@hidden>
> >>> Subject: ERMODInspectPage and
> ERMODWizardCreationPage
> >> differences?
> >>> To: "WebObjects Development" <email@hidden>
> >>> Date: Tuesday, February 12, 2013, 9:17 AM
> >>> I thought I finally had a grip on
> >>> restrictedChoiceKey and the full path to
> through the
> >>> object.relation.propertyKey.
> >>>
> >>> I have this rule:
> >>>
> >>> 102 : (pageConfiguration like 'Create*' and
> propertyKey
> >> =
> >>> 'client') => restrictedChoiceKey =
> >>> "object.client.currentClients"
> >>> [com.webobjects.directtoweb.Assignment]
> >>>
> >>> I started with:
> >>>
> >>> 102 : propertyKey = 'client' =>
> restrictedChoiceKey
> >> =
> >>> "object.client.currentClients"
> >>> [com.webobjects.directtoweb.Assignment]
> >>>
> >>> figuring that any time I wanted to display the
> list of
> >>> clientNames, I only wanted the current
> clients.
> >>>
> >>> it works in a ERMODInspectPage. When I show the
> D2W
> >>> attributes and roll over the question mark by
> Client,
> >>> restrictedChoiceKey is listed as
> >>> object.client.currentClients. and that's what
> is
> >> showing in
> >>> the popup.
> >>>
> >>> however on the Create* pages, rolling over the
> >> question
> >>> mark, it shows that restrictedChoiceKey is
> bound,
> >> however it
> >>> does not fire the method to get the
> currentClients.
> >> the
> >>> create* page is a ERMODWizardCreationPage and I
> don't
> >>> understand why I don't get the proper list.
> >>>
> >>> Am I missing something special about
> >>> ERMODWizardCreationPage?
> >>>
> >>> 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
> >>>
> >>
> >> _______________________________________________
> >> 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
> >
> > _______________________________________________
> > 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
>
>
_______________________________________________
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