In the example application, there is a Form.vm used for editing and an
Insert.vm used for inserting.
The key difference between the two forms is the absence of hidden field of
rfdid from Insert.vm.
By including a rfdid in the form, we would get an error when
inserting. Would this be really hard to fix?
Here is the error:
[Tue Dec 18 09:29:21 EST 2001] -- ERROR --
Exception: java.lang.reflect.InvocationTargetException
Stack Trace follows:
java.lang.reflect.InvocationTargetException:
java.lang.StringIndexOutOfBoundsException: String index out of range: 0
at java.lang.String.charAt(String.java:507)
at java.math.BigDecimal.<init>(BigDecimal.java:129)
at org.apache.turbine.om.NumberKey.<init>(NumberKey.java:80)
at
org.apache.turbine.util.parser.BaseValueParser.getNumberKey(BaseValueParser.java:1163)
at
org.apache.turbine.util.parser.BaseValueParser.setProperty(BaseValueParser.java:1358)
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>