Draw a SWT group to hold other components
<group name="" label="" checkbox="someCheckBoxComponent" > ... other GUI components here! </group>
Let you choose a package, folder, or source folder
<container name="actionPackage" label="Package:" required="true" type="package/folder/source" value="#webwork.action.package" />
Draw a textfield
<textfield name="" label="" required="true/false" extension="" radio="someRadioComponent" />
Draw a checkbox. Useful to get boolean values (true/false)
<checkbox name="createValidation" label="Create the Action-validation.xml ?" value="false" />
Draw a Radio
<combo name="radio" label="View:" value="FreeMarker"> <elements> <option value="freemarker">FreeMarker</option> <option value="velocity">Velocity</option> <option value="dispatcher">JSP</option> <option value="xslt">XSLT</option> </elements> </combo>
Draw a combo
<combo name="reportType" label="Type:" required="true" value="PDF" > <elements> <option>PDF</option> <option>HTML</option> <option>CSV</option> <option>XLS</option> <option>XML</option> </elements> </combo>
Open the Java Browser to find some java class. Useful to put POJO´s in the velocity context!
<type name="extends" label="Extends: " value="#webwork.action.extends" radio="someRadioComponent"/>
Let you browse a file
<file name="hibernate.cfg.xml" label="hibernate.cfg.xml" type="folder" extensions="xml" value="#hibernate.cfg.xml"/>