4 Replies Latest reply on Aug 18, 2007 4:30 PM by Adam Warski

    rich:simpleTogglePanel produces myfaces warnings

    Adam Warski Master

      Hello,

      I'm trying to use rich:simpleTogglePanel using the code from the demo(http://livedemo.exadel.com/richfaces-demo/richfaces/simpleTogglePanel.jsf),
      and now have the following code:

      <html>
       <body>
       <f:view>
       <div class="sample-container" >
       <h:form>
       <h:panelGrid columns="1" columnClasses="tpanels" width="100%">
       <rich:simpleTogglePanel switchType="client" label="Client Switch Type">
       <h:outputText>CLIENT</h:outputText>
       </rich:simpleTogglePanel>
       </h:panelGrid>
       </h:form>
       </div>
       </f:view>
       </body>
      </html>
      


      This, however, produces the following warning:
      12:18:32,636 WARN [UIComponentBodyTagBase] Component with id '_idJsp4:_idJsp7' (org.apache.myfaces.taglib.html.HtmlPanelGroupTag tag) and path : {Component-Path : [Class: org.ajax4jsf.framework.ajax.AjaxViewRoot,ViewId: /pages/admin.jsp][Class: javax.faces.component.html.HtmlForm,Id: _idJsp4][Class: javax.faces.component.html.HtmlPanelGrid,Id: _idJsp5][Class: org.richfaces.component.html.HtmlSimpleTogglePanel,Id: _idJsp6][Class: javax.faces.component.html.HtmlPanelGroup,Id: _idJsp7]}renders it's children, but has embedded JSP or HTML code. Use the <f:verbatim> tag for nested HTML. For comments use <%/* */%> style JSP comments instead of <!-- --> style HTML comments.
       BodyContent:
      CLIENT
      


      I'm using the latest RichFaces and Ajax4JSF (3.0.1) and JBoss AS 4.0.5 (which has MyFaces 1.1.4).

      Any ideas where the problem comes from?

      --
      Adam