ICEfaces
  1. ICEfaces
  2. ICE-6930

Missing requiredMessage attribute

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.2
    • Fix Version/s: 1.8.3, 2.1-Beta, 3.0, EE-2.0.0.GA_P01
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      ICEfaces 2.0.2 or ICEfaces 1.8.2

      Description

      MyEclipse reported requiredMessage attribute on inputText is missing in tld.
      I have checked that requiredMessage attribute is added in UIInput since JSF 1.2 to customized default "required" message.

      all UIInput components from ice library missed requiredMessage attribute in ice component tld.
      requiredMessage attribute does exist in taglib.xml as this part is lately I added.

      tld and taglib.xml are generated differently.

      Since this applies tld only, all the changes will be in properties files under components-metadata.

      This issue affects following ice components:
      selectOneManue
      selectManyMenu
      selectManyListBox
      selectOneRadio
      selectOneListBox
      selectBooleanCheckbox
      selectManyCheckbox
      selectRichText
      selectInputDate
      selectInputText
      inputText
      inputTextArea
      inputHidden
      inputSecret

        Issue Links

          Activity

          Liming Wu created issue -
          Liming Wu made changes -
          Field Original Value New Value
          Assignee Liming Wu [ liming.wu ]
          Ken Fyten made changes -
          Salesforce Case []
          Fix Version/s EE-2.0.0.GA_P01 [ 10271 ]
          Fix Version/s 2.1 [ 10241 ]
          Fix Version/s 1.8.3 [ 10211 ]
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #24765 Mon Jun 06 12:02:25 MDT 2011 liming.wu ICE-6930 Added for missing requiredMessage attribute on all UIInput component
          Files Changed
          Commit graph MODIFY /icefaces/trunk/icefaces/component-metadata/src/main/resources/conf/properties/select-common-props.xml
          Commit graph ADD /icefaces/trunk/icefaces/component-metadata/src/main/resources/conf/properties/required-message-props.xml
          Commit graph MODIFY /icefaces/trunk/icefaces/component-metadata/src/main/resources/conf/properties/input-common-props.xml
          Commit graph MODIFY /icefaces/trunk/icefaces/component-metadata/src/main/resources/conf/extended-faces-config.xml
          Commit graph MODIFY /icefaces/trunk/icefaces/component-metadata/src/main/resources/conf/ice_cust_properties/cust-selectInputDate-props.xml
          Commit graph MODIFY /icefaces/trunk/icefaces/component-metadata/src/main/resources/conf/ice_cust_properties/cust-inputRichText-props.xml
          Commit graph MODIFY /icefaces/trunk/icefaces/component-metadata/src/main/resources/conf/ice_properties/ice-inputHidden-props.xml
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #24766 Mon Jun 06 12:23:23 MDT 2011 liming.wu ICE-6930 for adding missing requiredMessage attribute on all UIInput component
          Files Changed
          Commit graph ADD /icefaces2/branches/icefaces-2.0.x-maintenance/icefaces/compat/component-metadata/src/main/resources/conf/properties/required-message-props.xml
          Commit graph MODIFY /icefaces2/branches/icefaces-2.0.x-maintenance/icefaces/compat/component-metadata/src/main/resources/conf/ice_cust_properties/cust-inputRichText-props.xml
          Commit graph MODIFY /icefaces2/branches/icefaces-2.0.x-maintenance/icefaces/compat/component-metadata/src/main/resources/conf/extended-faces-config.xml
          Commit graph MODIFY /icefaces2/branches/icefaces-2.0.x-maintenance/icefaces/compat/component-metadata/src/main/resources/conf/ice_properties/ice-inputHidden-props.xml
          Commit graph MODIFY /icefaces2/branches/icefaces-2.0.x-maintenance/icefaces/compat/component-metadata/src/main/resources/conf/ice_cust_properties/cust-selectInputDate-props.xml
          Commit graph MODIFY /icefaces2/branches/icefaces-2.0.x-maintenance/icefaces/compat/component-metadata/src/main/resources/conf/properties/input-common-props.xml
          Commit graph MODIFY /icefaces2/branches/icefaces-2.0.x-maintenance/icefaces/compat/component-metadata/src/main/resources/conf/properties/select-common-props.xml
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #24767 Mon Jun 06 13:18:57 MDT 2011 liming.wu ICE-6930 for adding missing requiredMessage attribute on all UIInput component
          Files Changed
          Commit graph MODIFY /icefaces2/trunk/icefaces/compat/component-metadata/src/main/resources/conf/properties/select-common-props.xml
          Commit graph ADD /icefaces2/trunk/icefaces/compat/component-metadata/src/main/resources/conf/properties/required-message-props.xml
          Commit graph MODIFY /icefaces2/trunk/icefaces/compat/component-metadata/src/main/resources/conf/ice_cust_properties/cust-selectInputDate-props.xml
          Commit graph MODIFY /icefaces2/trunk/icefaces/compat/component-metadata/src/main/resources/conf/ice_cust_properties/cust-inputRichText-props.xml
          Commit graph MODIFY /icefaces2/trunk/icefaces/compat/component-metadata/src/main/resources/conf/properties/input-common-props.xml
          Commit graph MODIFY /icefaces2/trunk/icefaces/compat/component-metadata/src/main/resources/conf/ice_properties/ice-inputHidden-props.xml
          Commit graph MODIFY /icefaces2/trunk/icefaces/compat/component-metadata/src/main/resources/conf/extended-faces-config.xml
          Liming Wu made changes -
          Salesforce Case []
          Description MyEclipse reported requiredMessage attribute on inputText is missing in tld.
          I have checked that requiredMessage attribute is added in UIInput since JSF 1.2 to customized default "required" message.

          all UIInput components from ice library missed requiredMessage attribute in ice component tld.
          requiredMessage attribute does exist in taglib.xml as this part is lately I added.

          tld and taglib.xml are generated differently.


          change: icefaces/compat/component-metadata/src/main/resources/conf/properties/uiinput-props.xml

          add following:
          <property>
              <description>
                  <![CDATA[A ValueExpression enabled attribute that, if present, will be used as the text of the validation message for the "required" facility, if the "required" facility is used.]]>
              </description>
              <property-name>requiredMessage</property-name>
              <property-class>java.lang.String</property-class>
              <property-extension>
                  <category>ICE_COMPONENT</category>
          <editor-class>
          &stringEditor;
          </editor-class>
               </property-extension>
          </property>

          MyEclipse reported requiredMessage attribute on inputText is missing in tld.
          I have checked that requiredMessage attribute is added in UIInput since JSF 1.2 to customized default "required" message.

          all UIInput components from ice library missed requiredMessage attribute in ice component tld.
          requiredMessage attribute does exist in taglib.xml as this part is lately I added.

          tld and taglib.xml are generated differently.

          Since this applies tld only, all the changes will be in properties files under components-metadata.
          Hide
          Liming Wu added a comment -

          it needs to be committed to
          1. icefaces/trunk (for 1.8)
          2. icefaces2/trunk
          3. icefaces2/branches/icefaces-2.0.x-maintenance.

          Add a new required-message-props.xml.
          make reference in

          extended-faces-config.xml

          input-common-props.xml
          select-common-props.xml

          ice-inputHidden-props.cml

          cust-inputRichText-props.xml
          cust-selectInputDate-props.xml

          In ice component library, there are total 14 components affected

          Show
          Liming Wu added a comment - it needs to be committed to 1. icefaces/trunk (for 1.8) 2. icefaces2/trunk 3. icefaces2/branches/icefaces-2.0.x-maintenance. Add a new required-message-props.xml. make reference in extended-faces-config.xml input-common-props.xml select-common-props.xml ice-inputHidden-props.cml cust-inputRichText-props.xml cust-selectInputDate-props.xml In ice component library, there are total 14 components affected
          Hide
          Liming Wu added a comment -

          Revision 24765 on icefaces/trunk

          Show
          Liming Wu added a comment - Revision 24765 on icefaces/trunk
          Hide
          Liming Wu added a comment -

          Revision 24766 on icefaces2/branches/icefaces-2.0.x-maintenance/

          Show
          Liming Wu added a comment - Revision 24766 on icefaces2/branches/icefaces-2.0.x-maintenance/
          Hide
          Liming Wu added a comment -

          Revision 24767 on icefaes2/trunk/icefaces

          Show
          Liming Wu added a comment - Revision 24767 on icefaes2/trunk/icefaces
          Hide
          Liming Wu added a comment -

          resolved

          Show
          Liming Wu added a comment - resolved
          Liming Wu made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Liming Wu made changes -
          Salesforce Case []
          Description MyEclipse reported requiredMessage attribute on inputText is missing in tld.
          I have checked that requiredMessage attribute is added in UIInput since JSF 1.2 to customized default "required" message.

          all UIInput components from ice library missed requiredMessage attribute in ice component tld.
          requiredMessage attribute does exist in taglib.xml as this part is lately I added.

          tld and taglib.xml are generated differently.

          Since this applies tld only, all the changes will be in properties files under components-metadata.
          MyEclipse reported requiredMessage attribute on inputText is missing in tld.
          I have checked that requiredMessage attribute is added in UIInput since JSF 1.2 to customized default "required" message.

          all UIInput components from ice library missed requiredMessage attribute in ice component tld.
          requiredMessage attribute does exist in taglib.xml as this part is lately I added.

          tld and taglib.xml are generated differently.

          Since this applies tld only, all the changes will be in properties files under components-metadata.

          This issue affects following ice components:
          selectOneManue
          selectManyMenu
          selectManyListBox
          selectOneRadio
          selectOneListBox
          selectBooleanCheckbox
          selectManyCheckbox
          selectRichText
          selectInputDate
          selectInputText
          inputText
          inputTextArea
          inputHidden
          inputSecret
          Ken Fyten made changes -
          Salesforce Case []
          Fix Version/s 2.1-Beta [ 10291 ]
          Philip Breau made changes -
          Link This issue duplicates ICE-3501 [ ICE-3501 ]
          Ken Fyten made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

            • Assignee:
              Liming Wu
              Reporter:
              Liming Wu
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: