You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by Matthew Pomar <ma...@hotmail.com> on 2003/09/15 22:09:07 UTC
getMessage on Field is Blank in T2.3
There is a problem with Intake's Field object that on some of my fields,
getMessage is blank even though there is a validation error for that field
(isAllValid = false).
Does anyone know what the problem may be? Here is my intake group:
<field name="myNumber" key="MyNumberKey" type="int">
<rule name="required" value="true">This field is required.</rule>
<rule name="mask" value="[0-9]+">Must be a number between 10 and
1000.</rule>
<rule name="minValue" value="10">Must be greater than 10.</rule>
<rule name="maxValue" value="1000">Must be less than 1000.</rule>
</field>
The message is pupulated with the "required" rule, but doesn't populate with
the other rules.
Any help is greatly, greatly, greatly appreciated!!!
Thank You.
Re: getMessage on Field is Blank in T2.3
Posted by Scott Eade <se...@backstagetech.com.au>.
Matthew Pomar wrote:
>There is a problem with Intake's Field object that on some of my fields,
>getMessage is blank even though there is a validation error for that field
>(isAllValid = false).
>
>Does anyone know what the problem may be? Here is my intake group:
>
><field name="myNumber" key="MyNumberKey" type="int">
><rule name="required" value="true">This field is required.</rule>
><rule name="mask" value="[0-9]+">Must be a number between 10 and
>1000.</rule>
><rule name="minValue" value="10">Must be greater than 10.</rule>
><rule name="maxValue" value="1000">Must be less than 1000.</rule>
></field>
>
>The message is pupulated with the "required" rule, but doesn't populate with
>the other rules.
>
>Any help is greatly, greatly, greatly appreciated!!!
>
>
See this:
http://nagoya.apache.org/eyebrowse/ReadMsg?listName=turbine-dev@jakarta.apache.org&msgNo=15533
Scott
--
Scott Eade
Backstage Technologies Pty. Ltd.
http://www.backstagetech.com.au