顶点页面范围项目
我需要在 apex 的几个页面中添加标题。它必须放置在页面上不同于 #TITLE# 区域的某个位置,因此我更改了页面模板并将 &MY_TEMPLATE 放在那里。替换字符串。在计算过程的页面上,我用数据库中的信息填充该页面项目。
但问题出现了:apex不允许页面项具有相同的名称,即使它们位于不同的页面上!
所以我需要类似页面范围的页面项之类的东西,不会影响其他页面。或者使用双替换字符串(有吗?)来构建特定页面的页面项名称 &(&APP_PAGE_ID._MY_TITLE)。或者解决这个问题的其他方法。
I need to add title to several pages in apex. It has to be placed in some place on the page different from #TITLE# region, so I have changed page template and put there &MY_TEMPLATE. substitution string. On the page in computation process I fill that page item with information from database.
But problem has appeared: apex doesn't allow to have page items with the same name even if they are on different pages!
So I need something like page scoped page item that doesn't affect other pages. Or double substitution string (are there one?) to build page item name for specific page &(&APP_PAGE_ID._MY_TITLE). Or some other workaround for this problem.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您为什么认为为此需要一个页面项,而不仅仅是像
APP_PAGE_TITLE
这样的应用程序项?由于您一次只能显示一个页面,并且将在页面加载期间填充它,因此您不需要同时“记住”其他页面的标题,不是吗?Why do you think you need a page item for this, and not just an application item like
APP_PAGE_TITLE
? Since you can only display one page at a time and you are going to populate it during page load, you don't need to "remember" the titles of other pages at the same time do you?