ADF 弹出窗口在过滤数据时消失

发布于 2025-01-15 06:17:21 字数 4357 浏览 5 评论 0原文

我一直在点击按钮时实现弹出窗口,但是当我想过滤数据时,就像突出显示的捕捉和显示一样。按 ENTER 弹出窗口消失。每个弹出窗口都会出现问题。我使用的是 12.2.1.4.0 版本的 Jdeveloper。请帮助摆脱困境 输入图片这里的描述

这是我的弹出窗口的代码:

<af:popup id="prodRol"
                    popupFetchListener="#{ProdPgBean.editPopupFetchFabIns}"
                    contentDelivery="lazyUncached">
            <af:dialog id="d4" dialogListener="#{ProdPgBean.editDialogFabInsp}"
                       title="Fill Fabric Inspection Rolls">
              <af:panelCollection id="pc15" inlineStyle="width:500px; height:470px;">
                <f:facet name="menus"/>
                <f:facet name="toolbar">
                  <af:toolbar id="t33">
                    <af:button text="Select All" id="cb38" partialSubmit="true"
                               actionListener="#{ProdPgBean.SelectAllFabricRollInsp}"/>
                    <af:button text="De Select All" id="cb37" partialSubmit="true"
                               actionListener="#{ProdPgBean.DeSelectAllFabricRollInsp}"/>
                  </af:toolbar>
                </f:facet>
                <f:facet name="statusbar"/>
                <af:table value="#{bindings.ProdFbShrnkRollVO1.collectionModel}"
                          var="row"
                          rows="#{bindings.ProdFbShrnkRollVO1.rangeSize}"
                          emptyText="#{bindings.ProdFbShrnkRollVO1.viewable ? 'No data to display.' : 'Access Denied.'}"
                          fetchSize="#{bindings.ProdFbShrnkRollVO1.rangeSize}"
                          rowBandingInterval="0"
                          filterModel="#{bindings.ProdFbShrnkRollVO1Query.queryDescriptor}"
                          queryListener="#{bindings.ProdFbShrnkRollVO1Query.processQuery}"
                          filterVisible="true" varStatus="vs"
                          selectedRowKeys="#{bindings.ProdFbShrnkRollVO1.collectionModel.selectedRow}"
                          selectionListener="#{bindings.ProdFbShrnkRollVO1.collectionModel.makeCurrent}"
                          rowSelection="single" id="t21"
                          binding="#{ProdPgBean.fabricInspRollTable}" autoHeightRows="-1" inlineStyle="height:400px;"
                          styleClass="AFStretchWidth">
                  <af:column headerText="Select "
                             id="c66" align="center" width="40">
                    <af:selectBooleanCheckbox value="#{row.bindings.SelpRol.inputValue}"
                                              label="#{row.bindings.SelpRol.label}"
                                              shortDesc="#{bindings.ProdFbShrnkRollVO1.hints.SelpRol.tooltip}"
                                              id="sbc3"/>
                  </af:column>
                  <af:column sortProperty="RollNo" filterable="true"
                             sortable="true" headerText="Roll No." id="c64"
                             align="center">
                    <af:inputText value="#{row.bindings.RollNo.inputValue}"
                                  label="#{bindings.ProdFbShrnkRollVO1.hints.RollNo.label}"
                                  required="#{bindings.ProdFbShrnkRollVO1.hints.RollNo.mandatory}"
                                  columns="#{bindings.ProdFbShrnkRollVO1.hints.RollNo.displayWidth}"
                                  maximumLength="#{bindings.ProdFbShrnkRollVO1.hints.RollNo.precision}"
                                  shortDesc="#{bindings.ProdFbShrnkRollVO1.hints.RollNo.tooltip}"
                                  id="it40">
                      <f:validator binding="#{row.bindings.RollNo.validator}"/>
                    </af:inputText>
                  </af:column>
                  <af:column headerText="Supplier Roll No"
                             id="c137" align="center" sortProperty="SuppRollNo"
                             sortable="true" filterable="true">
                    <af:outputText value="#{row.SuppRollNo}" id="ot14"/>
              
                </af:table>
              </af:panelCollection>
            </af:dialog>
          </af:popup>

I have been implementing a popup on button click, however when I want to filter the data, Like in highlighted snap & press ENTER the popup disappear. The issues is on every popup. I am using 12.2.1.4.0 version of Jdeveloper. Please help to get out of this stuck
enter image description here

Here is the code of my Popup:

<af:popup id="prodRol"
                    popupFetchListener="#{ProdPgBean.editPopupFetchFabIns}"
                    contentDelivery="lazyUncached">
            <af:dialog id="d4" dialogListener="#{ProdPgBean.editDialogFabInsp}"
                       title="Fill Fabric Inspection Rolls">
              <af:panelCollection id="pc15" inlineStyle="width:500px; height:470px;">
                <f:facet name="menus"/>
                <f:facet name="toolbar">
                  <af:toolbar id="t33">
                    <af:button text="Select All" id="cb38" partialSubmit="true"
                               actionListener="#{ProdPgBean.SelectAllFabricRollInsp}"/>
                    <af:button text="De Select All" id="cb37" partialSubmit="true"
                               actionListener="#{ProdPgBean.DeSelectAllFabricRollInsp}"/>
                  </af:toolbar>
                </f:facet>
                <f:facet name="statusbar"/>
                <af:table value="#{bindings.ProdFbShrnkRollVO1.collectionModel}"
                          var="row"
                          rows="#{bindings.ProdFbShrnkRollVO1.rangeSize}"
                          emptyText="#{bindings.ProdFbShrnkRollVO1.viewable ? 'No data to display.' : 'Access Denied.'}"
                          fetchSize="#{bindings.ProdFbShrnkRollVO1.rangeSize}"
                          rowBandingInterval="0"
                          filterModel="#{bindings.ProdFbShrnkRollVO1Query.queryDescriptor}"
                          queryListener="#{bindings.ProdFbShrnkRollVO1Query.processQuery}"
                          filterVisible="true" varStatus="vs"
                          selectedRowKeys="#{bindings.ProdFbShrnkRollVO1.collectionModel.selectedRow}"
                          selectionListener="#{bindings.ProdFbShrnkRollVO1.collectionModel.makeCurrent}"
                          rowSelection="single" id="t21"
                          binding="#{ProdPgBean.fabricInspRollTable}" autoHeightRows="-1" inlineStyle="height:400px;"
                          styleClass="AFStretchWidth">
                  <af:column headerText="Select "
                             id="c66" align="center" width="40">
                    <af:selectBooleanCheckbox value="#{row.bindings.SelpRol.inputValue}"
                                              label="#{row.bindings.SelpRol.label}"
                                              shortDesc="#{bindings.ProdFbShrnkRollVO1.hints.SelpRol.tooltip}"
                                              id="sbc3"/>
                  </af:column>
                  <af:column sortProperty="RollNo" filterable="true"
                             sortable="true" headerText="Roll No." id="c64"
                             align="center">
                    <af:inputText value="#{row.bindings.RollNo.inputValue}"
                                  label="#{bindings.ProdFbShrnkRollVO1.hints.RollNo.label}"
                                  required="#{bindings.ProdFbShrnkRollVO1.hints.RollNo.mandatory}"
                                  columns="#{bindings.ProdFbShrnkRollVO1.hints.RollNo.displayWidth}"
                                  maximumLength="#{bindings.ProdFbShrnkRollVO1.hints.RollNo.precision}"
                                  shortDesc="#{bindings.ProdFbShrnkRollVO1.hints.RollNo.tooltip}"
                                  id="it40">
                      <f:validator binding="#{row.bindings.RollNo.validator}"/>
                    </af:inputText>
                  </af:column>
                  <af:column headerText="Supplier Roll No"
                             id="c137" align="center" sortProperty="SuppRollNo"
                             sortable="true" filterable="true">
                    <af:outputText value="#{row.SuppRollNo}" id="ot14"/>
              
                </af:table>
              </af:panelCollection>
            </af:dialog>
          </af:popup>

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

怪异←思 2025-01-22 06:17:21

将 af:popup 的 autoCancel 属性设置为禁用。这应该可以防止弹出窗口自动关闭。

根据您的描述,尚不清楚弹出窗口何时应关闭。

set the autoCancel property of the af:popup to disabled. This should prevent the popoup closes automatically.

From your description, it's not clear when the popup should close.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文