...
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
<edit:config id="custom.edit"> <entity>graffiti</entity> <label>Grafitti</label> <description>Report graffiti for removal</description> <geometry> <point minimum="1" maximum="1"/> </geometry> <parameter id="id"> <hidden>true</hidden> <column>ID</column> <value>nextval()</value> </parameter> <parameter id="description"> <label>Description</label> <controlType>text-area</controlType> <column>DESCRIPTION</column> </parameter> <parameter id="status"> <label>Status</label> <controlType>list-box</controlType> <column>STATUS</column> <defaultValue>N</defaultValue> <list value="N" label="New"/> <list value="V" label="Verified"/> <list value="S" label="Scheduled"/> <list value="R" label="Removed"/> </parameter> <parameter id="reporter"> <label>Reporter</label> <controlType>list-box</controlType> <dataSet>staff</dataSet> <allowNewValues>true</allowNewValues> <column>REPORTEDBY</column> </parameter> </edit:config> |
...
Check Boxes and Radio Buttons
...
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
<edit:config id="custom.edit">
<entity>graffiti</entity>
<label>Grafitti</label>
<description>Report graffiti for removal</description>
<geometry>
<point minimum="1" maximum="1"/>
</geometry>
<parameter id="id">
<hidden>true</hidden>
<column>ID</column>
<value>nextval()</value>
</parameter>
<parameter id="checkbox">
<label>Check Box</label>
<controlType>checkbox</controlType>
<column>CHECKBOX</column>
<trueValue>Y</trueValue>
<falseValue xsi:nil="true"/>
</parameter>
<parameter id="radiobutton">
<label>Radio Button</label>
<controlType>radiobutton</controlType>
<column>RADIOBUTTON</column>
<defaultValue>value2</defaultValue>
<list>
<label>Label 1</label>
<value>value1</value>
</list>
<list>
<label>Label 2</label>
<value>value2</value>
</list>
<list>
<label>Label 3</label>
<value>value3</value>
</list>
</parameter>
</edit:config>
|
Writing to other tables
Note |
---|
Currently only writing new records to a separate database table is supported, that is you can not currently update an existing record in an external database table. |
...