Re: Conditional Statements (if/else) Using logic tag

2006-05-13 Thread Philihp Busby
Jerome is referring to tags in the JSTL Core tag library. mmm code-bloat. On 5/14/06, J Gotsch <[EMAIL PROTECTED]> wrote: Which package does this belong to? I can't find it anywhere. Jerome Gagner <[EMAIL PROTECTED]> wrote: use On 5/13/06, J Gotsch wrote: > Hello All, > > How do I

Re: Conditional Statements (if/else) Using logic tag

2006-05-13 Thread J Gotsch
Which package does this belong to? I can't find it anywhere. Jerome Gagner <[EMAIL PROTECTED]> wrote: use On 5/13/06, J Gotsch wrote: > Hello All, > > How do I perform an If/else with ? > > In the below logic:iterate tag, If my collection contains both ROLE1 AND > ROLE2, Then both statem

Re: Conditional Statements (if/else) Using logic tag

2006-05-13 Thread Jerome Gagner
use On 5/13/06, J Gotsch <[EMAIL PROTECTED]> wrote: Hello All, How do I perform an If/else with ? In the below logic:iterate tag, If my collection contains both ROLE1 AND ROLE2, Then both statements will be displayed. And that's now what I want. I want to implement something like thi

Struts Validation Guide and How-to:

2006-05-13 Thread J Gotsch
Struts validation could be a pain. This how-to should help. . How to enable struts validation: Make sure you have the following: 1) ApplicationResources.properties file with keys/values for standa

Re: Validator - retrieving a different resource bundle

2006-05-13 Thread Jadeler
Thanks Niall. I was on Struts 1.2.4 so I just upgraded it to Struts 1.2.9 including all the dependencies and it worked. Jadeler Niall Pemberton <[EMAIL PROTECTED]> wrote: On 5/13/06, Jadeler wrote: > Im having difficulty trying to get a key from a different resource bundle > instead of > Ap

Conditional Statements (if/else) Using logic tag

2006-05-13 Thread J Gotsch
Hello All, How do I perform an If/else with ? In the below logic:iterate tag, If my collection contains both ROLE1 AND ROLE2, Then both statements will be displayed. And that's now what I want. I want to implement something like this: if(securityRoleName.equals("ROLE1"))

Re: extending ValidationForm instead of ValidatorActionForm

2006-05-13 Thread Niall Pemberton
On 5/12/06, josh t <[EMAIL PROTECTED]> wrote: Thanks Gary. So where should I be adding this method. I'm using struts 1.2.9. This probably has something to do with it, as Harsh noted in his response. You just need to ship the correct version of validator-rules.xml - the correct one being the on

Re: Validator - retrieving a different resource bundle

2006-05-13 Thread Niall Pemberton
On 5/13/06, Jadeler <[EMAIL PROTECTED]> wrote: Im having difficulty trying to get a key from a different resource bundle instead of ApplicationResource in Struts. Pls advice on how I can retrieve different keys from different resource bundle in the Validator framework. I've upgraded to Validat