Search:
tqExpert Help
print
|
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

tqOption Overview

tqOptions extend the power of tqTags and of templates in general.  Most of the tqOptions are available only within tqTags; you use such tqOptions to do the following:
  • Implement client-side and server-side conditional statements within the tqTag
  • Add options to the tqTag

Some tqOptions, for example if, enable you to implement client-side and server-side conditional statements at any location within an outer or inner template.

Element Description In every tqOption? Syntax
tqOption Elements
Start tqOption Initiate the tqOption Yes <tqoption
tqOption name The condition tested by the tqOption Yes type="typeName"
Parameters Optional or required parameters No param1="paramValue" param2="paramValue"
Alternative tqOption value if condition tests false Yes alternative0="falseResult">
Value if true tqOption value if condition tests true Yes {! trueResult !}0
Close tqOption Close the tqOption Yes </tqoption>

tqOption Syntax

<tqoption type="typeName" [param1="paramValue" | param2="paramValue"] alternative0="falseResult">{!
    trueResult
!}0</tqoption>

User Notes

  Add Note

Topic: tqOption Overview