dynamic return when validation failed

2009-07-08 Thread mailtolouis2020-struts
Hello, I'm new to struts2, and learning the validation in struts 2 at the moment. I'm not able to get the validation work in the way I want in the webflow (or wizard kind of page) design. Everytime when validation failed, it always return to INPUT page, I wondering is there a way I can tell

Re: dynamic return when validation failed

2009-07-08 Thread mailtolouis2020-struts
Hi, Thanks for the reply, I try not to hardcode any file name in the jsp, prefer to put it in the struts config file, but don't know how to get the value out of it. Regards Louis From: Greg Lindholm greg.lindh...@gmail.com To: Struts Users Mailing List

Re: dynamic return when validation failed

2009-07-08 Thread mailtolouis2020-struts
what I mean is since in the action I already define the result, which has the jsp name, if struts2 provide a way that I can get this info, then I can set it to ${input} easily. E.g if there is something like .getResult(page1) and it give me the value /WEB-INF/pages/page1.jsp then this

Re: dynamic return when validation failed

2009-07-09 Thread mailtolouis2020-struts
Hi Dale Greg, Thanks for all your discussion. The problem is that the OP doesn't understand his problem. If the validation step knows what the result page should be, he shouldn't be returning input, but rather the name of the logical step to be rendered. He's right that the code

Re: dynamic return when validation failed

2009-07-09 Thread mailtolouis2020-struts
Thanks for let me know another struts2 book, have a quick look in it, didn't found any good tip to solve my problem. Regards Louis From: Oscar Alvarez oialva...@gmail.com To: Struts Users Mailing List user@struts.apache.org Sent: Wednesday, July 8, 2009

Re: dynamic return when validation failed

2009-07-09 Thread mailtolouis2020-struts
result name=input/xxx/MyWizardPage${page}.jsp/result oh yes, this does the trick! Thanks! I just found another problem when using xml based validation. In struts1, there is a page attribute, which can tell the validator to validate certain fields which belong to that page, but this useful

Re: Problem with LoginInterceptor

2009-07-20 Thread mailtolouis2020-struts
I don't think it will preserve your parameter by default, I might be wrong, if it do, then that is another magic in S2 I didn't know that. For what I understand is there are 2 request from the user, 1) http://localhost:8080/projektseminar/rating/Rate?staffResourceId=1 2) login submit I don't

Re: Problem with LoginInterceptor

2009-07-20 Thread mailtolouis2020-struts
: mathias-ewald nitehoax...@gmx.net To: user@struts.apache.org Sent: Monday, July 20, 2009 3:17:47 PM Subject: Re: Problem with LoginInterceptor Hi, so what do you suggest? Isn't there any way to do that? cu mathias mailtolouis2020-struts wrote: I don't think it will preserve your parameter

Re: action-method-validation

2009-07-21 Thread mailtolouis2020-struts
Hi, I mean in xml validation, the document I read is Action-validation.xml Action-alias-validation.xml What I wonder is S2 support Action-action_method-validation.xml? For e.g I've input1() and input2() method in my action, when I call input1() I like to have something

Re: tag syntax question

2009-07-24 Thread mailtolouis2020-struts
Hi, I've another tag syntax question This not work: s:checkbox name=userId value=selectedUserId fieldValue=userId/ This work s:checkbox name=userId value=selectedUserId fieldValue=%{userId}/ This also work s:checkbox name=userId value=%{selectedUserId} fieldValue=%{userId}/ Why we need to use

Re: How to set Array properties?

2009-07-27 Thread mailtolouis2020-struts
Thank You! From: Musachy Barroso musa...@gmail.com To: Struts Users Mailing List user@struts.apache.org Sent: Monday, July 27, 2009 5:58:02 PM Subject: Re: How to set Array properties? s:iterator status=status value=users s:checkbox name=userId

Re: common error page in struts2 application

2009-07-31 Thread mailtolouis2020-struts
I think you can catch it, then do log.error(e.getMessage(),e); and then throw e; From: Bhaarat Sharma bhaara...@gmail.com To: Struts Users Mailing List user@struts.apache.org Sent: Friday, July 31, 2009 5:03:34 AM Subject: Re: common error page in struts2

Re: struts2 ognl confusion

