Re: D2W pull downs for toOne relationships aren't behaving as I'd expect anymore
Re: D2W pull downs for toOne relationships aren't behaving as I'd expect anymore
- Subject: Re: D2W pull downs for toOne relationships aren't behaving as I'd expect anymore
- From: Joe Little <email@hidden>
- Date: Wed, 27 Apr 2011 09:17:31 -0700
Thanks. I found
http://webobjects.mdimension.com/hudson/job/Wonder/javadoc/er/directtoweb/components/relationships/ERD2WQueryToManyRelationship.html
Which does gives the toOneUIStyle option, but what are the assignable
values? You gave me popup, but I'm hoping to be able find these
possible values, and I'm not getting anywhere without clues each time
I look thinks up.
On Wed, Apr 27, 2011 at 3:42 AM, David Avendasora
<email@hidden> wrote:
> Hi Joe!
>
> You have missed the rule that tells D2W what UI style to use for the ERD2WEditToOneRelationship component.
>
> 25 : (pageConfiguration like '*EmbeddedAffiliate' and propertyKey ='company') => toOneUIStyle = popup [com.webobjects.directtoweb.Assignment]
>
> That should get you the popup instead of the radio buttons!
>
> Note: The Radio Button UI Style could use some CSS love... :-)
>
> Dave
>
> On Apr 27, 2011, at 12:13 AM, Joe Little wrote:
>
>> I have one working pull down I created before, but whenever I try to
>> add another using the same scheme, I'm getting a ugly check box
>> selection vs a pull down list, as seen from the attached. The rule I
>> was using was:
>>
>> 100: (pageConfiguration like '*EmbeddedAffiliate' and propertyKey =
>> 'company') => componentName = "ERD2WEditToOneRelationship"
>> *Assignment*
>>
>> I'm trying to make company a pull down selection, but I end up with
>> the attached for both CreatedEmbeddedAffiliate and
>> EditEmbeddedAffiliate.
>> <Screen shot 2011-04-26 at 9.09.48 PM.png> _______________________________________________
>> 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