在 ADF 弹出窗口中以编程方式打开面板折叠项
在 Oracle ADF Web 应用程序中,我有一个弹出窗口,用户可以访问该弹出窗口来填写详细表单。信息条目使用仅包含两个详细项目的面板手风琴进行分解。我注意到面板手风琴会记住上次查看时显示的项目,因此如果用户取消弹出窗口并打开第二个详细信息部分,则当他们第二次访问弹出窗口时,该部分将打开。
我想强制面板手风琴在每次访问弹出窗口时显示第一个详细信息部分(当前通过单击按钮发生这种情况)。我还没有找到任何有关程序以语法方式设置显示手风琴的哪一部分的信息,或者只是将其重置为开始状态。
In an Oracle ADF web app I have a popup that users access in order to fill out a detail form. The information entry is broken up using a panelaccordion with only two detail items. Panelaccordions I have noticed remember which item was showing when they were last viewed, so if a user cancels the popup with the second detail section open that section will be open when they access the popup a second time.
I want to force the panelaccordion to be showing the first detail section each time the popup is accessed (currently this occurs with a button click). I haven't found any info on pro grammatically setting which section of the accordion is showing, or to simply reset it to it's beginning state.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
在支持 bean 中将 showDetailItem 的公开属性设置为 true - 类似于使用选项卡执行此操作的方式:
https://blogs.oracle.com/shay/entry/deciding_which_tab_to_show
set the disclosed property of the showDetailItem to true in a backing bean - similar to how you would do it with tabs:
https://blogs.oracle.com/shay/entry/deciding_which_tab_to_show