2009-08-05 Thread mailtolouis2020-struts
but in this document http://struts.apache.org/2.1.6/docs/iterator.html id attribute is deprecated. Louis From: Chris Pratt thechrispr...@gmail.com To: Struts Users Mailing List user@struts.apache.org Sent: Wednesday, August 5, 2009 4:54:31 PM Subject: Re:

Re: Log Issue

2009-08-07 Thread mailtolouis2020-struts
I just found that I did a silly mistake, I used the wrong library commons-logging-api.jar instead of commons-logging.jar. Now all the logs go to the file, but I still not able to get rid of 2009-08-07 16:41:26,718 WARN (CommonsLogger.java:45) - Could not find property

Re: How to prevent user invoke a method?

2009-08-13 Thread mailtolouis2020-struts
Thanks Chris. From: musom...@aol.com musom...@aol.com To: user@struts.apache.org Sent: Thursday, August 13, 2009 1:13:52 PM Subject: Re: How to prevent user invoke a method? Have dynamic method invocation off and be careful with wildcards. Another possibility

Re: How to prevent user invoke a method?

2009-08-13 Thread mailtolouis2020-struts
Thanks Dale, Yes, done that. I just wondering in case DyanmicMethodInvocation is require, if I showing the customize 404 error page will it enough to prevent user to steal the information from the action property? Regards Louis From: Dale Newfield

Re: How to prevent user invoke a method?

2009-08-13 Thread mailtolouis2020-struts
Well, just a thought. Of course I will turn it off. Since this is potiential security holes, how come this is not turn off by default? Louis From: Dale Newfield d...@newfield.org To: Struts Users Mailing List user@struts.apache.org Sent: Thursday, August 13,

Re: Creating struts2 themes

2009-08-14 Thread mailtolouis2020-struts
http://www.packtpub.com/article/themes-and-templates-with-apache-struts2 From: spsarolkar spsarol...@gmail.com To: user@struts.apache.org Sent: Friday, August 14, 2009 10:38:09 AM Subject: Creating struts2 themes I am learning struts2 and want to create

Re: Re : Struts2 + I18N

2009-08-14 Thread mailtolouis2020-struts
Not long ago, someone also got similar problem: http://markmail.org/message/mozukqgrnhfbq7od?q=s2+and+default+locale/language+list:org.apache.struts.users/ From: Julien HENRY henr...@yahoo.fr To: Struts Users Mailing List user@struts.apache.org Sent: Friday,

Re: LoggingInterceptor

2009-08-17 Thread mailtolouis2020-struts
Yes, thats the log from my classes. I'm trying to achive similar kind of log, or at least print the exact class and method name, instead of the namespace and the alias name of the action. Is it possible to do that? Louis From: Dave Newton

Re: validation

2009-08-17 Thread mailtolouis2020-struts
Are u using defaultStack interceptor? If not u need to make sure validate and workflow interceptor are in your interceptor stack. Another check is are u putting the ProductActions-addProduct-validation.xml in the same directory as your ProductActions.java ?

Re: validation

2009-08-17 Thread mailtolouis2020-struts
do you extends=struts-default in your package? or may be just put this default-interceptor-ref name=defaultStack / in your package to check From: sandy.verfai...@roularta.be sandy.verfai...@roularta.be To: user@struts.apache.org Sent: Monday, August 17, 2009

Re: validation

2009-08-17 Thread mailtolouis2020-struts
how about change your field validator to requiredstring just to check which part of your setting went wrong? From: sandy.verfai...@roularta.be sandy.verfai...@roularta.be To: user@struts.apache.org Sent: Monday, August 17, 2009 12:54:04 PM Subject: RE:

Re: LoggingInterceptor

2009-08-17 Thread mailtolouis2020-struts
Hi Dave, We use to have this log statement in most of the method begin and end in Struts1, now working with S2+Spring, both are provide logging interceptor, so I wonder this can help me to reduce coding in new project. I tried that on S2 and Spring, both not giving the result I want, so

Re: validation

2009-08-17 Thread mailtolouis2020-struts
what I can guess here is your setup problem rather then the double field validator problem. Can you post ur full struts.xml, validation.xml and your directory structure where u put your files. From: sandy.verfai...@roularta.be sandy.verfai...@roularta.be To:

Re: LoggingInterceptor

