michael nesterenko
michael nesterenko

Reputation: 14439

apex page scoped items

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.

Upvotes: 0

Views: 721

Answers (1)

Tony Andrews
Tony Andrews

Reputation: 132570

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?

Upvotes: 1

Related Questions