<SPAN>
Return to Reference...| Property | Description | Default |
|---|---|---|
| condition | A method is called and its return value is evaluated as a boolean. If the value is true, then the content inside of the tag is displayed. | {oid} : names the method/accessor to check the value of. |
This tag provides the designer with a way to conditionally choose whether or not to display a piece of content inside of the template. It is functionally identical to <IF>, and because of a potential for confusion between this variety of <SPAN> and the regular HTML <SPAN>, the use of <IF> is prefered.
Typical Usage:
<span oid="has_error?"><p>The query generated an unexpected error message. Please inform your application administrator. The error that occured follows.</p> <pre>@error_string</pre></span>
Usage Via A Binding:
<span oid="query_error?"><p>The query generated an unexpected error message. Please inform your application administrator. The error that occured follows.</p> <pre>@error_string</pre></span>
query_error? {
condition = has_error?
}
Return to Reference...


