crossley 02/01/27 18:39:57
Modified: src/webapp/search create-index.xsp
Log:
Add default "checked" attribute to radio button on user interface.
Otherwise if they do not specifically choose an option, then they
will get processing exception because "create" parameter is false,
but there is initially no index, so there is nothing to "update".
Revision Changes Path
1.3 +1 -1 xml-cocoon2/src/webapp/search/create-index.xsp
Index: create-index.xsp
===================================================================
RCS file: /home/cvs/xml-cocoon2/src/webapp/search/create-index.xsp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- create-index.xsp 4 Jan 2002 07:18:24 -0000 1.2
+++ create-index.xsp 28 Jan 2002 02:39:57 -0000 1.3
@@ -114,7 +114,7 @@
</tr>
<tr>
<td colspan="2">
- <input type="radio" name="create" value="true"/>
+ <input type="radio" name="create" value="true" checked="checked"/>
Create/Overwrite the Index, or
<input type="radio" name="create" value="false"/>
Update the existing Index
----------------------------------------------------------------------
In case of troubles, e-mail: [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]