RE: I'm missing something obvious

2007-05-15 Thread Marcus.Schulte
In our setup, the problem will only occur with numbers with more than 3
digits. As far
as I can see, dojo guesses the grouping from the locale when no
grouping-character is given.
To me, it seems as if the flag groupSize in the call to
dojo.i18n.number.isReal should be
explicitly set to zero.

 -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.  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 be exactly one digit, so 
 anything like 11 would fail.
 http://java.sun.com/j2se/1.4.2/docs/api/java/text/DecimalFormat.html
 
 
 
 On 5/14/07, Tony Nelson [EMAIL PROTECTED] wrote:
 
  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 have a typo, a missing comma or 
 something just 
  crazy but I can't find it.
 
  Thanks again for all of your efforts
  Tony
 
 
  Jesse Kuhnert wrote:
   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.sdirec
  t?sp=SFields
  
  
   It has a similar setup but I can't see where the error is 
 happening.
  
   What exact value should pass but is failing for you? Just 
 to be sure.
  
   On 5/14/07, Tony Nelson [EMAIL PROTECTED] wrote:
  
   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 ID
 /
  
  
   the tradeId property is nothing more than:
  
   public abstract Integer getTradeId();
  
  
   No matter what value I enter, valid or not, I alway get a dojo 
   popup with 3 errors, the input must be a number, it must 
 be greater 
   than 0
  and
   less than 10.
  
   I can get past this issue by disabling client validation, but I 
   really don't want to do that.
  
   I believe the dojo warning I'm seeing is from a 
 datePicker that is 
   on the form, but I will have to do some more research.
  
   Thanks again for all of your help.
  
   Tony Nelson
  
   Jesse Kuhnert wrote:
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 seeing the same dojo
   validation
issue.   As a bonus, there is a new debug message:
   
DEBUG: EXPERIMENTAL: dojo.i18n.number -- Not yet 
 ready for use. 
APIs subject to change without notice.
   
Happy Monday!
   
Thanks in advance,
Tony Nelson
   
snipped
   
   
   
   
  
  
  
   
 ---
   -- 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]
 
 
 
 
 --
 Jesse Kuhnert
 Tapestry/Dojo team member/developer
 
 Open source based consulting work centered around 
 dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com
 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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 seeing the same dojo validation
issue.   As a bonus, there is a new debug message:

DEBUG: EXPERIMENTAL: dojo.i18n.number -- Not yet ready for use. APIs
subject to change without notice.

Happy Monday!

Thanks in advance,
Tony Nelson

snipped





--
Jesse Kuhnert
Tapestry/Dojo team member/developer

Open source based consulting work centered around
dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com


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 ID
 /


the tradeId property is nothing more than:

   public abstract Integer getTradeId();


No matter what value I enter, valid or not, I alway get a dojo popup 
with 3 errors, the input must be a number, it must be greater than 0 and 
less than 10. 

I can get past this issue by disabling client validation, but I really 
don't want to do that.


I believe the dojo warning I'm seeing is from a datePicker that is on 
the form, but I will have to do some more research.


Thanks again for all of your help.

Tony Nelson

Jesse Kuhnert wrote:

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 seeing the same dojo validation
issue.   As a bonus, there is a new debug message:

DEBUG: EXPERIMENTAL: dojo.i18n.number -- Not yet ready for use. APIs
subject to change without notice.

Happy Monday!

Thanks in advance,
Tony Nelson

snipped








-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

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 is happening.

What exact value should pass but is failing for you? Just to be sure.

On 5/14/07, Tony Nelson [EMAIL PROTECTED] wrote:


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 ID
  /


the tradeId property is nothing more than:

public abstract Integer getTradeId();


No matter what value I enter, valid or not, I alway get a dojo popup
with 3 errors, the input must be a number, it must be greater than 0 and
less than 10.

I can get past this issue by disabling client validation, but I really
don't want to do that.

I believe the dojo warning I'm seeing is from a datePicker that is on
the form, but I will have to do some more research.

Thanks again for all of your help.

Tony Nelson

Jesse Kuhnert wrote:
 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 seeing the same dojo
validation
 issue.   As a bonus, there is a new debug message:

 DEBUG: EXPERIMENTAL: dojo.i18n.number -- Not yet ready for use. APIs
 subject to change without notice.

 Happy Monday!

 Thanks in advance,
 Tony Nelson

 snipped







-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
Jesse Kuhnert
Tapestry/Dojo team member/developer

Open source based consulting work centered around
dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com


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 have a typo, a missing comma or something just 
crazy but I can't find it.


Thanks again for all of your efforts
Tony


Jesse Kuhnert wrote:

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 is happening.

What exact value should pass but is failing for you? Just to be sure.

On 5/14/07, Tony Nelson [EMAIL PROTECTED] wrote:


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 ID
  /


the tradeId property is nothing more than:

public abstract Integer getTradeId();


No matter what value I enter, valid or not, I alway get a dojo popup
with 3 errors, the input must be a number, it must be greater than 0 and
less than 10.

I can get past this issue by disabling client validation, but I really
don't want to do that.

I believe the dojo warning I'm seeing is from a datePicker that is on
the form, but I will have to do some more research.

Thanks again for all of your help.

Tony Nelson

Jesse Kuhnert wrote:
 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 seeing the same dojo
validation
 issue.   As a bonus, there is a new debug message:

 DEBUG: EXPERIMENTAL: dojo.i18n.number -- Not yet ready for use. APIs
 subject to change without notice.

 Happy Monday!

 Thanks in advance,
 Tony Nelson

 snipped







-
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]

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 be exactly one digit, so anything like 11 would fail.
http://java.sun.com/j2se/1.4.2/docs/api/java/text/DecimalFormat.html



On 5/14/07, Tony Nelson [EMAIL PROTECTED] wrote:


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 have a typo, a missing comma or something just
crazy but I can't find it.

Thanks again for all of your efforts
Tony


Jesse Kuhnert wrote:
 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 is happening.

 What exact value should pass but is failing for you? Just to be sure.

 On 5/14/07, Tony Nelson [EMAIL PROTECTED] wrote:

 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 ID
   /


 the tradeId property is nothing more than:

 public abstract Integer getTradeId();


 No matter what value I enter, valid or not, I alway get a dojo popup
 with 3 errors, the input must be a number, it must be greater than 0
and
 less than 10.

 I can get past this issue by disabling client validation, but I really
 don't want to do that.

 I believe the dojo warning I'm seeing is from a datePicker that is on
 the form, but I will have to do some more research.

 Thanks again for all of your help.

 Tony Nelson

 Jesse Kuhnert wrote:
  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 seeing the same dojo
 validation
  issue.   As a bonus, there is a new debug message:
 
  DEBUG: EXPERIMENTAL: dojo.i18n.number -- Not yet ready for use. APIs
  subject to change without notice.
 
  Happy Monday!
 
  Thanks in advance,
  Tony Nelson
 
  snipped
 
 
 
 



 -
 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]





--
Jesse Kuhnert
Tapestry/Dojo team member/developer

Open source based consulting work centered around
dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com


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 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 enter, I always get 
 a validation error.
 
 Where is my typo?  Because I certainly can't find it.
 
 I'm using yesterdays 4.1.2 snapshot.
 
   dependency
   groupIdtapestry/groupId
   artifactIdtapestry-annotations/artifactId
   version4.1.2-20070509.030104-65/version
   properties
 war.bundletrue/war.bundle
   /properties
   /dependency
   dependency
   groupIdtapestry/groupId
   artifactIdtapestry-contrib/artifactId
   version4.1.2-20070509.030104-68/version
   properties
 war.bundletrue/war.bundle
   /properties
   /dependency
   dependency
   groupIdtapestry/groupId
   artifactIdtapestry-framework/artifactId
   version4.1.2-20070509.030104-76/version
   properties
 war.bundletrue/war.bundle
   /properties
   /dependency
 
 Thanks in advance for any help.
 
 Tony
 
 
 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: I'm missing something obvious

2007-05-11 Thread Tony Nelson

Does that mean there is a fix floating around somewhere?

Thanks
Tony

[EMAIL PROTECTED] wrote:

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 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 enter, I always get 
a validation error.


Where is my typo?  Because I certainly can't find it.

I'm using yesterdays 4.1.2 snapshot.

  dependency
  groupIdtapestry/groupId
  artifactIdtapestry-annotations/artifactId
  version4.1.2-20070509.030104-65/version
  properties
war.bundletrue/war.bundle
  /properties
  /dependency
  dependency
  groupIdtapestry/groupId
  artifactIdtapestry-contrib/artifactId
  version4.1.2-20070509.030104-68/version
  properties
war.bundletrue/war.bundle
  /properties
  /dependency
  dependency
  groupIdtapestry/groupId
  artifactIdtapestry-framework/artifactId
  version4.1.2-20070509.030104-76/version
  properties
war.bundletrue/war.bundle
  /properties
  /dependency

Thanks in advance for any help.

Tony






-
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]

Re: I'm missing something obvious

2007-05-11 Thread Jesse Kuhnert

I hadn't noticed this before.  Yes a fix will go out tonight.

On 5/11/07, Tony Nelson [EMAIL PROTECTED] wrote:


Does that mean there is a fix floating around somewhere?

Thanks
Tony

[EMAIL PROTECTED] wrote:
 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 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 enter, I always get
 a validation error.

 Where is my typo?  Because I certainly can't find it.

 I'm using yesterdays 4.1.2 snapshot.

   dependency
   groupIdtapestry/groupId
   artifactIdtapestry-annotations/artifactId
   version4.1.2-20070509.030104-65/version
   properties
 war.bundletrue/war.bundle
   /properties
   /dependency
   dependency
   groupIdtapestry/groupId
   artifactIdtapestry-contrib/artifactId
   version4.1.2-20070509.030104-68/version
   properties
 war.bundletrue/war.bundle
   /properties
   /dependency
   dependency
   groupIdtapestry/groupId
   artifactIdtapestry-framework/artifactId
   version4.1.2-20070509.030104-76/version
   properties
 war.bundletrue/war.bundle
   /properties
   /dependency

 Thanks in advance for any help.

 Tony





 -
 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]





