Application Express User's Guide > Application Builder Concepts > Using Substitution Strings
Using Substitution Strings |
Previous |
Next |
You can use substitution strings within a page template or region source to replace a character string with another value. As you design your application and enable users to edit items, you will need to use substitution strings in order to pass information.
You can use substitution strings in Application Builder in the following ways.
Include a substitution string within a template
Reference page or application items using &ITEM.
syntax
Use built-in substitution strings to achieve a specific type of functionality
Substitution strings used within a template are delimited by the number symbol (#). For example:
#ABC#
To reference page or application items using substitution variables:
Precede the item name with an ampersand (&).
Append a period (.) to the item name.
For example, you would refer to an application item named F101_X
in an HTML region, a region title, an item label, or in any of numerous other contexts as:
&F101_X.
Notice the required trailing period. When the page is rendered, Application Express engine replaces value the substitution string with the value of item F101_X
.