Hi,

I had the same problem and solved it. I dont know , why it has to be done like that, but it works.

In the page, where the PanalNavigation is included:

<f:facet name="navigation">

    <t:div id="subnavigation_outer">

        <t:div id="subnavigation">

            <f:subview id="menu">

                <jsp:include page="/webcontent/includes/navigation.jsp"/>

            </f:subview>

        </t:div>

    </t:div>

</f:facet>

The included jsp-file, where the PanelNavigation-Tags are within:

<f:loadBundle basename="karthagoResources" var="karthagoResources"/>

<h:form>

    <t:panelNavigation2 id="nav" layout="list" itemClass="mypage" activeItemClass="selected" openItemClass="selected">

        <t:commandNavigation2 id="nav_1" value="#{karthagoResources['nav_Attributes']}">

            <t:commandNavigation2 id="nav_1_1" action="">

            <f:verbatim>&#8250; </f:verbatim>

            <t:outputText value="#{karthagoResources['nav_Create']}" />

            </t:commandNavigation2>

        <t:commandNavigation2 id="nav_1_2" action="">

            <f:verbatim>&#8250; </f:verbatim>

            <t:outputText value="#{karthagoResources['nav_Search']}" />

        </t:commandNavigation2>

</t:commandNavigation2>

...

...

Greetings


Von: j2ee Developer [mailto:[EMAIL PROTECTED]
Gesendet: Dienstag, 31. Januar 2006 01:51
An: users@myfaces.apache.org
Betreff: Style not getting reflected.

I am using panelnavigation2. The style frrom my css files are not getting reflected when I include the jsp file using panelnavigation2.
Please note that if I run the included file independently the styles are getting reflected.

also I checked the path to the stylesheet is right as it is getting resolved, its just that the panel

What might I be doing wrong?

Thanks for your help.

Reply via email to