ADF 弹出窗口在过滤数据时消失
我一直在点击按钮时实现弹出窗口,但是当我想过滤数据时,就像突出显示的捕捉和显示一样。按 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
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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
将 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.