ICEmobile
  1. ICEmobile
  2. MOBI-184

implement ajax submit on entry of input field for date spinner component

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.0 Williams
    • Fix Version/s: 1.1 Beta
    • Component/s: None
    • Labels:
      None
    • Environment:
      icemobile

      Description

      requirement to allow singleSubmit and mobi:ajax support upon input in text field of date spinner (without using the date widget component to select a date).
      First implementation does not require any client side validation for pattern at this point. That will have to be determined by user group.
      For now, allow server-side to do validation.
      Basically place onblur with a new event on the input field part of the component. If the widget is open, don't allow any submits (shouldn't be a possibility as the background is greyed out and unavailable, but to ensure, just specify that if it's open don't allow the input field to do anything. (force use of widget if it's open).

      Then just refactor so that the common submit functionality is used whether the widget or input field is responsible for submission.
      1. patchDateSpinnerRendererjava.txt
        3 kB
        Judy Guglielmin
      2. pathdatespinnerjs.txt
        2 kB
        Judy Guglielmin

        Activity

        Judy Guglielmin created issue -
        Hide
        Judy Guglielmin added a comment -

        patches (svn diffs) for DateSpinnerRenderer and datespinner.js as of March 6, 2012.
        tested for
        1) standard form submission by commandButton
        2) singleSubmit= true
        3) mobi:ajax (standard test as per mobitest for dateSpinner).

        Show
        Judy Guglielmin added a comment - patches (svn diffs) for DateSpinnerRenderer and datespinner.js as of March 6, 2012. tested for 1) standard form submission by commandButton 2) singleSubmit= true 3) mobi:ajax (standard test as per mobitest for dateSpinner).
        Judy Guglielmin made changes -
        Field Original Value New Value
        Attachment patchDateSpinnerRendererjava.txt [ 14144 ]
        Attachment pathdatespinnerjs.txt [ 14145 ]
        Judy Guglielmin made changes -
        Fix Version/s 1.1 Beta [ 10320 ]
        Affects Version/s 1.0 Williams [ 10319 ]
        Affects Version/s 1.1 Beta [ 10320 ]
        Assignee Steve Maryka [ steve.maryka ] Judy Guglielmin [ judy.guglielmin ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #28226 Wed Mar 07 16:30:01 MST 2012 judy.guglielmin MOBI-184 addition of ajax support on input field of datespinner when widget is not open
        Files Changed
        Commit graph MODIFY /icemobile/trunk/icemobile/components/component/resources/org.icefaces.component.datespinner/datespinner.js
        Commit graph MODIFY /icemobile/trunk/icemobile/components/component/src/org/icefaces/mobi/component/datespinner/DateSpinnerRenderer.java
        Hide
        Judy Guglielmin added a comment -

        rev 28226

        Show
        Judy Guglielmin added a comment - rev 28226
        Judy Guglielmin made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Migration made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Judy Guglielmin
            Reporter:
            Judy Guglielmin
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: