Main
The Road Behind
VenezuelaTrinidad Curacao Galapagos Ecuador Peru Bolivia Paraguay Argentina Chile Hong Kong Thailand North Thailand South Malaysia Cambodia Singapore Nepal Kathmandu Royal Trek Nepal Trek India India Palace Udaipur Bangalore Greece Islands Rhodes Camping Olympia Turkey Istanbul Bath Bursa Cappadocia Bodrum South Africa Garden Route Cape Town Namibia Fish River Etosha Botswana Zimbabwe Wedding Great Ruins Germany Bathroom Netherlands Spain Madrid Seville Granada Gibraltar Morocco Portugal Sintra France Normandy Egypt Pyramids Nile Aswan Abusimbel Luxor Valley of Kings Alexandria Red Sea Jordan Kings Valley Aman Palestine The Road Ahead
IsrealCzech Republic Austria Italy Switzerland England Find pages Unused pages Undefined pages Page Index
Set your name in
UserPreferences
Referenced by
JSPWiki v2.2.33
|
The BugReportHandler is a sample WikiForms handler which can be used to generate bug reports. This handler creates a new page based on the parameters passed to it. The page contents consist of one table, filled with all parameters given, and then finally the "description" parameter. Parameters
The following parameters are optional.
ExampleThe following creates a bug report form. Notice how the submit button value of "x" is mapped to an empty string in the "map" parameter, which makes the BugReportHandler ignore the field completely.
[{FormSet form='reportform' status='NewBug' title=''
map='container=Servlet Container;java_version=Java version;pageprovider=[PageProvider] used;criticality=[Bug criticality];x;status=[Bug status];browser_version=Browser version;url=URL;os=Operating System'}]
[{FormOutput form='reportform' handler='BugReportHandler' populate='handler'}]
[{FormOpen form='reportform'}]
|Title of the bug:| [{FormInput type='text' name='title' size=80}]\\''Mandatory. Please try to be brief, use a whole sentence of ten words or less.''
|JSPWiki version: |[{FormInput type='text' name='version'}]
|Servlet container: |[{FormInput type='text' name='container' size=40}]
|Java version: |[{FormInput type='text' name='java_version'}]
|Browser used: |[{FormInput type='text' name='browser_version'}]
|Operating system: |[{FormInput type='text' name='os'}]
|URL that shows the bug: |[{FormInput type='text' name='url' size=60}]\\''or type in a JSPWiki page name''
|Page Provider: |[{FormInput type='text' name='pageprovider' size=40}]
|Criticality: |[{FormSelect name='criticality' value='EnhancementRequest;CosmeticBug;*LightBug;MediumBug;BadBug;CriticalBug;FatalBug'}]
Please enter a freeform description here (in WikiMarkup!):\\
[{FormTextarea name='description' rows=25 cols=80}]
[{FormInput type='submit' name='x' value='Submit report' size=100}] (Please click only once!)
[{FormClose}]
The result would look like this:
|
Please make one. |
||||||