Originally one developer ran into this on JBoss on his machine. He passed it on to another that dropped the war into Tomcat, it worked for him. So, then I dropped it into my JBoss and I received the error. My JBoss install used the all option. So, I thought maybe JBoss-AOP was interfering, but that's a shot in the dark.
On 11/17/05, Patrick Casey <[EMAIL PROTECTED]> wrote: > > > Is JBoss using the same JVM as your vanilla Tomcat system? I'm still > hung up on the potential red herring of that date format. > > --- Pat > > > -----Original Message----- > > From: Todd Orr [mailto:[EMAIL PROTECTED] > > Sent: Thursday, November 17, 2005 9:53 PM > > To: Tapestry users > > Subject: Re: JBoss/Tomcat Validation Error Inconsistency > > > > I totally forgot to mention the weirdest part, it works on Tomcat. I > don't > > know what that means. > > > > On 11/17/05, Konstantin Ignatyev <[EMAIL PROTECTED]> wrote: > > > > > > That was my thought too but > > > SimpleDateFormat("MM/dd/yyyy") happily accepts > > > 7/1/2001 at least in 1.5.0_05 > > > .... > > > > > > --- Patrick Casey <[EMAIL PROTECTED]> wrote: > > > > > > > > > > > Did you try setting your minDate to '07/01/2005'? I > > > > don't have time > > > > to check, but I'm not sure if MM/DD/YYYY requires > > > > the padding zero or not. > > > > > > > > --- Pat > > > > > > > > > -----Original Message----- > > > > > From: Todd Orr [mailto:[EMAIL PROTECTED] > > > > > Sent: Thursday, November 17, 2005 4:34 PM > > > > > To: Tapestry users > > > > > Subject: JBoss/Tomcat Validation Error > > > > Inconsistency > > > > > > > > > > We are evaluating Tapestry 4 at the company I'm > > > > working for and we've run > > > > > into a strange error. Upon navigating to the page > > > > in question we receive > > > > > an > > > > > error when the page attempts to load its > > > > validators. Perhaps we've missed > > > > > something, or this is a true bug. I hope its the > > > > former since this may > > > > > impact our decision making. Any ideas would be > > > > greatly appreciated. > > > > > > > > > > JDK5 > > > > > Tapestry4-beta13 > > > > > JBoss4.03SP1 > > > > > Tomcat5 > > > > > > > > > > From the Exception page: > > > > > > > > > > Error initializing validator 'minDate' (class > > > > > org.apache.tapestry.form.validator.MinDate): > > > > Unable to convert '7/1/2005' > > > > > to > > > > > type java.util.Date (for property minDate of > > > > object > > > > > > > > > [EMAIL PROTECTED]): > > > > Unparseable date: > > > > > "7/1/2005"; - nested throwable: > > > > (java.text.ParseException: Unparseable > > > > > date: > > > > > "7/1/2005") > > > > > > > > > > 61</component> 62 > > > > > 63<component id="shippingDate" type="DatePicker"> > > > > 64 <binding name="value" > > > > > value="shippingDate"/> 65 <binding > > > > name="translator" > > > > > value="translator:date,pattern=MM/dd/yyyy"/> 66 > > > > <binding name="validators" > > > > > > > > > > > > value="validators:required,minDate=7/1/2005,maxDate=12/31/2005"/> > > > > > 67<binding name="displayName" > > > > value="literal:Shipping Date"/> > > > > > 68</component> 69 > > > > > 70<component id="desc" type="TextArea"> 71 > > > > <binding name="value" > > > > > value="desc"/> > > > > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > > To unsubscribe, e-mail: > > > > [EMAIL PROTECTED] > > > > For additional commands, e-mail: > > > > [EMAIL PROTECTED] > > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
