|
Struts is
not component based, and there are no such rendering expressions. The
implication on this platform is whether a tag is included in the character
stream or not.
A behavior
specification attached to an element, is simply implemented by enclosing the
element with a segment, and applying the behavior to that segment.
Example is
shown below:
<logic:equal name=payment value=debit>
<html:input name="pin"/>
</logic:equal>
Which means,
depending on the logical expression, the element would either be included
(shown) or excluded.
For more on
this, refer to the visibility attribute of the segment descriptor.
|