簡體   English   中英

<rich:popupPanel buttons not working in JSF Project

[英]<rich:popupPanel buttons not working in JSF Project

在我的JSF + Spring項目中,我嘗試添加表單並從彈出窗口中獲取值。但是當單擊按鈕時,沒有調試點進入相關控制器並且功能也無法正常工作。 這里顯示我的.xhtml文件

請參考並建議我解決此問題

謝謝大家...

    <h:outputLink value="#" id="ll">
        <rich:componentControl event="click" operation="show" target="lp">
            <a4j:param name="event" value="event" noEscape="true" />
            <rich:hashParam>
                <a4j:param noEscape="true" name="top" value="200" />
                <a4j:param noEscape="true" name="left" value="200" />
            </rich:hashParam>
        </rich:componentControl>
        Tag SAM
    </h:outputLink>
        <rich:popupPanel id="lp" modal="false" height="300" width="500" autosized="false" resizeable="true">

        <f:facet name="header">
            <h:outputText value="SAM Selector" />
        </f:facet>

                <a4j:commandButton value="Load SAM" action="#{pOSController.loadSamPosTagging()}" render=" #{rich:clientId('dataTableSamView')}" />
                <a4j:commandButton value="Save Tagging" action="#{pOSController.saveSamPosTagging()}" render=" #{rich:clientId('dataTableSamView')}" />

                <rich:dataTable style="width:80%;" rows="10" value="#{pOSController.selectedSamBeans}" var="samView" id="dataTableSamView">

                    <rich:column style="height:25px;">
                        <f:facet name="header" />
                        <h:selectBooleanCheckbox value="#{samView.selected}">
                            <f:selectItem itemValue="true" itemLabel="" />
                            <a4j:ajax immediate="true" execute="@this" />
                        </h:selectBooleanCheckbox>
                    </rich:column>

                    <rich:column>
                        <f:facet name="header">SAM UID</f:facet>
                        <h:outputText value="#{samView.samUid}" />
                    </rich:column>

                    <rich:column>
                        <f:facet name="header">SAM DID</f:facet>
                        <h:outputText value="#{samView.samDid}" />
                    </rich:column>

                    <rich:column>
                        <f:facet name="header">Expire Date</f:facet>
                        <h:outputText value="#{samView.expireDate}" />
                    </rich:column>

                    <rich:column>
                        <f:facet name="header">Status</f:facet>
                        <h:outputText value="#{samView.status}" />
                    </rich:column>
                </rich:dataTable>
            <h:outputLink onclick="#{rich:component('lp')}.hide(event); return false;" value="#">SAM Tag</h:outputLink>
        </rich:popupPanel>
        <!--    ###################################################### Custom POPUP_PANEL ################################################################   -->                     
        </rich:column>              
    </rich:dataTable>   

請參考此鏈接,我在github GITHUB鏈接中添加了代碼-單擊此處

@VasilLukach

謝謝親愛的friend.issue與我的父頁面的數據表

現在我添加了與他們分開的彈出窗口

現在它的工作了

謝謝大家

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM