egroupware/etemplate/js/test/et2_test_basic_widgets.xet

42 lines
1.9 KiB
XML

<?xml version="1.0"?>
<overlay>
<!-- Test without template -->
<vbox>
<description value="This is a label" id="label_value"/>
<textbox label="This is a text" id="text_value" blur="Textbox"/>
<textbox label="This is required text" id="text_value" required="true"/>
<int label="This is an integer" id="integer_value" min="5" blur="Min 5"/>
<textbox type="float" label="This is a float" id="float_value"/>
<textbox multiline="true" label="This is a text area" id="text_area_value" rows="3" cols="3"/>
<checkbox label="Checkbox %s here" id="checkbox_value"/>
<radio label="Radio" id="radio_value"/>
<buttononly label="Button" id="button_value"/>
<hrule label="HR"/>
<image label="Image" src="edit"/>
<menulist>
<menupopup label="Selectbox" id="selectbox_value" options="No value">
<option value="1">Test 1</option>
<option value="2">Test 2</option>
<option value="3">Test 3</option>
<option value="4">Test 4</option>
<option value="5">Test 5</option>
<option value="6">Test 6</option>
</menupopup>
</menulist>
<listbox label="Multiselect" id="multiselect" rows="5">
<option value="1">Test 1</option>
<option value="2">Test 2</option>
<option value="3">Test 3</option>
<option value="4">Test 4</option>
<option value="5">Test 5</option>
<option value="6" statustext="This is the sixth option">Test 6</option>
</listbox>
<progress id="progress" href="http://www.egroupware.org/" extra_link_target="_blank" />
<image label="Image" src="/egroupware/phpgwapi/templates/default/images/logo.png" href="http://www.egroupware.org/" extra_link_target="_blank" />
<description value="www.egroupware.org" href="http://www.egroupware.org/" extra_link_target="_blank" />
<box id="namespace">
<textbox label="namespace[test]" id="test" onchange="alert(form::name('test')+'='+this.value)"/>
</box>
</vbox>
</overlay>