[richfaces-issues] [JBoss JIRA] Created: (RF-9998) Feature Request - Input Number Slider - improve @onchange and introduce new attributes

Lukas Fryc (JIRA) jira-events at lists.jboss.org
Mon Dec 13 06:51:53 EST 2010


Feature Request - Input Number Slider - improve @onchange and introduce new attributes
--------------------------------------------------------------------------------------

                 Key: RF-9998
                 URL: https://issues.jboss.org/browse/RF-9998
             Project: RichFaces
          Issue Type: Feature Request
      Security Level: Public (Everyone can see)
          Components: component-input
    Affects Versions: 4.0.0.Milestone4
            Reporter: Lukas Fryc


(See [JBoss Forum Reference] for details.)

Description
 
Change the behavior and extend the attributes to improve usability.
 
Current state:
 
- only @onchange is in place, but firing for input blur or slider movement
- that's why it cannot be used e.g. for updating concent from database
 
Explanation:
- arrowkey = the keyboard's arrow buttons
- arrow = the arrow sign on left and right side of slider to move slider by mouse
 
The requirements:
 
1) change semantics of @onchange - should be fired only after value changed and then component focus lost (default ajax action)
2) add @onslide - fired when slider was moved (by mouse click/move or arrows or arrowkeys)
4) add @oninputkeyup, @oninputkeydown, @oninputkeypress
5) add @oncomponentblur - fired when focus of input or slider lost and changed to another component (specifically not change it when focus moving from input to slider or vice versa)
6) add @oncomponentfocus - fired when one of input or slider focus obtained (specifically not change when focus moving from input to slider or vice versa)
 
Notes

@oncomponentfocus, @oncomponentblur - avoid conflict with input's events onfocus/onblur

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the richfaces-issues mailing list