LayoutPane: Problem with styleClassContent

Community Driven Extensions Project
Post Reply
RueKow
Posts: 331
Joined: 21 Jun 2011, 23:34
Location: Germany - Wiesbaden

30 Oct 2012, 12:55

I want to place an image as background of centered pane and I figured out a strange behavior of LayoutPane. When using a facet styleClassContent attribute is working fine. But without facet this attribute will be ignored.

Code: Select all

<pe:layout stateCookie="true" widgetVar="crmLayout" options="#{layoutController.layoutOptions}">
    <pe:layoutPane position="north" >
        ...
    </pe:layoutPane>
    <pe:layoutPane id="lpCenter" position="center" styleClassContent="soka">
        <f:facet name="header">
            <h:outputText value="Arbeitsbereich" />
        </f:facet>
        ...
    </pe:layoutPane>
    <pe:layoutPane position="west">
        ...
    </pe:layoutPane>
    <pe:layoutPane position="south">
        ...
    </pe:layoutPane>
</pe:layout>

Code: Select all

.soka {
    background: url(../resources/bilder/soka_eingang.jpg) no-repeat;
}
Rüdiger

PrimeFaces 7.0 | Ultima 2.0
Mojarra 2.3 | Tomcat 8/9 | Win7/10 | OS X 10.14

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

30 Oct 2012, 16:18

This issue was fixed in the 0.6.2 (current SNAPSHOT) http://code.google.com/p/primefaces-ext ... ail?id=284 We will release in late November.
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

RueKow
Posts: 331
Joined: 21 Jun 2011, 23:34
Location: Germany - Wiesbaden

30 Oct 2012, 16:49

Ok, thanks for info!
Rüdiger

PrimeFaces 7.0 | Ultima 2.0
Mojarra 2.3 | Tomcat 8/9 | Win7/10 | OS X 10.14

RueKow
Posts: 331
Joined: 21 Jun 2011, 23:34
Location: Germany - Wiesbaden

30 Oct 2012, 21:08

Is it possible to get a "primefaces-extensions-0.6.2-snapshot.jar".
Rüdiger

PrimeFaces 7.0 | Ultima 2.0
Mojarra 2.3 | Tomcat 8/9 | Win7/10 | OS X 10.14

Post Reply

Return to “Extensions”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 3 guests