2009-08-18 Thread mailtolouis2020-struts
Ya, I'm tring Spring AOP as well, and facing some problem. If I AOP action class, some action when I run, I got this error, but some is running fine: Struts has detected an unhandled exception: # Messages: $Proxy18.input1() File: java/lang/Class.java Line number: 1,605 Stacktraces

Re: LoggingInterceptor

2009-08-18 Thread mailtolouis2020-struts
Thanks Wes, I'm looking into it now. From: Wes Wannemacher w...@wantii.com To: Struts Users Mailing List user@struts.apache.org Sent: Tuesday, August 18, 2009 2:28:15 PM Subject: Re: LoggingInterceptor If you're using AOP, you'll need to tell spring to proxy

Re: LoggingInterceptor

2009-08-18 Thread mailtolouis2020-struts
Thanks Dale Wes for some more education. I agree with Wes, there is no point for me to use inteface based proxy for this logging funtion, otherwise that will be increase coding and make thing complicated. Perhaps, if you guys come across this kind of logging component for spring and which is

Re: validation

2009-08-18 Thread mailtolouis2020-struts
In your package, you define 2 action action name=addProduct class=be.shop.service.TestActions method=addProduct and action name=goToProducts class=be.shop.service.ProductActions method=goToProducts If you want the validation for addProduct, then you should have

Re: validation

2009-08-19 Thread mailtolouis2020-struts
Hi, In your action did you extends ActionSupport or implement Validateable ? Louis From: sandy.verfai...@roularta.be sandy.verfai...@roularta.be To: user@struts.apache.org Sent: Wednesday, August 19, 2009 7:16:08 AM Subject: RE: validation Yes, that was a

Re: how to get exception stack after redirect to action

2009-08-26 Thread mailtolouis2020-struts
Ya, I understand the redirect will create a new request, that is why I also try to use chain result type, but it gave error. Is it a good idea to extend ExceptionMappingInterceptor and build a custom exception interceptor? Louis From: Wes Wannemacher

Re: how to get exception stack after redirect to action

2009-08-26 Thread mailtolouis2020-struts
Thanks, I'll try your solution. Regards Louis From: Greg Lindholm greg.lindh...@gmail.com To: Struts Users Mailing List user@struts.apache.org Sent: Tuesday, August 25, 2009 6:21:00 PM Subject: Re: how to get exception stack after redirect to action The

Re: how to get exception stack after redirect to action

2009-08-26 Thread mailtolouis2020-struts
I tried this s:if test=notify(exception,request)/s:if In the action, I receive the exception but not the request, request is null, why? -Louis From: Greg Lindholm greg.lindh...@gmail.com To: Struts Users Mailing List user@struts.apache.org Sent: Tuesday,

[OT] Re: [OT] Re: Struts2 is not outputting to the Glassfish server.log

2009-09-07 Thread mailtolouis2020-struts
This is really funny...hahaa I need to find this movie -Louis From: Dale Newfield d...@newfield.org To: Struts Users Mailing List user@struts.apache.org Sent: Monday, September 7, 2009 6:42:56 AM Subject: Re: [OT] Re: Struts2 is not outputting to the Glassfish

[S2] Validation and web service

2009-09-16 Thread mailtolouis2020-struts
Hi, I'm using Struts 2 + Spring + Apache CXF, I've all my validation rule in struts 2 xml files, is it possible to use these validation in the web services? and how? Thanks LV

JSON PlugIn exclude/include annotation

