0 Replies Latest reply on Jul 11, 2007 8:09 AM by Andrew Dale

    Newbie: rich:panel help needed

    Andrew Dale Newbie

      Hi,
      I want to get a simple panel to work as outlined on the following page:

      http://livedemo.exadel.com/richfaces-demo/

      I followed the instructions for the panel, the code looks like so:

      <div id="test">
       <rich:panel bodyClass="inpanelBody">
       <f:facet name="header">
       <h:outputText value="Test RichFaces Panel"/>
       </f:facet>
       <f:verbatim>
       Test Text
       </f:verbatim>
       </rich:panel>
       </div>


      But the onlt rhing displayed on the page is the text "Test Text". But when i attempt to use an embedded panel it works (it does not look like the embedded example though, rather the noremal example listed above), see below for code:

      <div id="test">
       <rich:panel bodyClass="inpanelBody">
       <h:panelGrid columns="1" columnClasses="gridContent">
       <rich:panel bodyClass="inpanelBody">
       <f:facet name="header">
       <h:outputText value="Test RichFaces Panel"/>
       </f:facet>
       <f:verbatim>
       Test Text
       </f:verbatim>
       </rich:panel>
       </h:panelGrid>
       </rich:panel>
       </div>


      Can any one tell me where i have gone wrong ??

      Cheers,

      Andy