3 Replies Latest reply on Apr 3, 2007 8:08 AM by Ilya Shaikovsky

    SimpleTogglePanel and   

    Eugene Batogov Newbie

      Hello !
      I am trying use SimpleTogglePanel component.
      It work OK, except that in header appear  .
      If I type in header: "Users", on runtime in browser transform to "User  ".
      What I do wrong ?

        • 1. Re: SimpleTogglePanel and   
          Ilya Shaikovsky Master

          Did you get it unprocessed right in your browser window? Pretty strange. Describe please your environment. And provide your page for examination.

          • 2. Re: SimpleTogglePanel and
            Eugene Batogov Newbie

            My config:
            JSF: jsf-1.2_04-b10-p01
            SEAM: 1.2.1.GA
            JBoss: 4.0.5.GA
            RichFaces: 3.0.1-20070401
            OS: Gentoo Linux (AMD64)
            VM: BEA JRockIt 6.0 and Sun JVM 6.0
            Browser: Mozilla Firefox & Opera 9.10
            This is my page:

            <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
            <html xmlns="http://www.w3.org/1999/xhtml"
             <h:panelGrid columns="1" columnClasses="tpanels" width="400">
             <rich:simpleTogglePanel switchType="client" label="Users ">
             <rich:datascroller for="userListTable" maxPages="20" />
             <rich:spacer height="30" />
             <rich:dataTable id="userListTable" width="100%" rows="5" value="#{userList}" var="item">
             <f:facet name="header">
             <h:outputText value="Number" />
             <h:outputText value="Name" />
             <h:outputText value="Surname" />
             <h:outputText value="#{item.id}" />
             <h:outputText value="#{item.firstName}" />
             <h:outputText value="#{item.lastName}" />
             <rich:spacer height="20" />
             <h:commandButton value="View users" action="#{userManager.loadUsers}"/>

            Help me...

            • 3. Re: SimpleTogglePanel and   
              Ilya Shaikovsky Master

              Unfortunatelly still can't reproduce your case. Attach please generated html code. Or you may send the simple case for me directly if present.