Re: problems using httpunit / rhino with struts validator

2006-11-22 Thread Nathan Coast
Thanks Niall, perfect, you were right, it was an issue with the jcv_retrieveFormName. I'll post again when I've figured out whether it's caused by rhino, validator, httpunit or a combination of all three :) As a workaround I can override the jcv_retrieveFormName(form) in each jsp to return

Re: problems using httpunit / rhino with struts validator

2006-11-21 Thread Nathan Coast
Hi Niall, thanks for the response. Httpunit handles the http/html side of things and delegates to mozilla's rhino jar for a 'standards compliant' java implementation of js (not sure how compliant or what version). I'm thinking either there's a bug in rhino, alternatively commons-validator i

Re: problems using httpunit / rhino with struts validator

2006-11-21 Thread Niall Pemberton
The tags generate functions based on the form's name - looks like it isn't finding the form's name resulting in your "undefined_required". I've not used httpunit, but I guess you need to get http unit to generate the html as a jsp would do and have it parse the form and set up the dom as the brow

Re: problems using httpunit / rhino with struts validator

2006-11-21 Thread Niall Pemberton
On 11/22/06, Nathan Coast <[EMAIL PROTECTED]> wrote: Hi Niall, thanks for the response. Httpunit handles the http/html side of things and delegates to mozilla's rhino jar for a 'standards compliant' java implementation of js (not sure how compliant or what version). I'm thinking either there's

Re: problems using httpunit / rhino with struts validator

2006-11-21 Thread Niall Pemberton
On 11/22/06, Nathan Coast <[EMAIL PROTECTED]> wrote: Unfortunately I can't find any rhino mailing lists or docs. Any validator or rhino experts who can point me in the right direction? http://www.mozilla.org/rhino/doc.html cheers Nathan -