layoutUnit collapsible doesn't work

Components, Ajax Framework, Utilities and More.
Post Reply
Posts: 3
Joined: 12 Jul 2011, 22:28
Location: Belgrade, Serbia

13 Jul 2011, 12:55

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:

Code: Select all

<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:

Code: Select all

<ui:composition template="/templates/layout.xhtml">
Am I doing something wrong?
Primefaces 2.2.1, JSF 2.0, TomCat 7.0

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 16 guests