ICEfaces
  1. ICEfaces
  2. ICE-597

Noisy ice:outputDeclaration error messages with Facelets

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.5
    • Fix Version/s: 1.6.1
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      Operating System: All
      Platform: All

      Description

      If I put an ice:outputDeclaration tag in a Facelets page, then JBoss give some
      errors:

      <f:view xmlns:h="http://java.sun.com/jsf/html"
              xmlns:f="http://java.sun.com/jsf/core"
              xmlns:txt="http://www.icesoft.com/icefaces/functions"
              xmlns:ice="http://www.icesoft.com/icefaces/component">
      <ice:outputDeclaration doctypeRoot="HTML"
                             doctypePublic="-//W3C//DTD HTML 4.01 Transitional//EN"
                             doctypeSystem="http://www.w3.org/TR/html4/loose.dtd"/>
      ...
      </f:view>


      12:57:28,359 ERROR [STDERR] 13-Jun-2006 12:57:28 PM
      com.sun.facelets.tag.jsf.ComponentRule warnAttr
      WARNING: /test.xhtml @8,78 doctypeSystem="http://www.w3.org/TR/html4/loose.dtd"
      Property 'doctypeSystem' is not on type: javax.faces.component.UI
      Output
      12:57:28,359 ERROR [STDERR] 13-Jun-2006 12:57:28 PM
      com.sun.facelets.tag.jsf.ComponentRule warnAttr
      WARNING: /test.xhtml @8,78 doctypeRoot="HTML" Property 'doctypeRoot' is not on
      type: javax.faces.component.UIOutput
      12:57:28,359 ERROR [STDERR] 13-Jun-2006 12:57:28 PM
      com.sun.facelets.tag.jsf.ComponentRule warnAttr
      WARNING: /test.xhtml @8,78 doctypePublic="-//W3C//DTD HTML 4.01
      Transitional//EN" Property 'doctypePublic' is not on type: javax.faces.component.
      UIOutput
      12:57:28,453 INFO [STDOUT] DOMResponseWriter.writeDOM() viewNumber: 1001,
      session: org.apache.catalina.session.StandardSessionFacade@562534, no
      deWriter: null

        Issue Links

          Activity

          Hide
          Ken Fyten added a comment -

          Mark,

          Can you take a look at why this is happening as a background task?

          We can write this up as a known issue for v1.0.1 if it isn't resolved by then.

          Target v1.0.1, lower priority.

          Show
          Ken Fyten added a comment - Mark, Can you take a look at why this is happening as a background task? We can write this up as a known issue for v1.0.1 if it isn't resolved by then. Target v1.0.1, lower priority.
          Hide
          Mark Collette added a comment -

          Fixing this would involve adding a bunch of property management code, for the
          three properties, to OutputConnection, which would increase the state saving
          overhead. Given that it works, but makes a warning message, I don't know if
          this should be changed, or just documented.

          Show
          Mark Collette added a comment - Fixing this would involve adding a bunch of property management code, for the three properties, to OutputConnection, which would increase the state saving overhead. Given that it works, but makes a warning message, I don't know if this should be changed, or just documented.
          Hide
          Mark Collette added a comment -

          If we have time, it'd be nice to fix this.

          Show
          Mark Collette added a comment - If we have time, it'd be nice to fix this.
          Hide
          Ken Fyten added a comment -

          Verified fixed in 1.6.1.

          Show
          Ken Fyten added a comment - Verified fixed in 1.6.1.

            People

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

              Dates

              • Created:
                Updated:
                Resolved: