Page 1 of 1

LayoutPane: Problem with styleClassContent

Posted: 30 Oct 2012, 12:55
by RueKow
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;
}

Re: LayoutPane: Problem with styleClassContent

Posted: 30 Oct 2012, 16:18
by Oleg
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.

Re: LayoutPane: Problem with styleClassContent

Posted: 30 Oct 2012, 16:49
by RueKow
Ok, thanks for info!

Re: LayoutPane: Problem with styleClassContent

Posted: 30 Oct 2012, 21:08
by RueKow
Is it possible to get a "primefaces-extensions-0.6.2-snapshot.jar".