--
Jesse Kuhnert
Tapestry/Dojo team member/developer

Open source based consulting work centered around
dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com


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 enter, I always get a 
validation error.


Where is my typo?  Because I certainly can't find it.

I'm using yesterdays 4.1.2 snapshot.

 dependency
 groupIdtapestry/groupId
 artifactIdtapestry-annotations/artifactId
 version4.1.2-20070509.030104-65/version
 properties
   war.bundletrue/war.bundle
 /properties
 /dependency
 dependency
 groupIdtapestry/groupId
 artifactIdtapestry-contrib/artifactId
 version4.1.2-20070509.030104-68/version
 properties
   war.bundletrue/war.bundle
 /properties
 /dependency
 dependency
 groupIdtapestry/groupId
 artifactIdtapestry-framework/artifactId
 version4.1.2-20070509.030104-76/version
 properties
   war.bundletrue/war.bundle
 /properties
 /dependency

Thanks in advance for any help.

Tony


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

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
  displayName=Trade ID
  /


And no matter what legal numeric value I enter, I always get a
validation error.

Where is my typo?  Because I certainly can't find it.

I'm using yesterdays 4.1.2 snapshot.

  dependency
  groupIdtapestry/groupId
  artifactIdtapestry-annotations/artifactId
  version4.1.2-20070509.030104-65/version
  properties
war.bundletrue/war.bundle
  /properties
  /dependency
  dependency
  groupIdtapestry/groupId
  artifactIdtapestry-contrib/artifactId
  version4.1.2-20070509.030104-68/version
  properties
war.bundletrue/war.bundle
  /properties
  /dependency
  dependency
  groupIdtapestry/groupId
  artifactIdtapestry-framework/artifactId
  version4.1.2-20070509.030104-76/version
  properties
war.bundletrue/war.bundle
  /properties
  /dependency

Thanks in advance for any help.

Tony



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
Andreas Andreou - [EMAIL PROTECTED] - http://andyhot.di.uoa.gr
Tapestry / Tacos developer
Open Source / JEE Consulting


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] 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 enter, I always get a
validation error.

Where is my typo?  Because I certainly can't find it.

I'm using yesterdays 4.1.2 snapshot.

  dependency
  groupIdtapestry/groupId
  artifactIdtapestry-annotations/artifactId
  version4.1.2-20070509.030104-65/version
  properties
war.bundletrue/war.bundle
  /properties
  /dependency
  dependency
  groupIdtapestry/groupId
  artifactIdtapestry-contrib/artifactId
  version4.1.2-20070509.030104-68/version
  properties
war.bundletrue/war.bundle
  /properties
  /dependency
  dependency
  groupIdtapestry/groupId
  artifactIdtapestry-framework/artifactId
  version4.1.2-20070509.030104-76/version
  properties
war.bundletrue/war.bundle
  /properties
  /dependency

Thanks in advance for any help.

Tony



-
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]

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 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] 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 enter, I always get a
 validation error.

 Where is my typo?  Because I certainly can't find it.

 I'm using yesterdays 4.1.2 snapshot.

   dependency
   groupIdtapestry/groupId
   artifactIdtapestry-annotations/artifactId
   version4.1.2-20070509.030104-65/version
   properties
 war.bundletrue/war.bundle
   /properties
   /dependency
   dependency
   groupIdtapestry/groupId
   artifactIdtapestry-contrib/artifactId
   version4.1.2-20070509.030104-68/version
   properties
 war.bundletrue/war.bundle
   /properties
   /dependency
   dependency
   groupIdtapestry/groupId
   artifactIdtapestry-framework/artifactId
   version4.1.2-20070509.030104-76/version
   properties
 war.bundletrue/war.bundle
   /properties
   /dependency

 Thanks in advance for any help.

 Tony



 -
 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]





--
Andreas Andreou - [EMAIL PROTECTED] - http://andyhot.di.uoa.gr
Tapestry / Tacos developer
Open Source / JEE Consulting


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?
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 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] 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 enter, I always get a
 validation error.

 Where is my typo?  Because I certainly can't find it.

 I'm using yesterdays 4.1.2 snapshot.

   dependency
   groupIdtapestry/groupId
   artifactIdtapestry-annotations/artifactId
   version4.1.2-20070509.030104-65/version
   properties
 war.bundletrue/war.bundle
   /properties
   /dependency
   dependency
   groupIdtapestry/groupId
   artifactIdtapestry-contrib/artifactId
   version4.1.2-20070509.030104-68/version
   properties
 war.bundletrue/war.bundle
   /properties
   /dependency
   dependency
   groupIdtapestry/groupId
   artifactIdtapestry-framework/artifactId
   version4.1.2-20070509.030104-76/version
   properties
 war.bundletrue/war.bundle
   /properties
   /dependency

 Thanks in advance for any help.

 Tony



 -
 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]