Property "Display If" <dispif>

Top  Previous  Next

"Display If" Property is used to define a display precondition for an Element. The XSL expression defined in this property is evaluated at run time and if result is true then the element takes place in the HTML output.

If the width or the height of the element is equal to its parent then the space of the element is also eliminated.

Examle:

The text elements with color pink have a condition which will not be satisfied.

dispif  

Since the widths of the elements in the left block are equal to their parents the elements and the spaces they occupy will be completely eliminated whereas the space the elements in the right block occupy is kept. See the result below.

dispif_result

 

Used In Elements

Panel

Text

Rich Text

Image

Action

Condition Panel

Form

Edit Box

Edit Area

Check Box

Radio Button

Combo Box

List Box

Button

File Box