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

          Tyler Johnson created issue -
          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)
          Chris Johnson made changes -
          Field Original Value New Value
          Link This issue duplicates ICE-2338 [ ICE-2338 ]
          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.
          Arran Mccullough made changes -
          Salesforce Case [50070000008Jidz]
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #25107 Tue Jul 26 14:47:40 MDT 2011 yip.ng ICE-2315: maxlength attribute of ice:selectInputText does not work.
          Files Changed
          Commit graph MODIFY /icefaces/trunk/icefaces/component/src/com/icesoft/faces/component/selectinputtext/SelectInputTextRenderer.java
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #25108 Tue Jul 26 14:48:31 MDT 2011 yip.ng ICE-2315: maxlength attribute of ice:selectInputText does not work.
          Files Changed
          Commit graph MODIFY /icefaces2/trunk/icefaces/compat/components/src/main/java/com/icesoft/faces/component/selectinputtext/SelectInputTextRenderer.java
          Mark Collette made changes -
          Assignee yip.ng [ yip.ng ]
          Mark Collette made changes -
          Assignee Priority P1
          Mark Collette made changes -
          Fix Version/s 2.1 [ 10241 ]
          Fix Version/s EE-1.8.2.GA_P04 [ 10280 ]
          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
          yip.ng made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          yip.ng made changes -
          Assignee yip.ng [ yip.ng ] Arran Mccullough [ arran.mccullough ]
          Arran Mccullough made changes -
          Salesforce Case [50070000008Jidz] [50070000008Jidz, 5007000000HzZmN]
          Ken Fyten made changes -
          Fix Version/s 2.1-Beta [ 10291 ]
          Ken Fyten made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

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

              Dates

              • Created:
                Updated:
                Resolved: