struts 1 and jsr-303 bean validation

2010-02-03 Thread Fred Obsidianstone
If the struts validator is really not working for you try using a modern bean validation framework like jsr-303 that lets you take advantage of the entire Java platform. http://www.jcp.org/en/jsr/summary?id=303 I started a project on google code to simplify the integration of struts 1 with jsr

Re: Struts 2 - Global Validation

2010-02-03 Thread Brian Thompson
Could you quit spamming the list, please? On Wed, Feb 3, 2010 at 2:46 PM, Arulmani V A wrote: > Hi, > How to do global validation in Struts 2 ? For example, in Struts 1, I can > define all global regular expression validations in a file called > validation-regexpr.xml such as : > > alpha > [

Struts 2 - Global Validation

2010-02-03 Thread Arulmani V A
Hi,  How to do global validation in Struts 2 ? For example, in Struts 1, I can define all global regular expression validations in a file called validation-regexpr.xml such as :  alpha [A-Za-z]*  The above global regular expressions can be reused in other validation files as follows :  mask ${al

Struts 2 - Global Validation

2010-02-03 Thread Arulmani V A
Hi,  How to do global validation in Struts 2 ? For example, in Struts 1, I can define all global regular expression validations in a file called validation-regexpr.xml such as :     alpha     [A-Za-z]* The above global regular expressions can be reused in other validation files as follows : 

Struts 2 - Global Validation

2010-02-03 Thread Arulmani V A
Hi,  How to do global validation in Struts 2 ? For example, in Struts 1, I can define all global regular expression validations in a file called validation-regexpr.xml such as :                          alpha             [A-Za-z]*             The above global regular expressions can be reuse

Struts 2 - Global Validation

2010-02-03 Thread Arulmani V A
Hi,  How to do global validation in Struts 2 ? For example, in Struts 1, I can define all global regular expression validations in a file called validation-regexpr.xml such as :                         alpha             [A-Za-z]*             The above global regular expressions can be reu

Struts 2 - Global Validation

2010-02-03 Thread Arulmani V A
Hi,  Any idea how to do global validation in Struts 2 ? For example, in Struts 1, I can define all global regular expression validations in a file called validation-regexpr.xml such as : http://jakarta.apache.org/commons/dtds/validator_1_1_3.dtd";>                         alpha          

struts 1: id attribute in tag

2010-02-03 Thread James Richter
Hi, Can anyone explain what should be used as the id value in the tag? Where to define it? I read the doc (http://struts.apache.org/1.3.10/struts-taglib/tlddoc/html/messages.html) but can't figure it out. In Action class, ActionMessages messages = new ActionMessages(); messages.add(Action

Re: decorating static content with sitemesh

2010-02-03 Thread Philipp Leusmann
Just to add things up, I filed a jira-issue for all of this: , but maybe you can still convince me I got things wrong and the stuff works without jumping hoops Am 03.02.2010 um 12:54 schrieb Philipp Leusmann: > Sorry for my late reply, but I was

Re: decorating static content with sitemesh

2010-02-03 Thread Philipp Leusmann
Sorry for my late reply, but I was busy doing other things. I just investigated a little further into this issue, but still cannot find a way to resolve it. As you proposed, I checked my struts filter mapping, which is /* , so that would be sufficient. I also checked the struts.action.extensio