Re: AW: [S2] trim textfield

2010-09-15 Thread mailtolouis2020-struts
Thanks! From: Adrian Ost To: Struts Users Mailing List Sent: Tue, September 14, 2010 4:26:55 PM Subject: AW: [S2] trim textfield This one worked for me. public class StringTrimInterceptor extends AbstractInterceptor { /* (non-Javadoc) * @see

AW: [S2] trim textfield

2010-09-14 Thread Adrian Ost
--- > -Ursprüngliche Nachricht- > Von: mailtolouis2020-str...@yahoo.com > [mailto:mailtolouis2020-str...@yahoo.com] > Gesendet: Dienstag, 14. September 2010 17:20 > An: Struts Users Mailing List > Betreff: Re: [S2] trim textfield > > Hi Dave, > > Hope u

Re: [S2] trim textfield

2010-09-14 Thread mailtolouis2020-struts
Hi Dave, Hope u can commit it when u free, it quite useful though From: Dave Newton To: Struts Users Mailing List Sent: Tue, September 14, 2010 3:55:03 PM Subject: Re: [S2] trim textfield Not by default. I'd probably just write an interceptor with opt

Re: [S2] trim textfield

2010-09-14 Thread Dave Newton
Not by default. I'd probably just write an interceptor with optional "excludes"... I had one I was going to commit but never did then I was busy for a year. On Tue, Sep 14, 2010 at 10:50 AM, wrote: > Hi, > > In struts2 is there anyway to set to trim the value in textfield or textarea > when it s

[S2] trim textfield

2010-09-14 Thread mailtolouis2020-struts
Hi, In struts2 is there anyway to set to trim the value in textfield or textarea when it set to action/model? Regards LV