ICEfaces
  1. ICEfaces
  2. ICE-10511

mobi:dateSpinner and mobi:timeSpinner shouldn't submit automatically unless they have an ace:ajax tag

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.0
    • Fix Version/s: 4.1
    • Component/s: MOBI-Components
    • Labels:
      None
    • Environment:
      Any

      Description

      The mobi:dateSpinner component, in its non-native mode, is submitting the value just entered by the user after blurring the text field. The same component and mobi:timeSpinner as well are submitting the value after pressing the 'Set' button. This should behaviour should only exist if these components have an ace:ajax tag, otherwise they should work as client-side only components, and their values should be submitted when submitting the whole form.

        Activity

        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Arturo Zambrano made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Hide
        Arturo Zambrano added a comment -

        r45740: added ajax tags to mobi:dateSpinner and mobi:timeSpinner demo.

        Show
        Arturo Zambrano added a comment - r45740: added ajax tags to mobi:dateSpinner and mobi:timeSpinner demo.
        Hide
        Arturo Zambrano added a comment -

        r45739: modified mobi:dateSpinner and mobi:timeSpinner to work in client-side mode by default and to only submit when they have an ajax behavior.

        When in non-native mode, the mobi:dateSpinner and mobi:timeSpinner don't submit their values after blurring the text field or after pressing the 'Set' button of the dialog, unless they have an ajax behaviour.

        Show
        Arturo Zambrano added a comment - r45739: modified mobi:dateSpinner and mobi:timeSpinner to work in client-side mode by default and to only submit when they have an ajax behavior. When in non-native mode, the mobi:dateSpinner and mobi:timeSpinner don't submit their values after blurring the text field or after pressing the 'Set' button of the dialog, unless they have an ajax behaviour.
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #45740 Thu Jul 09 13:12:48 MDT 2015 art.zambrano ICE-10511 added ajax tags to mobi:dateSpinner and mobi:timeSpinner demo
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/webapp/resources/examples/mobi/datespinner/date-example.xhtml
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #45739 Thu Jul 09 13:08:44 MDT 2015 art.zambrano ICE-10511 modified mobi:dateSpinner and mobi:timeSpinner to work in client-side mode by default and to only submit when they have an ajax behavior
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/mobi/component/resources/org.icefaces.component.datespinner/datespinner.js
        Commit graph MODIFY /icefaces4/trunk/icefaces/mobi/component/resources/org.icefaces.component.timespinner/timespinner.js
        Commit graph MODIFY /icefaces4/trunk/icefaces/mobi/component/src/org/icefaces/mobi/component/timespinner/TimeSpinnerRenderer.java
        Ken Fyten made changes -
        Fix Version/s 4.1 [ 11375 ]
        Arturo Zambrano made changes -
        Field Original Value New Value
        Assignee Arturo Zambrano [ artzambrano ]
        Arturo Zambrano created issue -

          People

          • Assignee:
            Arturo Zambrano
            Reporter:
            Arturo Zambrano
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: