You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Patrick McCabe <pa...@gmail.com> on 2006/08/03 19:32:07 UTC

and portlets

Hi, not sure if this is the correct place to ask this question, but here
goes.

I am working on a website that uses Jetspeed portal, MyFaces and Tomcat.

I am trying to include a fragment in one of my jsp pages as follows

<f:subview id="classifiedsMenugaced">
            <jsp:include page="/view/inc/menu.jsp" flush="true"/>
 </f:subview>

The problem is that the included page does not get interpreted.  When I view
the source code, it is exactly as it is in the jsp file

Here is my included menu.jsp
            <t:dataTable
                id="affiliateCategoryList"
                value="#{ClassifiedAffiliateBean.classifiedCategoryBeanList
}"
                var="categoryBean"
                rowIndexVar="row">

                <h:column>
                    <f:facet name="header">
                        <h:outputText value="Categories" />
                    </f:facet>
                    <h:panelGroup>
                    <t:commandLink action="#{
ClassifiedListingBackingBean.viewCategory}" rendered="#{categoryBean.cc.name!=
ClassifiedListingBackingBean.categoryId}">
                        <h:outputText value="#{categoryBean.cc.name} " />
                        <t:updateActionListener property="#{
ClassifiedListingBackingBean.categoryId}" value="#{categoryBean.cc.name}" />
                        <t:updateActionListener property="#{
ClassifiedListingBackingBean.cpl}" value="#{null}" />
                    </t:commandLink>
                    <h:outputText value="#{categoryBean.cc.name}"
rendered="#{categoryBean.cc.name == ClassifiedListingBackingBean.categoryId}"
/>
                    <h:outputText value="(#{categoryBean.numListings})" />
                    </h:panelGroup>
                </h:column>
            </t:dataTable>

Does anybody have any idea as to how to get this working ?

Thanks

Pat