You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Ted Steen <te...@gmail.com> on 2005/12/16 20:44:46 UTC

int validator broken?

i'm using T-rc1 and when I try to use the Integer validator Tapestry
says there is none.
<input id="activationCode" jwcid="@TextField"
value="ognl:activationCode" displayName="message:activation-code"
validators="validators:int" />

gives me org.apache.hivemind.ApplicationRuntimeException: No validator
named 'int' has been defined.

am I doing something wrong?
--
/ted

---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org


Re: int validator broken?

Posted by Ted Steen <te...@gmail.com>.
Thanks!
and I also forgot that I need to use @ValidField
now it works just fine..

On 12/16/05, Jesse Kuhnert <jk...@gmail.com> wrote:
> validators is for the new validation system binding, where type is implied.
> (I think).
>
> If you want the old way just use validator:
>
> This should be cleared up the next time the tapestry website forrest docs
> are deployed.
>
> On 12/16/05, Ted Steen <te...@gmail.com> wrote:
> >
> > i'm using T-rc1 and when I try to use the Integer validator Tapestry
> > says there is none.
> > <input id="activationCode" jwcid="@TextField"
> > value="ognl:activationCode" displayName="message:activation-code"
> > validators="validators:int" />
> >
> > gives me org.apache.hivemind.ApplicationRuntimeException: No validator
> > named 'int' has been defined.
> >
> > am I doing something wrong?
> > --
> > /ted
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
> >
> >
>
>


--
/ted

---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org


Re: int validator broken?

Posted by Jesse Kuhnert <jk...@gmail.com>.
validators is for the new validation system binding, where type is implied.
(I think).

If you want the old way just use validator:

This should be cleared up the next time the tapestry website forrest docs
are deployed.

On 12/16/05, Ted Steen <te...@gmail.com> wrote:
>
> i'm using T-rc1 and when I try to use the Integer validator Tapestry
> says there is none.
> <input id="activationCode" jwcid="@TextField"
> value="ognl:activationCode" displayName="message:activation-code"
> validators="validators:int" />
>
> gives me org.apache.hivemind.ApplicationRuntimeException: No validator
> named 'int' has been defined.
>
> am I doing something wrong?
> --
> /ted
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>
>