RE: I'm missing something obvious

2007-05-15 Thread Marcus.Schulte
. -Original Message- From: Jesse Kuhnert [mailto:[EMAIL PROTECTED] Sent: Monday, May 14, 2007 10:11 PM To: Tapestry users Subject: Re: I'm missing something obvious Aha. So the only real difference between the demo page and your configuration is that you specified a pattern of 0

Re: I'm missing something obvious

2007-05-14 Thread Jesse Kuhnert
What issue exactly is it that you see? If you could provide the exact text that is presented as the reason for the error as well as what input you gave it to produce the error I can be more helpful. On 5/14/07, Tony Nelson [EMAIL PROTECTED] wrote: Grabbing today's latest build, I'm still

Re: I'm missing something obvious

2007-05-14 Thread Tony Nelson
Sorry Jesse, I didn't realize this message didn't have the whole trail. I have a simple input: input jwcid=[EMAIL PROTECTED] value=ognl:tradeId validators=validators:required,min=0,max=100 translator=translator:number,pattern=0 displayName=Trade

Re: I'm missing something obvious

2007-05-14 Thread Jesse Kuhnert
Hmm doesn't seem to be conjuring up any eurekas for me currently. . I wonder what the difference is between your field and the fields on the Workbench form? http://opencomponentry.com:8080/workbench/Home,$Border.pageLink.sdirect?sp=SFields It has a similar setup but I can't see where the error

Re: I'm missing something obvious

2007-05-14 Thread Tony Nelson
I'm assuming that any value between 1 and 99 should work. I just tried 1234 and it failed as does every other number I type in. Playing w/ the page at opencomponentry that you linked below, the validators seem to work fine which is why I can't figure out what's up. I really think I must

Re: I'm missing something obvious

2007-05-14 Thread Jesse Kuhnert
Aha. So the only real difference between the demo page and your configuration is that you specified a pattern of 0. The demo pages use the more generic # (as well as the default for the number translator). If I remember correctly specifying something like 0 for the pattern forces your input to

RE: I'm missing something obvious

2007-05-11 Thread Marcus.Schulte
This is a regression, the JIRA issue is https://issues.apache.org/jira/browse/TAPESTRY-1071 -Original Message- From: Tony Nelson [mailto:[EMAIL PROTECTED] Sent: Thursday, May 10, 2007 6:57 PM To: Tapestry users Subject: I'm missing something obvious I have a simple form

Re: I'm missing something obvious

2007-05-11 Thread Tony Nelson
6:57 PM To: Tapestry users Subject: I'm missing something obvious I have a simple form that includes this: input jwcid=[EMAIL PROTECTED] value=ognl:tradeId validators=validators:required,min=0,max=100 translator=translator:number,pattern=0

Re: I'm missing something obvious

2007-05-11 Thread Jesse Kuhnert
/TAPESTRY-1071 -Original Message- From: Tony Nelson [mailto:[EMAIL PROTECTED] Sent: Thursday, May 10, 2007 6:57 PM To: Tapestry users Subject: I'm missing something obvious I have a simple form that includes this: input jwcid=[EMAIL PROTECTED] value=ognl:tradeId

I'm missing something obvious

2007-05-10 Thread Tony Nelson
I have a simple form that includes this: input jwcid=[EMAIL PROTECTED] value=ognl:tradeId validators=validators:required,min=0,max=100 translator=translator:number,pattern=0 displayName=Trade ID / And no matter what legal numeric value I

Re: I'm missing something obvious

2007-05-10 Thread Andreas Andreou
What's the type of tradeId ? On 5/10/07, Tony Nelson [EMAIL PROTECTED] wrote: I have a simple form that includes this: input jwcid=[EMAIL PROTECTED] value=ognl:tradeId validators=validators:required,min=0,max=100 translator=translator:number,pattern=0

Re: I'm missing something obvious

2007-05-10 Thread Tony Nelson
Sorry, I should have supplied that in my original e-mail. public abstract Integer getTradeId(); Thanks again Tony Andreas Andreou wrote: What's the type of tradeId ? On 5/10/07, Tony Nelson [EMAIL PROTECTED] wrote: I have a simple form that includes this: input jwcid=[EMAIL PROTECTED]

Re: I'm missing something obvious

2007-05-10 Thread Andreas Andreou
well... the code is correct... i even tried it myself! So, what kind of validation error you get? Client side? or server side? What happens if you disable javascript? On 5/11/07, Tony Nelson [EMAIL PROTECTED] wrote: Sorry, I should have supplied that in my original e-mail. public

Re: I'm missing something obvious

2007-05-10 Thread Tony Nelson
Client side.. the nifty new dojo popup. If I disable client side validation it works fine, and I will do that for now.. but I'd really rather not. Thanks again Tony Andreas Andreou wrote: well... the code is correct... i even tried it myself! So, what kind of validation error you get?