gpt4 book ai didi

java - 尝试在 jsff 片段中显示表时访问被拒绝?

转载 作者:行者123 更新时间:2023-12-01 23:01:55 25 4
gpt4 key购买 nike

现在我开始使用 f:subview 将各个部分拆分为 jsp 片段

<af:gridRow marginTop="5px" height="auto" id="gr74">
<af:gridCell marginStart="5px" width="100%" id="gc73" halign="stretch" columnSpan="5">
<af:spacer id="sp19" height="10px"/>
<af:declarativeComponent id="sp28" viewId="/pages/search/searchResult.jsff"/>
</af:gridCell>
</af:gridRow>

新的 jsff 片段(本例中为 frontStoreSupport.jsff)有自己的 frontStoreSupportPageDef.xml,其中包含我在页面中使用的绑定(bind)条目。

我的问题是此页面上的 ADF 只读表收到“访问被拒绝”的消息。内容应该去哪里,尽管事实上它们工作得很好在原始页面中。

我已进入“应用程序”>“安全性”>“资源授予”,并向我的应用程序角色添加了 View ,就像在第一页中设置的一样。

如果有任何提示,我们将不胜感激

最佳答案

我自己得到了答案。轻松戒烟

只需复制表片段 pageDefinition 中生成的绑定(bind)数据并将其粘贴到 ma​​in jsf 页面中,在该页面中将片段作为 declarativeComponent 包含进来强>

关于java - 尝试在 jsff 片段中显示表时访问被拒绝?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23290913/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com