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

        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

          People

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

            Dates

            • Created:
              Updated:
              Resolved: