layoutPane not using the Id.

Community Driven Extensions Project
Post Reply
bornsilly
Posts: 27
Joined: 19 Mar 2010, 15:41
Location: Netherlands

23 Sep 2012, 16:57

Hi,

I could be wrong but form what i see when you specify a id in a layoutPane then this id is not used in the generated HTML.

I have for example:

Code: Select all

           	<pe:layoutPane position="west" size="'280'" id="main-west-layout">  
                	<f:facet name="header">  
                    	<h:outputText value="West"/>  
                	</f:facet>  
            	</pe:layoutPane>  
            	<pe:layoutPane position="center">  
                	<f:facet name="header">  
                    	<h:outputText value="Center-Center"/>  
                	</f:facet>  
            	</pe:layoutPane>
But when i look in the code using firebug i cannot find back the main-west-layout so it seems that this is not rendered or am i doing something wrong?
PrimeFaces 3.3.4, Primefaces-extensions 0.6.0, JBoss 7.1, Mojarra 2.1.10

User avatar
Oleg
Expert Member
Posts: 3803
Joined: 02 Oct 2009, 09:41
Location: Germany, Black Forest

24 Sep 2012, 16:34

Why do you need an ID of a LayoutPane by the way? You can use (nested) selectors ".ui-layout-north", etc. E.g. "#myLayoutId .ui-layout-center > .ui-layout-west".

Anyway, in PF Ext. 0.6.0 LayoutPane got a renderer and renders ID.
PrimeFaces Cookbook (2. edition): http://ova2.github.io/primefaces-cookbook/ Learning Angular UI Development with PrimeNG: https://github.com/ova2/angular-develop ... th-primeng Blog: https://medium.com/@OlegVaraksin

bornsilly
Posts: 27
Joined: 19 Mar 2010, 15:41
Location: Netherlands

24 Sep 2012, 18:21

Hi Oleg,

I was missing this functionality because I am using a nested layout with multiple centers which i need to customize. A id would have made it easier to address the right center.

Regarding the new version, is there any estimate when this version will be released?
PrimeFaces 3.3.4, Primefaces-extensions 0.6.0, JBoss 7.1, Mojarra 2.1.10

Post Reply

Return to “Extensions”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 5 guests