http://permalink.gmane.org/gmane.comp.web.webobjects.wonder-disc/15336

On Apr 10, 2013, at 8:33 AM, Ramsey Gurley wrote:

> Intentionally disabled binding is disabled.
> 
> EditToOneRelationship: ERXToOneRelationship {
>         destinationDisplayKey = keyWhenRelationship;
>         possibleChoices = restrictedChoiceList;
>         destinationSortKey = d2wContext.sortKey;
>         // isMandatory = d2wContext.isMandatory;
>         maxColumns = d2wContext.numCols;
>         relationshipKey = d2wContext.propertyKey;
>         size = d2wContext.size;
>         sourceEntityName = object.entityName;
>         sourceObject = object;
>         uiStyle = d2wContext.toOneUIStyle;
>       goingVertically = d2wContext.goingVertically;
>       noSelectionString = d2wContext.noSelectionString;
>       popupName = d2wContext.popupName;
>       localizeDisplayKeys = d2wContext.localizeDisplayKeys;
>       uniqueID = d2wContext.uniqueID;
>       destinationEntityName = d2wContext.destinationEntityName;
>     sortCaseInsensitive = d2wContext.sortCaseInsensitive;
>     id = d2wContext.id;
>     title = d2wContext.title;
> }
> 
> 
> 
> On Apr 10, 2013, at 8:11 AM, David Holt wrote:
> 
>> I think you can do it by making the relationship mandatory. 
>> 
>> Sent from my iPad
>> 
>> On 2013-04-10, at 7:33 AM, Ramsey Gurley <[email protected]> wrote:
>> 
>>> There isn't a way to do that with the existing component. It was 
>>> specifically set up that way because automatically selecting a field leads 
>>> to users using that selection accidentally. By forcing them to select the 
>>> field, there are fewer mistakes. If they leave "No Selection" then they get 
>>> a validation error drawing their attention to the field they overlooked.
>>> 
>>> You could subclass the ERD2WEditToOneRelationship and change the bindings 
>>> if you like, but you'll probably run into the same issue in form usability.
>>> 
>>> Ramsey
>>> 
>>> On Apr 10, 2013, at 7:10 AM, Gabor wrote:
>>> 
>>>> Hi guys, 
>>>> 
>>>> I got a little problem with D2W. I have a selection for the gender(Male, 
>>>> Female) when I create a new user.
>>>> I want this selection displayed with radio buttons. And D2W displays 
>>>> always three possible selections.
>>>> "No Selection" , "Male" and "Female". Is there a way to remove "No 
>>>> Selection" ? I only want "Male" and "Female".
>>>> 
>>>> Gabor Raz
>>>> _______________________________________________
>>>> Do not post admin requests to the list. They will be ignored.
>>>> Webobjects-dev mailing list      ([email protected])
>>>> Help/Unsubscribe/Update your Subscription:
>>>> https://lists.apple.com/mailman/options/webobjects-dev/ramseygurley%40gmail.com
>>>> 
>>>> This email sent to [email protected]
>>> 
>>> 
>>> _______________________________________________
>>> Do not post admin requests to the list. They will be ignored.
>>> Webobjects-dev mailing list      ([email protected])
>>> Help/Unsubscribe/Update your Subscription:
>>> https://lists.apple.com/mailman/options/webobjects-dev/programmingosx%40mac.com
>>> 
>>> This email sent to [email protected]
> 

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to