[ 
https://issues.apache.org/jira/browse/ISIS-2946?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17479507#comment-17479507
 ] 

Brian Kalbfus commented on ISIS-2946:
-------------------------------------

Good to change this to a wish; I know this involved unwinding or 
short-circuiting the edit mode.  I had a boolean one-click component working 
with M4.  As I recall, I had to copy over implementations from the abstract 
scalar, at least, to have the checkbox not disabled and the click event to 
enter edit mode and toggle.  When M5 was released, it did not work any more.   
I am thinking that the solution to this would be an alternative abstract scalar 
panel that does not have an edit mode, so it would add functionality for other 
scalars as a bonus (Like many web pages that save without a "Save" button).   I 
thought I saw an old ticket where it solved a problem of updating the database 
without a user-triggered confirmation step by adding an edit mode, so this 
would be an undo of sorts.

> Allow option to have Boolean scalar values toggle
> -------------------------------------------------
>
>                 Key: ISIS-2946
>                 URL: https://issues.apache.org/jira/browse/ISIS-2946
>             Project: Isis
>          Issue Type: Wish
>          Components: Isis Viewer Wicket
>    Affects Versions: 2.0.0-M6
>            Reporter: Brian Kalbfus
>            Priority: Minor
>
> For a Boolean value to be toggled, it takes the following user actions:
>    1. Click on the "Yes/no" text next to the checkbox
>    2. Since the page just refreshed, scroll down to where the property was
>    3. Click on the checkbox
>    4. Click on the "OK" button
>    5. Since the page just refreshed again, scroll down to see that your 
> change took
>  
> It seems to me that a user usually expects to be able to update a checkbox 
> with a single action and the current behavior is the result of building in a 
> confirmation feature into the Wicket module.  For those who would prefer skip 
> the confirmation step, we can have updates occur automatically.  This would 
> make the checkbox intuitive and allow updates of other scalars without a 
> submit button.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to