ICEfaces
  1. ICEfaces
  2. ICE-2315

maxlength attribute of ice:selectInputText does not work

    Details

      Description

      The maxlength attribute of ice:selectInputText does not work but is included as an attribute in the tld. http://www.icesoft.com/developer_guides/icefaces/tld/ice/selectInputText.html

        Issue Links

          Activity

          Hide
          Chris Johnson added a comment -

          ICE-2338 seems to be related to, or perhaps a duplicate of this issue. That issue was closed unfixed, but no work-around appears to have been given.

          It seems there is still no solution to this issue, and remains an outstanding issue in the latest release (1.7.0)

          Show
          Chris Johnson added a comment - ICE-2338 seems to be related to, or perhaps a duplicate of this issue. That issue was closed unfixed, but no work-around appears to have been given. It seems there is still no solution to this issue, and remains an outstanding issue in the latest release (1.7.0)
          Hide
          Hannah Li added a comment -

          I did a workaround on tabindex attribute by adding the following code to SelectInputTextRenderer's encodeBegin() method:

          if( component.getTabindex() != null )

          { input.setAttribute(HTML.TABINDEX_ATTR, component.getTabindex()); }

          It's working on IE6. I think maxlength attribute should be able passed into the input text field the same way.

          Show
          Hannah Li added a comment - I did a workaround on tabindex attribute by adding the following code to SelectInputTextRenderer's encodeBegin() method: if( component.getTabindex() != null ) { input.setAttribute(HTML.TABINDEX_ATTR, component.getTabindex()); } It's working on IE6. I think maxlength attribute should be able passed into the input text field the same way.
          Hide
          yip.ng added a comment - - edited

          All pass thru attributes passed to input element.

          Revision: 25107


          Modified : /icefaces/trunk/icefaces/component/src/com/icesoft/faces/component/selectinputtext/SelectInputTextRenderer.java

          Revision: 25108


          Modified : /icefaces2/trunk/icefaces/compat/components/src/main/java/com/icesoft/faces/component/selectinputtext/SelectInputTextRenderer.java

          Show
          yip.ng added a comment - - edited All pass thru attributes passed to input element. Revision: 25107 Modified : /icefaces/trunk/icefaces/component/src/com/icesoft/faces/component/selectinputtext/SelectInputTextRenderer.java Revision: 25108 Modified : /icefaces2/trunk/icefaces/compat/components/src/main/java/com/icesoft/faces/component/selectinputtext/SelectInputTextRenderer.java

            People

            • Assignee:
              Arran Mccullough
              Reporter:
              Tyler Johnson
            • Votes:
              8 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: