ICEfaces
  1. ICEfaces
  2. ICE-3627

h:inputText with valueChangeListener or tabindex attributes

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.7.2, 1.8DR#1
    • Fix Version/s: 1.8DR#1, 1.8
    • Component/s: Framework, ICE-Components
    • Labels:
      None
    • Environment:
      JSP

      Description

      I modified the JSP component showcase, to have an <h:inputText valueChangeListener="#{bean.listener}" tabindex="15"/>, and each of the two attributes, valueChangeListener and tabindex, cause exceptions to be thrown, independently of each other.

        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #17765 Fri Oct 10 10:44:57 MDT 2008 mark.collette ICE-3627 : h:inputText with valueChangeListener or tabindex attributes
        Files Changed
        Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/webapp/parser/ELSetPropertiesRule.java
        Mark Collette created issue -
        Hide
        Mark Collette added a comment -

        For our JSP + JSF 1.2 support, we have code to create MethodExpressions, which supported actionListener, for example, but not valueChangeListener.

        Also, javax.faces.component.HtmlInputText uses a String to represent tabindex, even though it's supposed to be an integral value. Our JSP + JSF 1.2 support code tries to create ValueExpressions based on the datatype of the attribute value, which was an integer, which then clashed with the String property in the component itself. So I special-cased tabindex to not try to convert to an Integer.

        TRUNK
        Subversion 17765
        icefaces\core\src\com\icesoft\faces\webapp\parser\ELSetPropertiesRule.java

        Show
        Mark Collette added a comment - For our JSP + JSF 1.2 support, we have code to create MethodExpressions, which supported actionListener, for example, but not valueChangeListener. Also, javax.faces.component.HtmlInputText uses a String to represent tabindex, even though it's supposed to be an integral value. Our JSP + JSF 1.2 support code tries to create ValueExpressions based on the datatype of the attribute value, which was an integer, which then clashed with the String property in the component itself. So I special-cased tabindex to not try to convert to an Integer. TRUNK Subversion 17765 icefaces\core\src\com\icesoft\faces\webapp\parser\ELSetPropertiesRule.java
        Mark Collette made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 1.8DR#1 [ 10141 ]
        Resolution Fixed [ 1 ]
        Assignee Mark Collette [ mark.collette ]
        Ken Fyten made changes -
        Fix Version/s 1.8 [ 10161 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Assignee Mark Collette [ mark.collette ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Mark Collette
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: