[syncope-dev] Issue 161 in syncope: Some boolean fields are rendered as text fields instead of checkboxes

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[syncope-dev] Issue 161 in syncope: Some boolean fields are rendered as text fields instead of checkboxes

syncope
Status: Accepted
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 161 by [hidden email]: Some boolean fields are rendered as  
text fields instead of checkboxes
http://code.google.com/p/syncope/issues/detail?id=161

Both in the 'schema modal page' and in the 'resource modal page', the field  
indicating whether a value is mandatory, is rendered as a text input.
Users have to literally type 'true' or 'false', which is rather unusal for  
a HTML view (even though 1 of the two cases even has an autocomplete...)

The attached patch changes both fields to be checkboxes (and changes some  
labels to better depict the intention of the fields)



Attachments:
        boolean-fields-as-checkboxes.patch  5.9 KB

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[syncope-dev] Re: Issue 161 in syncope: Some boolean fields are rendered as text fields instead of checkboxes

syncope
Updates:
        Status: Invalid

Comment #1 on issue 161 by [hidden email]: Some boolean fields are  
rendered as text fields instead of checkboxes
http://code.google.com/p/syncope/issues/detail?id=161

The intention is exactly that: mandatory condition can be a JEXL expression  
indicating "true", "false" or any another JEXL expression.

This allows, for example, to define an attribute mandatory depending on the  
value of another attribute.

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[syncope-dev] Re: Issue 161 in syncope: Some boolean fields are rendered as text fields instead of checkboxes

syncope

Comment #2 on issue 161 by [hidden email]: Some boolean fields are  
rendered as text fields instead of checkboxes
http://code.google.com/p/syncope/issues/detail?id=161

Hehe... ok, I'm sorry, apparently I misunderstood the purpose of the field.
Time for another piece of documentation though.. I will do that later on.

Loading...