ICEfaces
  1. ICEfaces
  2. ICE-6292

ACE: Replace sliderEntry "submitOn" attribute with inherent behaviors

    Details

    • Type: Task Task
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0-Beta2
    • Fix Version/s: 2.0.0
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      ICEfaces Advanced Components
    • Affects:
      Documentation (User Guide, Ref. Guide, etc.), Sample App./Tutorial, Compatibility/Configuration

      Description

      Since the entrySlider component will only auto-submit value changes if 'singleSubmit=true', and otherwise it will just update the value of a hidden form field in the form on the client, we should remove the 'submitOn' attribute altogether, and replace it with the following submit behaviors:

      1. If "singleSubmit=true", then we perform the single submit on 'slideEnd', including if the rail is moved via 'clickableRail=true'.

      2. If "singleSubmit=false", then we update the hidden form field each time the slider position changes (real-time), including if the slider is moved via clicking on the rail with 'clickableRail=true'.

        Activity

        Ken Fyten created issue -
        Ken Fyten made changes -
        Field Original Value New Value
        Salesforce Case []
        Affects [Documentation (User Guide, Ref. Guide, etc.), Sample App./Tutorial, Compatibility/Configuration]
        Assignee Priority P1
        Assignee Adnan Durrani [ adnan.durrani ]
        Ken Fyten made changes -
        Salesforce Case []
        Fix Version/s 2.0.0 [ 10230 ]
        Ken Fyten made changes -
        Summary ACE: Rename sliderEntry "submitOn" attribute to "UpdateOn" ACE: Rename sliderEntry "submitOn" attribute to "updateOn"
        Salesforce Case []
        Ken Fyten made changes -
        Summary ACE: Rename sliderEntry "submitOn" attribute to "updateOn" ACE: Replace sliderEntry "submitOn" attribute with inherent behaviors
        Salesforce Case []
        Description Since the entrySlider component will only auto-submit value changes if 'singleSubmit=true', and otherwise it will just update the value of a hidden form field in the form on the client, we should change the name of the 'submitOn' attribute to be more accurate, to be 'updateOn', which means that the component's value will be updated in the manner described by this setting.
        Since the entrySlider component will only auto-submit value changes if 'singleSubmit=true', and otherwise it will just update the value of a hidden form field in the form on the client, we should remove the 'submitOn' attribute altogether, and replace it with the following submit behaviors:

        1. If "singleSubmit=true", then we perform the single submit on 'slideEnd', including if the rail is moved via 'clickableRail=true'.

        2. If "singleSubmit=false", then we update the hidden form field each time the slider position changes (real-time), including if the slider is moved via clicking on the rail with 'clickableRail=true'.

        Ken Fyten made changes -
        Comment [ What about the value of updateOn, Boolean like true or false? ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #23223 Sun Nov 28 21:17:58 MST 2010 adnan.durrani Fix for ICE-6292 (ACE: Replace sliderEntry "submitOn" attribute with inherent behaviors)
        Files Changed
        Commit graph MODIFY /icefaces2/trunk/icefaces/ace/component/src/org/icefaces/component/sliderentry/SliderEntryMeta.java
        Commit graph MODIFY /icefaces2/trunk/icefaces/ace/component/resources/org.icefaces.component.sliderentry/slider.js
        Adnan Durrani made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Hide
        Adnan Durrani added a comment - - edited

        Suggested changes are applied.

        Command: Commit
        Modified: D:\work\development\head\svn\ossrepo\icefaces2\trunk\icefaces\ace\component\resources\org.icefaces.component.sliderentry\slider.js
        Modified: D:\work\development\head\svn\ossrepo\icefaces2\trunk\icefaces\ace\component\src\org\icefaces\component\sliderentry\SliderEntryMeta.java
        Sending content: D:\work\development\head\svn\ossrepo\icefaces2\trunk\icefaces\ace\component\src\org\icefaces\component\sliderentry\SliderEntryMeta.java
        Sending content: D:\work\development\head\svn\ossrepo\icefaces2\trunk\icefaces\ace\component\resources\org.icefaces.component.sliderentry\slider.js
        Completed: At revision: 23223

        Show
        Adnan Durrani added a comment - - edited Suggested changes are applied. Command: Commit Modified: D:\work\development\head\svn\ossrepo\icefaces2\trunk\icefaces\ace\component\resources\org.icefaces.component.sliderentry\slider.js Modified: D:\work\development\head\svn\ossrepo\icefaces2\trunk\icefaces\ace\component\src\org\icefaces\component\sliderentry\SliderEntryMeta.java Sending content: D:\work\development\head\svn\ossrepo\icefaces2\trunk\icefaces\ace\component\src\org\icefaces\component\sliderentry\SliderEntryMeta.java Sending content: D:\work\development\head\svn\ossrepo\icefaces2\trunk\icefaces\ace\component\resources\org.icefaces.component.sliderentry\slider.js Completed: At revision: 23223
        Adnan Durrani made changes -
        Status In Progress [ 3 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Hide
        Adnan Durrani added a comment -

        "submitOn" and "slideInterval" attributes has been removed. In addition to that following changes has been applied:

        1. If "singleSubmit=true", then we perform the single submit on 'slideEnd', including if the rail is moved via 'clickableRail=true'.

        2. If "singleSubmit=false", then we update the hidden form field each time the slider position changes (real-time), including if the slider is moved via clicking on the rail with 'clickableRail=true'.

        Show
        Adnan Durrani added a comment - "submitOn" and "slideInterval" attributes has been removed. In addition to that following changes has been applied: 1. If "singleSubmit=true", then we perform the single submit on 'slideEnd', including if the rail is moved via 'clickableRail=true'. 2. If "singleSubmit=false", then we update the hidden form field each time the slider position changes (real-time), including if the slider is moved via clicking on the rail with 'clickableRail=true'.
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Assignee Priority P1

          People

          • Assignee:
            Adnan Durrani
            Reporter:
            Ken Fyten
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: