开发者

apex page scoped items

开发者 https://www.devze.com 2023-03-18 18:00 出处:网络
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

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 ite开发者_Python百科m 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.


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?

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号