p:commandLink里面的p:accordionPanel在IE中工作,但在FF / Chrome中不起作用

时间:2013-04-05 12:02:49

标签: jsf jsf-2 primefaces commandlink

我有以下观点:

<ui:composition template="/templates/cmsLayout.xhtml">
    <ui:define name="rightPane">
        <div class="rightPane_header">
            <p:tabMenu activeIndex="0">
                <p:menuitem value="Home" url="/userHome.faces" />
                ...
            </p:tabMenu>
        </div >
        <div class="rightPaneData"> 
            <h:form>
                <p:growl id="growl"/>

                <p:accordionPanel activeIndex="0" dynamic="false" cache="false">
                    <p:tab title="My Document">
                        <f:event type="preRenderComponent" listener="#{documentController.getMyDocumentsForHome()}" />
                        <p:dataTable id="homeMyDocTable" var="myDocument" value="#{documentController.myDocuments}" rowKey="#{myDocument.docId}"
                            selection="#{documentController.selectedDocument}" selectionMode="single">
                            <p:ajax event="rowSelect" listener="#{documentController.viewDocumentDetailPage}" />
                            <p:column headerText="Document Number" id="homeMyDocNumber" styleClass="FixedcolumnWidth">
                                <h:outputText value="#{myDocument.docId}" />
                            </p:column>
                            ...
                        </p:dataTable>
                        <p:commandLink value="More.." rendered="#{documentController.myDocMoreStatus}" action="#{documentController.viewMyDocumentPage}" />
                    </p:tab>
                </p:accordionPanel>
            </h:form>
        </div>
    </ui:define>
</ui:composition>

<p:commandLink>的值为&#34;更多..&#34;在IE中工作正常,但在FF / Chrome中没有。这是怎么造成的,我该如何解决?

0 个答案:

没有答案