Locale specific stringlength validation, how?

2009-05-10 Thread Qunhuan Mei
Hi, Characters from one language often carry more information than another (e.g. Chinese vs. English). To express a word/phrase/sentence string, different locale may need different string length. I was wondering if it is possible to have locale specific stringlength validation using Struts

RE: newbie and hidden field

2009-05-10 Thread pam
yes -Original Message- From: Nils-Helge Garli Hegvik [mailto:nil...@gmail.com] Sent: Monday, 11 May 2009 4:05 PM To: Struts Users Mailing List Subject: Re: newbie and hidden field Um... I don't think those are Struts tags. Could this be what you're using? http://www.common-controls.com/

Re: Using session object in JSP page

2009-05-10 Thread Nils-Helge Garli Hegvik
That depends on how you want to use it. The tag reference should give you the information you need. http://struts.apache.org/2.1.6/docs/tag-developers-guide.html http://struts.apache.org/2.1.6/docs/ognl.html http://struts.apache.org/2.1.6/docs/tag-syntax.html Nils-H On Mon, May 11, 2009 at 7:57

Re: newbie and hidden field

2009-05-10 Thread Nils-Helge Garli Hegvik
Um... I don't think those are Struts tags. Could this be what you're using? http://www.common-controls.com/en/index.php If yes, then you should ask your question here: http://www.common-controls.com/bbs/?loc=en Nils-H On Mon, May 11, 2009 at 7:32 AM, pam wrote: > Hi, > I am modifying a struts a

Using session object in JSP page

2009-05-10 Thread NR031
Hi, I am having a session object created in the execute method of my action class like this : Map sesion=ActionContext.getContext().getSession(); sesion.put("username",getUn());/*getun() returns the username form field data*/ I want to use this session data in all my JSP pages, how to u

newbie and hidden field

2009-05-10 Thread pam
Hi, I am modifying a struts application and know nothing about struts. I have tags with Thanks. Pam Withnall The ECN Group Bus.:+ 61 2 8905 4830 Fax: + 61 2 8905 4801 Mobile: + 61 0415 064 958 E: pam.withn...@ecngroup.com.au

How to invoke annotation validation manually

2009-05-10 Thread joea88
Hi I've an action class like below. I put the skipvalidation annotation because I don't want strut to validate all annotated fields. My problem is that I still want to do the validation for 'name' field. So.. is there a way to manually invoke only certain fields' annotation validation? I could

RE: Struts 2 - Dispatch Action

2009-05-10 Thread Martin Gainty
specifically action method http://struts.apache.org/2.0.14/docs/action-configuration.html#ActionConfiguration-DynamicMethodInvocation although i wonder about the derivation of ! = bang assignment? Martin __ Disclaimer and Confidentiality/Verzicht und

Re: Struts 2 - Dispatch Action

2009-05-10 Thread Dave Newton
Marco Bakera wrote: cm132005 schrieb am 06.05.2009 18:37: In Struts 1 dispatch action, a request parameter can be set either as a form attribute or as a request attribute from within any action >> class or through URL and the correct dispatch method in the action >> gets invoked. Is there a wa

Re: Struts 2 - Dispatch Action

2009-05-10 Thread Marco Bakera
cm132005 schrieb am 06.05.2009 18:37: In Struts 1 dispatch action, a request parameter can be set either as a form attribute or as a request attribute from within any action class or through URL and the correct dispatch method in the action gets invoked. Is there a way to do this in Struts 2?