2009-09-29 Thread mailtolouis2020-struts
Hi, Can we use annotation for exclude/include properties in Struts2 JSON Plug In like FLEXJSON? Anyone done some comparison btw Struts2 JSON Plug In and FLEXJSON (or Struts2 Another JSON Plug In http://cwiki.apache.org/S2PLUGINS/2009/03/03/another-struts-2-json-plugin.html) ? Regards LV

Struts2 2.1.8 MD5 not found

2009-10-02 Thread mailtolouis2020-struts
Hello, Click on the MD5 link for Struts 2.1.8 in http://struts.apache.org/download.cgi#struts218 get this : Not Found The requested URL /dist/struts/binaries/struts-2.1.8-all.zip.md5 was not found on this server. Regards Louis

Re: Struts2 2.1.8 MD5 not found

2009-10-02 Thread mailtolouis2020-struts
http://www.apache.org/dist/struts/binaries/struts-2.1.8-all.zip.md5 http://www.apache.org/dist/struts/binaries/struts-2.1.8-all.zip.asc From: Wes Wannemacher w...@wantii.com To: Struts Users Mailing List user@struts.apache.org Sent: Friday, October 2, 2009

Re: Struts2 2.1.8 MD5 not found

2009-10-05 Thread mailtolouis2020-struts
Hi Wes, I just notice that I can select mirror from the download page, I tried many different mirrors site, but still the MD5 and PGP link still not work. Could you give me the mirror you use which is working for your? Thanks Louis From:

Re: Struts2 2.1.8 MD5 not found

2009-10-10 Thread mailtolouis2020-struts
Thanks Wes, is working fine to me now From: Wes Wannemacher w...@wantii.com To: Struts Users Mailing List user@struts.apache.org Sent: Sat, October 10, 2009 2:47:19 AM Subject: Re: Struts2 2.1.8 MD5 not found On Monday 05 October 2009 07:37:25 am

textfield label localized

2009-11-27 Thread mailtolouis2020-struts
Hi, Can someone tell me how to make the label use my resource bundle value? I've tried this s:textfield label=label.name name=user.name maxlength=35 theme=xhtml/ and s:textfield label=%{getText(label.name)} name=user.name maxlength=35 theme=xhtml/ both are not working. But this work: s:label

Re: textfield label localized

2009-11-28 Thread mailtolouis2020-struts
Hi, Thanks, its work now by using key. Regards LV From: Saeed Iqbal saee...@gmail.com To: Struts Users Mailing List user@struts.apache.org Sent: Sat, November 28, 2009 1:54:48 AM Subject: Re: textfield label localized There are 2 ways to go about this 1)

Re: textfield label localized

2009-11-28 Thread mailtolouis2020-struts
Hi, Thanks for the answer, both are working now. Regards LV From: KamHon Eng kam...@gmail.com To: Struts Users Mailing List user@struts.apache.org Sent: Sat, November 28, 2009 9:41:32 AM Subject: Re: textfield label localized s:textfield

[S2] xhtml theme freemarker syntax

2009-12-02 Thread mailtolouis2020-struts
Hi, I'm trying to modify xhtml theme to suite our need, but I'm not familiar with freemarker. Could someone explain these few tags mean? #rt/ #lt/ #t/ Regards LV

Re: [S2] xhtml theme freemarker syntax

2009-12-03 Thread mailtolouis2020-struts
Thanks for the info. From: Greg Lindholm greg.lindh...@gmail.com To: Struts Users Mailing List user@struts.apache.org Sent: Wed, December 2, 2009 8:55:51 PM Subject: Re: [S2] xhtml theme freemarker syntax Easy to find in the Freemarker docs.

Re: How to get the key name

2009-12-03 Thread mailtolouis2020-struts
Hi, Sorry, I think you misunderstanding my question. My main question is fieldName give me the name attribute value, but I want to get my key attribute value, is there anything like fieldKey or something ? s:textfield key=label.name name=user.name maxlength=35 required=true/ fieldName =

Re: How to get the key name

2009-12-03 Thread mailtolouis2020-struts
No, I changed my property to this error.required = ${getText(key)} is required. It is not working. From: Saeed Iqbal saee...@gmail.com To: Struts Users Mailing List user@struts.apache.org Sent: Thu, December 3, 2009 9:56:29 AM Subject: Re: How to get the key

Re: How to get the key name

2009-12-03 Thread mailtolouis2020-struts
Ok, now I know what you mean the key, you mean ${getText(label.name)} ? But that is not that I want, if I hard code the key name there, that defeat the whole reuse purpose. I want something similar like fieldName but for key. fieldName is a constant variable from struts, when I write the code

[S2] i18n not using default bundle

2009-12-10 Thread mailtolouis2020-struts
Hello, I got a doubt on struts 2 i18n. I'm using S2. 2.1.8.1. I got 2 properties in my application: global-message.properties(store Chinese Language) global-message_en.properties (store English Language) When I run my application, and set my browser language to Chinese (zh-CN), I expect

Re: [S2] i18n not using default bundle

