- datetimepicker not setting value 2007-01-10 - By Dariusz Wojtas
Back using nightly build from 09-Jan [http://people.apache.org/builds/struts/nightlies/2.0.x/] + xwork 2.0.0 final
<s:datetimepicker name="dp.date1" displayFormat="yyyy-MM-dd" language="pl" type="date" label="My date"/>
Property 'date1' in bean 'dp' is of type java.util.Date  The widget itself is correctly loaded with value from the action property and it displays itself using format specified by displayFormat.
After submit it generates 2 parameters with the uri, eg.:
dp.date1=2006-09-25 dojo.dp.date1=2006-09-25
The date is not set, I am forwarded back to the input action. Tomcat logs show such message:
20:39:11,234 ERROR - ParametersInterceptor - ParametersInterceptor - [setParameters]: Unexpected Exception catched: Error setting expression 'dp.date1' with value '[Ljava.lang.String;@(protected)'
This worked recently, but now I had to switch from dropdowndatetimepicker to datetimepicker and it does not work any more. All tags parameters are unchanged.
Page uses: <s:head theme="ajax"/> Parent form uses theme 'ajax'.
Is this a bug in the current trunk?
Dariusz Wojtas
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ To unsubscribe, e-mail: user-unsubscribe@(protected) For additional commands, e-mail: user-help@(protected)
|
|