Elements Definitions > properties types

Popup button

This displays a standard popup button which lets the author choose between a set of values.

<prop id="code" type="popup">
 <caption>Code type : </caption>
 <item id="shell">Shell</item>
 <item id="php">PHP</item>
 <item id="smarty">Smarty</item>
 <item id="xml">XML</item>
</prop>

Checkbox

Displays a checkbox. Possible values : true or false.

<prop id="is_important" type="checkbox">
 <caption>Is important :</caption>
</prop>

Text input

Displays a text input.

<prop id="comment" type="textInput">
 <caption>Comment : </caption>
</prop>

Stepper

Displays a stepper which lets the author pick a value in a range of integers.

<prop id="wmax" type="stepper" min="10" max="560" default="500">
 <caption>Max image width : </caption>
</prop>

File

Displays a file name. The author can pick a file with a file chooser that lets him browse the repositories.

When he is done, the file path is displayed as : repository_name:file_path.

<prop id="flashFile" type="file">
 <caption>Flash file : </caption>
</prop>

Link

Lets the author assign a link to an element with the standard link picker.

Currently, an element cannot have more than one link property.

<prop id="link" type="link">
 <caption>link :</caption>
</prop>

Image popup

This is a special property to be used with the image group or image elements.

It displays a graphical popup button with images representing possible layouts.

You cannot change the images, but of course, you can define what items are made available to the author, according to the site's design guidelines.

<prop id="defaultImageCaption" type="imagepopup">
 <caption>Type : </caption>
 <item id="1" img="img_type1_icn">Caption on bottom</item>
 <item id="2" img="img_type2_icn">Caption on top</item>
 <item id="3" img="img_type3_icn">Caption on the right</item>
 <item id="4" img="img_type4_icn">Caption on the left</item>
 <item id="5" img="img_type5_icn">Flowing caption</item>
</prop>