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

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

          when investigating ICE-10876 (deals with input of date directly in the input field), it appeared that validation was missing, so this Jira should be fixed first and then once the date is validated (Within the specified yearStart and yearEnd), the header text could be updated before submitting.
          will fix ICE-10876 then as well.

          Show
          Judy Guglielmin added a comment - when investigating ICE-10876 (deals with input of date directly in the input field), it appeared that validation was missing, so this Jira should be fixed first and then once the date is validated (Within the specified yearStart and yearEnd), the header text could be updated before submitting. will fix ICE-10876 then as well.
          Judy Guglielmin made changes -
          Field Original Value New Value
          Link This issue depends on ICE-10876 [ ICE-10876 ]
          Ken Fyten made changes -
          Fix Version/s EE-4.1.0.GA [ 12171 ]
          Ken Fyten made changes -
          Security Private [ 10001 ]
          Hide
          Judy Guglielmin added a comment -

          rev 48623.
          ensure the script is refired when readonly is changed.

          Show
          Judy Guglielmin added a comment - rev 48623. ensure the script is refired when readonly is changed.
          Judy Guglielmin made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          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
          Ken Fyten made changes -
          Fix Version/s EE-4.1.0.BETA [ 13072 ]
          Ken Fyten made changes -
          Fix Version/s 4.2.BETA [ 13091 ]
          Fix Version/s 4.2 [ 12870 ]
          Ken Fyten made changes -
          Summary yearStart and yearEnd attributes not used when input element is used (onblur) rather than widget mobi:dateSpinner - yearStart and yearEnd attributes not used when input element is used (onblur) rather than widget
          Ken Fyten made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

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

              Dates

              • Created:
                Updated:
                Resolved: