ICEfaces
  1. ICEfaces
  2. ICE-10882

mobi:dateSpinner - yearStart and yearEnd attributes not used when input element is used (onblur) rather than widget

    Details

      Description

      for dateSpinner:-
      yearStart, yearEnd,
      these are implemented only in the widget (non-native) as well as when encoding the value.
      should also be implemented with in the inputSubmit function as well as the decode in the renderer.
      can be done in the validation (js) function and then called from inputSubmit function, but there is no single cfg object that contains the values, so probably easiest to add to inputSubmit fn.

        Issue Links

          Activity

          Repository Revision Date User Message
          ICEsoft Public SVN Repository #48623 Tue Apr 12 17:06:14 MDT 2016 judy.guglielmin ICE-10882 - ensured that the script gets fired when readonly is changed.
          ICE-10876 - the onchange now fires a function in mobi.datespinner that checks for valid date based on yearStart and yearEnd attributes. Note that the function will take care of any tab out of the field, but an "enter" will automatically submit (for the button) anything on the form. The javascript is mainly for the client of that particular component and if the user wants to enforce validation on any other control on the form, they should use a jsf validator.
          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/src/org/icefaces/mobi/component/datespinner/DateSpinnerRenderer.java

            People

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

              Dates

              • Created:
                Updated:
                Resolved: