Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.1.7
    • Fix Version/s: 2.1.8, 2.2.0-m02
    • Component/s: None
    • Labels:
      None

      Description

      The <h:body> must support the ID attribute.

      The ID attribute is missing in <h:body> tag even though it's valid in HTML.

        Activity

        Hide
        Manfred Riem added a comment -

        What do you mean it is missing? Can you elaborate a bit more?

        Show
        Manfred Riem added a comment - What do you mean it is missing? Can you elaborate a bit more?
        Hide
        balusc added a comment - - edited

        The id attribute is not specified on <h:body> tag. This makes us unable to use a <h:body id="foo"> in order to generate a <body id="foo"> even though it's valid HTML. When attempting, JSF ignores the id attribute and generates a <body> without any id.

        Show
        balusc added a comment - - edited The id attribute is not specified on <h:body> tag. This makes us unable to use a <h:body id="foo"> in order to generate a <body id="foo"> even though it's valid HTML. When attempting, JSF ignores the id attribute and generates a <body> without any id .
        Hide
        Manfred Riem added a comment -

        Allow h:body to specify an id.

        Show
        Manfred Riem added a comment - Allow h:body to specify an id.
        Hide
        rogerk added a comment -
        Show
        rogerk added a comment - Spec issue for VDL Docs: http://java.net/jira/browse/JAVASERVERFACES_SPEC_PUBLIC-1097
        Hide
        Manfred Riem added a comment -

        Applied to 2.1 branch

        svn commit -m "Fixes http://java.net/jira/browse/JAVASERVERFACES-2409, allow id on h:body, r=rogerk"
        Sending jsf-ri\src\main\java\com\sun\faces\renderkit\html_basic\BodyRenderer.java
        Adding test\agnostic\renderKit\basic\src\main\webapp\hbody.xhtml
        Adding test\agnostic\renderKit\basic\src\test\java\com\sun\faces\test\agnostic\renderKit\basic\Issue2409IT.java
        Transmitting file data ...
        Committed revision 9927.

        Show
        Manfred Riem added a comment - Applied to 2.1 branch svn commit -m "Fixes http://java.net/jira/browse/JAVASERVERFACES-2409 , allow id on h:body, r=rogerk" Sending jsf-ri\src\main\java\com\sun\faces\renderkit\html_basic\BodyRenderer.java Adding test\agnostic\renderKit\basic\src\main\webapp\hbody.xhtml Adding test\agnostic\renderKit\basic\src\test\java\com\sun\faces\test\agnostic\renderKit\basic\Issue2409IT.java Transmitting file data ... Committed revision 9927.
        Hide
        Manfred Riem added a comment -

        Applied to 2.2 trunk

        svn commit -m "Fixes http://java.net/jira/browse/JAVASERVERFACES-2409, allow id on h:body, r=rogerk"
        Sending jsf-ri\src\main\java\com\sun\faces\renderkit\html_basic\BodyRenderer.java
        Adding test\agnostic\renderKit\basic\src\main\webapp\hbody.xhtml
        Adding test\agnostic\renderKit\basic\src\test\java\com\sun\faces\test\agnostic\renderKit\basic\Issue2409IT.java
        Transmitting file data .
        Committed revision 9928.

        Show
        Manfred Riem added a comment - Applied to 2.2 trunk svn commit -m "Fixes http://java.net/jira/browse/JAVASERVERFACES-2409 , allow id on h:body, r=rogerk" Sending jsf-ri\src\main\java\com\sun\faces\renderkit\html_basic\BodyRenderer.java Adding test\agnostic\renderKit\basic\src\main\webapp\hbody.xhtml Adding test\agnostic\renderKit\basic\src\test\java\com\sun\faces\test\agnostic\renderKit\basic\Issue2409IT.java Transmitting file data . Committed revision 9928.

          People

          • Assignee:
            Ed Burns
            Reporter:
            balusc
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: