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

        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
        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'.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: