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

        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).
        Hide
        Judy Guglielmin added a comment -

        rev 28226

        Show
        Judy Guglielmin added a comment - rev 28226

          People

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

            Dates

            • Created:
              Updated:
              Resolved: