Re: How to use the tag with ?

2007-08-22 Thread Kishen Simbhoedatpanday
Ok... so you could create a Number format type converter, but what about getting the locale (i18n) format from resource bundles? I could not find a way to get a text from the message resource bundles (like getText('format.number') in the Action classes). Anyone facing the same problem? Luiz He

Re: Struts 2 Theme that doesn't generate extra HTML

2007-07-17 Thread Kishen Simbhoedatpanday
How do you want your field errors displayed? I always use a the list tags for displaying lists Maybe you can use the css_xhtml theme in the tag. And xhtml themes for formelements like textfields etc. Still you will have the overhead when it comes to and tags. Néstor Boscán-3 wrote: >

Re: DateTimePicker (type time) problem

2007-06-28 Thread Kishen Simbhoedatpanday
ern something like "-MM-dd'T'HH:mm")? Jeromy Evans - Blue Sky Minds wrote: > > Kishen Simbhoedatpanday wrote: >> Thank you Jeromy! >> >> When using the 'displayFormat="h:mm a"' in the datetimepicker tag... >> >> So we

Re: DateTimePicker (type time) problem

2007-06-28 Thread Kishen Simbhoedatpanday
Thank you Jeromy! When using the 'displayFormat="h:mm a"' in the datetimepicker tag and changing currentTimePart to String, it will result the given Hours and Seconds on the page. So we set the following in our Action method: this.setCurrentTimePart("16:15"); But we get the following stackt

DateTimePicker (type time) problem

2007-06-28 Thread Kishen Simbhoedatpanday
Hello, We have a problem using the tag when it comes to modifying a date and time. It seems there is no solution in struts2 to edit a date + time with the datepicker tag, so we use them separately. In our Action class we have a attribute called "currentTimePart": private Date currentDatePart;