Re: validation and action names with slashes

2008-06-24 Thread Roberto Nunnari
Jeromy Evans wrote: Roberto Nunnari wrote: Jeromy Evans wrote: Roberto Nunnari wrote: This is what I intend to do. At the moment the CodeBehind/Convention plugin estimates the name of view candidates (eg. package-action-result.jsp) This change would just need to extend that to check if a

Re: validation and action names with slashes

2008-06-23 Thread Roberto Nunnari
Jeromy Evans wrote: Roberto Nunnari wrote: Maybe the convention plugin should look into the tiles.xml file, or check to see if the tiles plugin or tiles listener are in the game.. Most probably, the definition names in tiles.xml should follow the conventions, so that definition

Re: validation and action names with slashes

2008-06-23 Thread Jeromy Evans
Roberto Nunnari wrote: Jeromy Evans wrote: Roberto Nunnari wrote: This is what I intend to do. At the moment the CodeBehind/Convention plugin estimates the name of view candidates (eg. package-action-result.jsp) This change would just need to extend that to check if a tile exists with that

Re: validation and action names with slashes

2008-06-22 Thread Roberto Nunnari
-- - Original Message - From: Roberto Nunnari [EMAIL PROTECTED] To: Struts Users Mailing List user@struts.apache.org Sent: Saturday, June 21, 2008 7:25 PM Subject: Re: validation and action names with slashes Jeromy Evans wrote: Roberto Nunnari wrote: Hi Jeromy! The Convention plugin looks

Re: validation and action names with slashes

2008-06-22 Thread Jeromy Evans
Roberto Nunnari wrote: Maybe the convention plugin should look into the tiles.xml file, or check to see if the tiles plugin or tiles listener are in the game.. Most probably, the definition names in tiles.xml should follow the conventions, so that definition name=auctionView.. becomes

Re: validation and action names with slashes

2008-06-21 Thread Roberto Nunnari
built! going to experiment a bit. Thank you and best regards. -- Robi Jeromy Evans wrote: Roberto Nunnari wrote: Jeromy Evans wrote: Roberto Nunnari wrote: Hi Jeromy! The Convention plugin looks very interesting! Does it work with 2.1.3-SNAPSHOT ? I'd like to give it a try this weekend.

Re: validation and action names with slashes

2008-06-21 Thread Roberto Nunnari
Jeromy Evans wrote: Roberto Nunnari wrote: Hi Jeromy! The Convention plugin looks very interesting! Does it work with 2.1.3-SNAPSHOT ? I'd like to give it a try this weekend. What about mixing it with tiles? Would it require specifying tiles results thus breaking the convenience of

Re: validation and action names with slashes

2008-06-21 Thread Martin
: validation and action names with slashes Jeromy Evans wrote: Roberto Nunnari wrote: Hi Jeromy! The Convention plugin looks very interesting! Does it work with 2.1.3-SNAPSHOT ? I'd like to give it a try this weekend. What about mixing it with tiles? Would it require specifying tiles results thus

Re: validation and action names with slashes

2008-06-20 Thread Roberto Nunnari
Anybody on this, please? -- Robi Roberto Nunnari wrote: Hello. I'd like to use declarative Action-alias field validation for several Actions/methods in my S2 webpapp. S2 let's me do in struts.xml elegant things like: package name=admin extends=tiles-default namespace=/admin ... action

Re: validation and action names with slashes

2008-06-20 Thread Roberto Nunnari
Oops.. little typo! Correction below, in context. Maybe using a different separator in action name, like '!' instead of '/' could help.. But now this leads me to a more general question: Can action names containing '*' be mapped at all to Action-alias validation? Thank you! -- Robi Roberto

Re: validation and action names with slashes

2008-06-20 Thread Roberto Nunnari
Hi guys. From my tests here's what I found: 1) action names with '/' are not usable for declarative action-alias validation because of java package name (and most probably filesystem ) incompatibilities 2) action names with wildcards and '!' (ie '*!*') are not usable for declarative

Re: validation and action names with slashes

2008-06-20 Thread Jeromy Evans
Roberto Nunnari wrote: 2) action names with wildcards and '!' (ie '*!*') are not usable for declarative action-alias validation. No idea why. This works: action name=manageAccount!* method=do{1} class=package.ManageAccountAction matches the XML validation:

Re: validation and action names with slashes

2008-06-20 Thread Roberto Nunnari
Hi Jeromy! The Convention plugin looks very interesting! Does it work with 2.1.3-SNAPSHOT ? I'd like to give it a try this weekend. What about mixing it with tiles? Would it require specifying tiles results thus breaking the convenience of conventions? -- Robi Jeromy Evans wrote: Roberto

Re: validation and action names with slashes

2008-06-20 Thread Jeromy Evans
Roberto Nunnari wrote: Hi Jeromy! The Convention plugin looks very interesting! Does it work with 2.1.3-SNAPSHOT ? I'd like to give it a try this weekend. What about mixing it with tiles? Would it require specifying tiles results thus breaking the convenience of conventions? It works with

Re: validation and action names with slashes

2008-06-20 Thread Jeromy Evans
Roberto Nunnari wrote: Jeromy Evans wrote: Roberto Nunnari wrote: Hi Jeromy! The Convention plugin looks very interesting! Does it work with 2.1.3-SNAPSHOT ? I'd like to give it a try this weekend. What about mixing it with tiles? Would it require specifying tiles results thus breaking the