MyFaces Core
  1. MyFaces Core
  2. MYFACES-2630

HtmlBody 'onload' attribute encoding issues

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0-beta-3
    • Fix Version/s: 2.0.0
    • Component/s: None
    • Labels:
      None

      Description

      when using <h:body onload="alert('onload');" ></h:body> will display <body onload="alert('onload');" onload="alert('onload');" > </body>.

      its seems that org.apache.myfaces.shared_impl.renderkit.html.HTML.ONUNLOAD_ATTR == 'onload' makes this issue.

        Activity

        Hide
        Jakob Korherr added a comment -

        You were right, Mark! This caused the problem. Thanks!

        Show
        Jakob Korherr added a comment - You were right, Mark! This caused the problem. Thanks!

          People

          • Assignee:
            Jakob Korherr
            Reporter:
            Mark Li
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - 1h
              1h
              Remaining:
              Remaining Estimate - 1h
              1h
              Logged:
              Time Spent - Not Specified
              Not Specified

                Development