Re: validator and xdoclet

2005-06-22 Thread Nitesh
May be you could go to the URL get the required DTD and put the same in your WEB-INF Nitesh - Original Message - From: "roberto" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Wednesday, June 22, 2005 6:14 PM Subject: Re: validator and xdo

Re: validator and xdoclet

2005-06-22 Thread roberto
ll you could get the latest struts jar > from Jakarta struts and use > the vlaidator-rule bundled with that... > > HTH > Nitesh > > - Original Message - > From: "roberto" <[EMAIL PROTECTED]> > To: > Sent: Wednesday, June 22, 2005 4:58 PM >

Re: validator and xdoclet

2005-06-22 Thread Nitesh
-rule bundled with that... HTH Nitesh - Original Message - From: "roberto" <[EMAIL PROTECTED]> To: Sent: Wednesday, June 22, 2005 4:58 PM Subject: validator and xdoclet Hi people, I'm an italian student and i have a problem with struts validator. I'm wo

validator and xdoclet

2005-06-22 Thread roberto
Hi people, I'm an italian student and i have a problem with struts validator. I'm working in a universitary project based on standard j2ee for a web applicaton. This project works on jboss with struts, ejb, all handled with xdoclet. The deployment is made by Ant. I have a form written to works wit

Re: Help with validator and xdoclet

2005-03-15 Thread Niall Pemberton
No, can't do that with any of the numeric validators :-( would be a good addition though. Currently the only way to do this is using standard validators shipped with struts is using the "mask" validator. Niall - Original Message - From: "Vinicius Caldeira Carvalho" <[EMAIL PROTECTE

Re: Help with validator and xdoclet

2005-03-15 Thread Vinicius Caldeira Carvalho
Niall Pemberton wrote: I think minlength is the wrong validator for what you're trying to do. It just checks the length of whats keyed in (i.e. the number of characters) ... seems like you want a minimum valueyou could use floatRange for this. http://struts.apache.org/userGuide/dev_validator.ht

Re: Help with validator and xdoclet

2005-03-15 Thread Niall Pemberton
I think minlength is the wrong validator for what you're trying to do. It just checks the length of whats keyed in (i.e. the number of characters) ... seems like you want a minimum valueyou could use floatRange for this. http://struts.apache.org/userGuide/dev_validator.html#builtin Having sai

Re: Help with validator and xdoclet

2005-03-15 Thread Vinicius Caldeira Carvalho
Vinicius Caldeira Carvalho wrote: Hello there! I'm using for the first time, xdoclet to create my validation.xml file (that really help) But I got stuck in a point. I have a property that must be float and also greater than 0. Here's what I've tried: /** * @param limitePreAutorizacao The

Help with validator and xdoclet

2005-03-15 Thread Vinicius Caldeira Carvalho
Hello there! I'm using for the first time, xdoclet to create my validation.xml file (that really help) But I got stuck in a point. I have a property that must be float and also greater than 0. Here's what I've tried: /** * @param limitePreAutorizacao The limitePreAutorizacao to set. *