4.15 STRING

The template refers to values in the String table by using the STRING keyword followed by the name whose value is desired. The value will replace the STRING keyword.

#strings_sp.properties
btnYes=Si
btnNo=No

{! Confirm.inc }
{STRINGTABLE strings}
<FORM Method=put Action="...">
    <INPUT Type="submit" Name="Yes" Value="{STRING btnYes}">
    <INPUT Type="submit" Name="No" Value="{STRING btnNo}">
</FORM>

This example would generate the following HTML text:

<FORM Method=put Action="...">
    <INPUT Type="submit" Name="Yes" Value="Si">
    <INPUT Type="submit" Name="No" Value="No">
</FORM>