Role Based Struts Validation

2003-01-29 Thread PILGRIM, Peter, FM
My XML skills are brain dead. I just had a thought that my role base struts validation will not work as intended. I intended to customise FieldChecks with validators that checks against a role attribute in the action form. I realise that the Validator does not quite work that way. Normally when

Re: Role Based Struts Validation

2003-01-29 Thread V. Cekvenich
I can't help on XML, but if it does not work, you are not sunk since ... stating the obvious ... of course you can implement the form Beans validate method in which you can write ... Java. .V PILGRIM, Peter, FM wrote: My XML skills are brain dead. I just had a thought that my role base struts

Re: Role Based Struts Validation

2003-01-29 Thread Evan Schnell
V. Cekvenich wrote: I can't help on XML, but if it does not work, you are not sunk since ... stating the obvious ... of course you can implement the form Beans validate method in which you can write ... Java. This is just an *idea*. It has fairly sizable drawbacks but I have used the same

Re: Role Based Struts Validation

2003-01-29 Thread Evan Schnell
PILGRIM, Peter, FM wrote: Actually I think that my understanding of the validator is flawed. By default the validator will not check a field unless you specify the required. The way that requiredif is implemented might be clue to what I need to do. The required and requiredIf rules

RE: Role Based Struts Validation

2003-01-29 Thread PILGRIM, Peter, FM
-Original Message- From: Evan Schnell [mailto:[EMAIL PROTECTED]] PILGRIM, Peter, FM wrote: ---- Actually I think that my understanding of the validator is flawed. By default the validator will not check a field unless you specify the required. The way that requiredif is

RE: Role Based Struts Validation

2003-01-29 Thread David Graham
In fact my client has made a major decision, to do a lot of validation using JavaScript using a massive library with minimum server-side validation if they can help it. Does your client realize the security problems associated with that decision? It's trivial to write a program that posts data

Re: Role Based Struts Validation

2003-01-29 Thread Peter A. Pilgrim
David Graham wrote: In fact my client has made a major decision, to do a lot of validation using JavaScript using a massive library with minimum server-side validation if they can help it. Does your client realize the security problems associated with that decision? It's trivial to write a

Re: Role Based Struts Validation

2003-01-29 Thread Tony Baity
Peter, I have also been involved with a cutomer that wants client side field validation and even page sections that magically appear when certain radio buttons and check boxes are clicked. These are people that have been using an Oracle forms based solution for many years and have become