dWebSpec Dictionary
CONTEXT: descriptors->element->visible




All Details Standard Only Platform Only
Structured Web info and helpTechnologies
 Home Page
 Product Page
 Download Page
 Feedback
Javascript Tree Menu

Results for:

 element.visible 
Prev  Topic  Next

Entries involve expression that returns true, false within braces, or a behavior id.

Component based framework would implement element that know how to render themselves. As such, the visible attribute involving an expression or behaviors that would be ascribed to their render attribute.

 Struts 1.x  

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.

Prev Next