Board index JavaServer Faces General layoutUnit collapsible doesn't work

layoutUnit collapsible doesn't work

Components, Ajax Framework, Utilities and More.

Posts: 3
Location: Belgrade, Serbia
Hi, I'm using primefaces 2.2, tomcat 7 and Eclipse helios

I'm trying to make template with layout units(top, bottom, left and center) and change just center part of that template on my pages, also I need my left part is collapsible but it doesn't work when I make pages like composition pages based on this template (scroll works fine). Here is the code, hope it's going to be clear what I want :D

Code from template:
<ui:insert name="left">   
         <p:layoutUnit position="left" width="200" 
            resizable="false" closable="false" collapsible="true" scrollable="true">
            <h:form >
               <p:submenu label="Game data">
                  <p:menuitem value="Game data all" url="#"/>
                  <p:menuitem value="Achievements" url="#"/>
                  <p:menuitem value="Items" url="#"/>
         </p:layoutUnit >

Code in page using template:
<ui:composition template="/templates/layout.xhtml">

Am I doing something wrong?
Primefaces 2.2.1, JSF 2.0, TomCat 7.0

Return to General