Re: ANYONE Know How To Validate Nested Form Beans?

2003-09-02 Thread Mark Lowe
Okay Sorry i took a while i forgot about it. So we've a nested user bean as a form property //struts config //in validator .. //jsp Cheers Mark On Monday, September 1, 2003, at 05:55 PM, Terry Brick wrote: Well it seems to be a mystery still whether it does or does not. Sounds like Mark h

RE: ANYONE Know How To Validate Nested Form Beans?

2003-09-01 Thread Terry Brick
Well it seems to be a mystery still whether it does or does not. Sounds like Mark has done it but he's checking to see if it was custom or using built in functionality. I guess it was just an assumption on my part that it DID have it built in because it seems pretty fundamental/basic to me... com

Re: ANYONE Know How To Validate Nested Form Beans?

2003-09-01 Thread Mark Lowe
Thats strange I'll have to check how i was getting them working. I'll have a look over where i've got it working (I don't think there were any hacks in there but its possible). Cheers Mark On Monday, September 1, 2003, at 04:28 PM, Terry Brick wrote: Thank you much for your response. Two thin

RE: ANYONE Know How To Validate Nested Form Beans?

2003-09-01 Thread Richard Mixon
Terry, Thanks for asking the question - I've asked a similar question in the past. I did not realize that validator has some collection support, I may look further into that. I used a different approach by putting together a little "glue" code in my main form bean's "validate" method. For example

Re: ANYONE Know How To Validate Nested Form Beans?

2003-09-01 Thread Terry Brick
Thank you much for your response. Two things 1) Sorry, I left out a big piece of detail. I'm interested in doing this validation only on the server side (no javascript). Yet I still can't get it to work. Are you saying that I'm doing it correctly as show here? Your html:messages code w

Re: ANYONE Know How To Validate Nested Form Beans?

2003-09-01 Thread Mark Lowe
Programming jakarta struts is a nice introduction to webapp development in general and struts development too. The only problem is as soon as you want to do anything vaguely useful there's no detail. Its not a criticism of the book as such just that its scope is different to these sorts of prob

ANYONE Know How To Validate Nested Form Beans?

2003-09-01 Thread Terry Brick
Hello, I'm using struts 1.1. I thought this would be relatively simple, but I can't figure it out. I've checked my book "Programming Jakarta Struts" and searched the archives. All got from the archives is a bunch of people asking this same question, but NO responses. Please help if you've got t