Re: datetimepicker with displayFormat always return error msg?

2007-09-12 Thread Emi Lu
Are you running it under Struts 2? Tried datetimepicker, whenever I give the displayFormat=-MM-dd, always get the following warning: Invalid field value for field todayDate. Something wrong with my code? my code: s:datetimepicker name=todayDate label=TestDate (-MM-dd)

Re: Attribute var invalid for tag bean according to TLD

2007-09-11 Thread Emi Lu
attribute on 2.0.9 as it is a new in 2.1. Right now the online documentation has a mix of 2.1 and 2.0. Try name instead. (The documentation for 2.0.9 can be downloaded with the jars) musachy On 9/10/07, Emi Lu [EMAIL PROTECTED] wrote: Hello, Musachy Barroso wrote: what version did you download? I

Attribute var invalid for tag bean according to TLD

2007-09-10 Thread Emi Lu
Hello, I downloaded and installed struts2. However, when I tried the bean tag example: -- in jsp form -- s:bean name=org.apache.struts2.example.counter.SimpleCounter var=counter s:param name=foo value=BAR / The value of foot is : s:property value=foo/, when inside the bean tag br /

Re: Attribute var invalid for tag bean according to TLD

2007-09-10 Thread Emi Lu
Hello, Musachy Barroso wrote: what version did you download? I downloaded Example Applications- struts-2.0.9-apps.zip (22mb). I extracted the lib, and followed the online tutorial page about beans. I opened struts2-core-2.09.jar, and in META-INF/struts-tags.tld file: tag

<    1   2   3