Re: [Stripes-users] Input with non-standard character input

2012-12-26 Thread Joe Adams
Thank you, Matthijs! While it is not really a Stripes problem, I was hoping there was a Stripes solution. Setting my character encoding on the page doesn't help. However, I can solve the issue by just eliminating the one bad character I always get. Thanks, Joe ___

Re: [Stripes-users] Input with non-standard character input

2012-12-26 Thread Stone, Timothy
If you use Tomcat, but sure to set the server encoding as well. According to the URIencoding attribute documentation in Tomcat, set "... the character encoding used to decode the URI bytes, after %xx decoding the URL. If not specified, ISO-8859-1 will be used.". For example: From: Joe Adams

[Stripes-users] Date Formatting with 2 vs 4 Year Dates

2012-12-26 Thread Matt White
Hi Y'all - Here's something I keep on struggling with, so I'm sure I'm doing something weird. In my ActionBean I have: @Validate(required = true) private Date startDate = null; (...and then getters/setters for this field) In my JSP I have this: Here's the deal. When the page is displayed,

Re: [Stripes-users] Date Formatting with 2 vs 4 Year Dates

2012-12-26 Thread Matt White
On 12/26/2012 6:40 PM, Matt White wrote: > placeholder="MM/DD/"/> Gah. I sweat this out for an hour, post something on the mailing list, and then figure it out on my own a few minutes later. Just to close the loop on this, you need to set the formatType to "date" so that Stripes knows you'

Re: [Stripes-users] Date Formatting with 2 vs 4 Year Dates

2012-12-26 Thread Freddy Daoud
Hi Matt, > Gah. I sweat this out for an hour, post something on the mailing list, > and then figure it out on my own a few minutes later. That's quite alright--score another one for the Rubber Duck: http://en.wikipedia.org/wiki/Rubber_duck_debugging Cheers, Freddy -

Re: [Stripes-users] Date Formatting with 2 vs 4 Year Dates

2012-12-26 Thread Matt White
On 12/26/2012 10:09 PM, Freddy Daoud wrote: > That's quite alright--score another one for the Rubber Duck: > http://en.wikipedia.org/wiki/Rubber_duck_debugging Freddy - When I was in college I had a TA that left a Teddy Bear on his desk during labs. Before you could ask him a question you had to