2009-12-10 Thread mailtolouis2020-struts
Hi, I tried both, move up and remove just leave Chinese Language there, both still the same, it still take the resource from _en.properties. Here is my setting constant name=struts.locale value=zh_CN / constant name=struts.i18n.encoding value=utf-8 / constant

Re: [S2] i18n not using default bundle

2009-12-10 Thread mailtolouis2020-struts
Thanks. That is what I plan to do if that is nothing to do with struts. Regards LV From: Alex Siman aleksandr.si...@gmail.com To: user@struts.apache.org Sent: Thu, December 10, 2009 4:54:26 PM Subject: Re: [S2] i18n not using default bundle The trick is

Re: [S2] i18n not using default bundle

2009-12-11 Thread mailtolouis2020-struts
yes, I did have constant name=struts.custom.i18n.resources value=resources.global-message/ so to make it work, what I do now is in my resources folder, I'll have global-message.properties, global-message_en.properties and global-message_zh_CN.properties (an empty file)

Re: [S2] i18n not using default bundle

2009-12-11 Thread mailtolouis2020-struts
I think that is not how the resource bundle work, it is better always set the value without the language suffix resources is just a folder name where I store my properties file. From: Saeed Iqbal saee...@gmail.com To: Struts Users Mailing List

[S2] s:select can't use ENUM type

2009-12-22 Thread mailtolouis2020-struts
Hi, I got problem to using ENUM type in s:select, here is my code: s:select label=Sex name=user.sex list=getComboBox(ComboBoxType.SEX) listKey=key listValue=value value=user.sex/ but if I change to use String (e.g: list=getComboBox('SEX')), and do the

Re: [S2] s:select can't use ENUM type

2009-12-23 Thread mailtolouis2020-struts
Hi, Thanks,my getComboBox accepting ComboBoxType, and I use @package.path.comboboxt...@sex is working fine now. Regards LV From: Steven Yang kenshin...@gmail.com To: Struts Users Mailing List user@struts.apache.org Sent: Wed, December 23, 2009 1:26:48 AM

[S2] Does global exception mapping work with interceptor?

2010-01-12 Thread mailtolouis2020-struts
Hello, I've defined a global exception mapping and global result, when Exception happen it will go to my custom error page. It work fine in Action if Action throw any exception. But if my interceptor throw exception, it won't go to my error page. Is there anyway to make it work? Thanks LV

Re: [S2] Does global exception mapping work with interceptor?

2010-01-13 Thread mailtolouis2020-struts
Thanks Gabriel, it is working now! From: Gabriel Belingueres belingue...@gmail.com To: Struts Users Mailing List user@struts.apache.org Sent: Tue, January 12, 2010 7:06:59 PM Subject: Re: [S2] Does global exception mapping work with interceptor? Is your custom

[S2] Validation - globally define regex

2010-01-21 Thread mailtolouis2020-struts
Hello, In struts 1, I can define the regex in one file like this constant constant-namealphaNumeric/constant-name constant-value[A-Za-z0-9]*/constant-value /constant and use like this in var var-namemask/var-name var-value${alphaNumeric}/var-value /var Could anyone tell me how to achieve this

Re: [S2] Validation - globally define regex

2010-01-22 Thread mailtolouis2020-struts
Hi, Could someone tell me does struts2 support it? Regards LV From: mailtolouis2020-str...@yahoo.com mailtolouis2020-str...@yahoo.com To: Struts Users Mailing List user@struts.apache.org Sent: Thu, January 21, 2010 12:24:13 PM Subject: [S2] Validation -

Re: Struts 2 - Global Validation

2010-02-04 Thread mailtolouis2020-struts
Hi, I've similar problem with you and posted the similar question just not long ago, but still not found any solution yet. Look like struts2 not supporting this feature anymore :( Pls let me know if you find any solution. Thanks. LV From: Arulmani V A

STRUTS2 + REST + SPRING Problem

2010-04-13 Thread mailtolouis2020-struts
Hi All, Our requirement is use to use STRUTS + REST + SPRING. We are stuck with the below problem: Rest controllers are not able to autowire the spring beans. So i am not able to inject the spring beans to the rest controllers that are created using convention plugin. 1) We configured

[S2] post JSON to REST

