Verstuurd vanaf mijn iPhone

> Op 18 mrt. 2014 om 17:56 heeft Marius Dumitru Florea 
> <[email protected]> het volgende geschreven:
> 
> On Mon, Mar 17, 2014 at 8:54 PM, Gerritjan Koekkoek
> <[email protected]> wrote:
>> Hi,
>> 
>> If, in App Within Minutes, you select an attribute of type Static List with
>> multiple options and you set the selection type to Radio Button the   :
>> $doc.display('SL1') shows the radio buttons in Edit mode, but not in
>> Display mode.
> 
>> I feel radio buttons should always display all the options and highlight
>> the 'selected' one.
>> But now, in view mode the user has nu clue what he/she can choose.
>> It's a but odd to select EDIT before he/she can see the options.
> 
> I don't agree. When I'm in view mode I'm interested in the selected
> value. There can be many options and so displaying all of them
> clutters the UI and distracts the user.

I do not want to be a 'wise' guy but there is a choice in the type of controls
Few (<10) mutually exclusive: radio
Few options , more choices possible: check box
Many options: select - dropdown

Radio buttons serve a specific UI purpose 
The mutually exclusiveness is special and should also be clear from view 
perspective especially if the viewer is not the owner of the record
> 
>> 
>> In the sheet i've modified the generated code from;
>>  : $doc.display('SL1') ->   : $doc.display('SL1', 'edit')
>> But this allows the user to select another option (the control is active)
> 
>> Is there a more elegant way to have the control show the radio buttons and
>> the one currently selected highlighted but that the control is not active?
> 
> You either make the radio buttons generated by $doc.display read-only
> with JavaScript or you generate the radio buttons read only by
> yourself.
Ok, thanks

> 
> Hope this helps,
> Marius
> 
>> 
>> Gerritjan
>> _______________________________________________
>> users mailing list
>> [email protected]
>> http://lists.xwiki.org/mailman/listinfo/users
> _______________________________________________
> users mailing list
> [email protected]
> http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to