ICEfaces
  1. ICEfaces
  2. ICE-10423

icefaces.jar breaks html5 passthrough attributes for <h:inputText>

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.0
    • Fix Version/s: EE-4.0.0.GA, 4.1
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      ICEfaces 4 trunk r43806. Tomcat 7, all browsers.
    • Assignee Priority:
      P1
    • Affects:
      Compatibility/Configuration

      Description

      When icefaces.jar and javax.faces-2.2.8 are included in a .war file, the following test will not render the expected placeholder "Enter email" in the input field. After removing the icefaces.jar the placeholder is rendered as expected.
       
      Use a simple test application such as:
      <!DOCTYPE html>
      <html xmlns="http://www.w3.org/1999/xhtml"
            xmlns:h="http://xmlns.jcp.org/jsf/html"
            xmlns:p="http://xmlns.jcp.org/jsf/passthrough">
      <h:head><title>JSF 2.2</title></h:head>
      <h:body>
          <h:form id="form">
              <h:inputText id="email" value="#{bean.email}"
                           p:type="email" p:placeholder="Enter email"/>
          </h:form>
      </h:body>
      </html>

      So far this has only been tested with <h:inputText>. Issues with other<h:components> could be present.

      New QA test applications have been added to:
      http://dev.icesoft.com/svn/repo/qa/trunk/Regression-Icefaces4/Sparkle/Manual/HTML5passthrough

        Activity

        Hide
        Ken Fyten added a comment -

        Note that this appears to affect all passthrough attributes with h: components.

        Show
        Ken Fyten added a comment - Note that this appears to affect all passthrough attributes with h: components.
        Hide
        Liana Munroe added a comment -

        This issue also occurs when using the <f:passThroughAttribute> tag within in an <h:inputText>. Works as expected when removing the icefaces.jar from the .war file.

        Show
        Liana Munroe added a comment - This issue also occurs when using the <f:passThroughAttribute> tag within in an <h:inputText>. Works as expected when removing the icefaces.jar from the .war file.
        Hide
        Liana Munroe added a comment -

        jsf passthrough elements have no issue when icefaces.jar is included in the .war file.

        Show
        Liana Munroe added a comment - jsf passthrough elements have no issue when icefaces.jar is included in the .war file.
        Hide
        Mircea Toma added a comment -

        Modified DOMResponseWriter to render all passthrough attributes. Previously the writer was modified to render only the data-* prefixed passthrough attributes.

        Show
        Mircea Toma added a comment - Modified DOMResponseWriter to render all passthrough attributes. Previously the writer was modified to render only the data-* prefixed passthrough attributes.
        Hide
        Liana Munroe added a comment -

        Verified ICEfaces 4 trunk r43829. Tomcat 7, IE 11, FF 33, Chrome 39.

        Show
        Liana Munroe added a comment - Verified ICEfaces 4 trunk r43829. Tomcat 7, IE 11, FF 33, Chrome 39.

          People

          • Assignee:
            Mircea Toma
            Reporter:
            Liana Munroe
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: