Are my jar versions in Synch?

2006-05-12 Thread josh t
My commons-validator.jar Implementation-Version is 1.1.3 My struts.jar Implementation-Version is 1.2.8 Are these Compatible? They're under your jar's MANIFEST.MF file. - Love cheap thrills? Enjoy PC-to-Phone calls to 30+ countries for

RE: extending ValidationForm instead of ValidatorActionForm

2006-05-12 Thread josh t
I still get the same error with Struts 1.2.7. I get the error with both ValidationForm or when using ValidatorActionForm. 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

RE: extending ValidationForm instead of ValidatorActionForm

2006-05-12 Thread josh t
first thought was that you might be using an action as you validation > key i.e., in validation.xml, instead of: > > > > you had: > > > > But this is not the case. So, I can't really tell why this is happening. > > Harsh. > > -Original Mess

RE: extending ValidationForm instead of ValidatorActionForm

2006-05-12 Thread josh t
irst thought was that you might be using an action as you validation key i.e., in validation.xml, instead of: you had: But this is not the case. So, I can't really tell why this is happening. Harsh. -Original Message- From: josh t [mailto:[EMAIL PROTECTED] Sent: Friday, Ma

RE: extending ValidationForm instead of ValidatorActionForm

2006-05-12 Thread josh t
: My Validator-rule.xml "Chaudhary, Harsh" <[EMAIL PROTECTED]> wrote: Could you also include of you validation.xml and struts-config.xml? Harsh. -Original Message----- From: josh t [mailto:[EMAIL PROTECTED] S

extending ValidationForm instead of ValidatorActionForm

2006-05-12 Thread josh t
When my form extends Strut's ValidationForm instead of ValidatorActionForm, I get the following exception when my form gets loaded for the first time. Any idea what this is? Also, I've copied my sample form here. Please let me know what I'm doing wrong. Many Thanks! MY Form (Do I need the

RE: Basic

2006-05-10 Thread josh t
Thanks. Does anyone know where I can get some good reference material on Struts Tags? "Patil, Sheetal" <[EMAIL PROTECTED]> wrote: Hi there As my best knowledge your And supports for either int or boolean -Original Message----- From: josh t [mailto:[EMAIL PROTECTED] Sen

Basic

2006-05-10 Thread josh t
Greetings everyone: Objective: Retrieve an object from the session that contains a Collection of String for userRoles. Iterate through userRoles, and if one of the roles equals "SUPER" include a href. So this is what I have, but doesn't seem to be correct: .

Re: message-resources key/parameter

2006-05-10 Thread josh t
is the same as "key" in struts-config.xml) for a while, it was only actually supported since Struts 1.2.7 and Validator 1.1.4: http://www.niallp.pwp.blueyonder.co.uk/HelpTagsErrorsAndMessages.html#section7_2 Niall On 5/10/06, josh t wrote: > > > > Can someone please expl

message-resources key/parameter

2006-05-10 Thread josh t
Can someone please explain to me how and where in my code I need to refer to message-resources key? When doing validation, how does the validator know where to loopup the ApplicationResources? Do I need to include the key somwhere in my validator.xml? Thanks!

Re: Validation Issue - Validation Not Taking Affect

2006-05-09 Thread josh t
I've tried several things, but the form filed is not being validated. Am I doing the nested form attribute right in the validator.xml? josh t <[EMAIL PROTECTED]> wrote: I'm trying to set up a very basic(generic) validation with struts 1.1 (and tiles) and I can not get it

Role-Based Menu Navigation

2006-05-09 Thread josh t
I want to build a role-based nested navigation menu : - Using Struts 1.1 with tiles - My menu.jsp will be used by all other JSPs (extension in the tiles def file) - The roles to build the menu will be retrived from the session. - I don't care about the java script part of the dropdown na

RE: Validation Issue - Validation Not Taking Affect

2006-05-09 Thread josh t
IL PROTECTED]> wrote: I am not 100% on this as I don't know the package "org.apache.struts.chain.commands.servlet.ValidateActionForm" very well, but try extending your form from ValidatorForm from: org.apache.struts.validator.ValidatorForm Harsh. -Original Message

Validation Issue - Validation Not Taking Affect

2006-05-09 Thread josh t
I'm trying to set up a very basic(generic) validation with struts 1.1 (and tiles) and I can not get it to work. I'm not getting any errors or anything. Validation simply doesn't take affect. I believe I have everything in place. Here is some snippets from my file. Please let me know if you k