Hi Dariusz
The tag name changed, but nothing else (that I know of). The UI Tags
example in showcase works. The date is in the action, not a nested
object, but that shouldn't be a problem.
musachy
Dariusz Wojtas wrote:
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;@16b7f83'
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]