2010-07-12 Thread mailtolouis2020-struts
Hi, Sorry if this is double posted, because I didn't receive the mail which I post. I'm new to the struts2 rest plugin, I hope someone can help me. I'm trying to post a json data to a UserController, I can see create method is invoked, but the json data is not set to the UserController.

Re: [S2] post JSON to REST

2010-07-12 Thread mailtolouis2020-struts
Hi, Ok, I found my problem, I was using restTemplate to do the post, and it set the content type to application/json;charset=UTF-8, so now my question is how to configure rest-plugin to accept application/json;charset=UTF-8 and handle by json lib? Regards LV

Re: REST URLs

2010-07-26 Thread mailtolouis2020-struts
Thanks Kevin From: Kevin Jones kev.r.jo...@gmail.com To: Struts Users Mailing List user@struts.apache.org Sent: Mon, July 26, 2010 3:05:30 PM Subject: Re: REST URLs I've heard back from Jeromy Evans. He's happy for me to post the code. Unfortunately it may not

Struts2 + REST - how to include/exclude properties of the model

2010-07-26 Thread mailtolouis2020-struts
Hi, I know in json result type we can configure something like this result type=json param name=includeProperties total, page, records, gridData.*, userdata.* /param /result Can we do the same in rest controller using annotation?

[S2] validation short-circuit

2010-08-11 Thread mailtolouis2020-struts
Hi, In the validation, short-circuit is for when the validation failed, the following not get rules not get evaluate. Is there anything similar like this, but when one field validation pass, the rest no need to get evaluate? Regards LV

Re: [ANN] Struts 2.2.1 GA release available

2010-08-17 Thread mailtolouis2020-struts
The struts-2.2.1-src.zip source link is wrong From: Lukasz Lenart lukasz.len...@googlemail.com To: Struts Users Mailing List user@struts.apache.org; em...@encs.concordia.ca Sent: Mon, August 16, 2010 8:12:01 PM Subject: Re: [ANN] Struts 2.2.1 GA release

[S2] 2.2.1 Appended .xhml to back of the url

2010-08-17 Thread mailtolouis2020-struts
Hi, After upgrade to 2.2.1, struts appended .xhtml to the url, is there anyway to turn it off like what 2.1.8.1 was? Thanks LV

Re: [S2] 2.2.1 Appended .xhml to back of the url

2010-08-17 Thread mailtolouis2020-struts
Hi, Here is the constant I define in struts.xml constant name=struts.objectFactory value=spring / constant name=struts.devMode value=true / constant name=struts.ui.theme value=custom / constant name=struts.enable.DynamicMethodInvocation value=false/ constant

Re: [S2] 2.2.1 Appended .xhml to back of the url

2010-08-17 Thread mailtolouis2020-struts
Hi, This solution not work for me, because it now append .action to back instead of xhtml. This causing all my spring security filter not work. Regards LV From: Lukasz Lenart lukasz.len...@googlemail.com To: Struts Users Mailing List user@struts.apache.org

Re: [S2] 2.2.1 Appended .xhml to back of the url

2010-08-17 Thread mailtolouis2020-struts
Hi, Thanks, yes look like it work. But this cause other problem on rest now. For e.g, I call a rest controller like this /user-controller/ABC.json, it will set ABC.json to the rest controller instead of ABC Any clue? Regards LV From: Dave Newton

[S2] s:token/ warning message

2010-08-20 Thread mailtolouis2020-struts
Hi, When using s:token/ I got this warning message in the log WARN com.opensymphony.xwork2.ognl.OgnlValueStack.warn:60 - Error setting expression 'struts.token' with value '[Ljava.lang.String;@16b8a16c' WARN com.opensymphony.xwork2.ognl.OgnlValueStack.warn:60 - Error setting expression

[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

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 davelnew...@gmail.com To: Struts Users Mailing List user@struts.apache.org Sent: Tue, September 14, 2010 3:55:03 PM Subject: Re: [S2] trim textfield Not by default. I'd

Re: AW: [S2] trim textfield

2010-09-15 Thread mailtolouis2020-struts
Thanks! From: Adrian Ost adrian@mindmatics.de To: Struts Users Mailing List user@struts.apache.org Sent: Tue, September 14, 2010 4:26:55 PM Subject: AW: [S2] trim textfield This one worked for me. public class StringTrimInterceptor extends