By the way, i have another question :
What if i add another constraint, say "addConstraint(new ConstrainedProperty("firstName").email(true).notNull(true));"
Is there a way i can display a different error message according to the cause ? I mean i want to display "the first name is not valid" if the user typed an invalid firstName, and "First name is required" if the user left the field empty.
Finally, about my RIFE/Eclipse/Tomcat tutorial, is there a way to add pics in the wiki ? It's because i made some screen shots to make this tutorial much more detailed.
Best regards.
Laki
On 5/9/06, Geert Bevin <[EMAIL PROTECTED]> wrote:
This might be a bug. I'll have to investigate. I keep you posted.
Thanks for reporting this.
On 09 May 2006, at 21:15, Laki Roganovic wrote:
> Actually, i only put a "addConstraint(new ConstrainedProperty
> ("firstName").email(true));" in my VIPMetaData class. (Ok, it's
> really stupid but it's just for testing purpose).
> When i submit my form with a wrong value, this wrong value remains
> in the field, while the error message is showed in <!--V
> 'ERRORS:firstName'/-->.
> <!--V 'ERRORS'/--> stays empty.
>
> Thanks
>
> Laki
>
> On 5/9/06, Geert Bevin < [EMAIL PROTECTED]> wrote: On 09 May 2006, at
> 20:59, Laki Roganovic wrote:
>
> > You were right Geert.
> > Adding <!--V 'ERRORS'/--> solved my problem. However, i'm little
> > confused about this behavior, since firstName is my only
> > constrained property...
> > I can't figure out why it is requested to have this tag.
> > However, i really enjoy learning RIFE, like i enjoy its community.
> > Thanks a lot all you guys for the efficient and fast support you
> > provide.
>
> Is that value filled in with anything when the validation is
> generated?
>
> --
> Geert Bevin Uwyn bvba GTalk:
> [EMAIL PROTECTED]
> "Use what you need" Avenue de Scailmont 34 Skype: gbevin
> http://www.uwyn.com 7170 Manage, Belgium AIM: geertbevin
> gbevin at uwyn dot com Tel: +32 64 84 80 03 Mobile: +32 477 302 599
>
> PGP Fingerprint : 4E21 6399 CD9E A384 6619 719A C8F4 D40D 309F D6A9
> Public PGP key : available at servers pgp.mit.edu, wwwkeys.pgp.net
>
>
> _______________________________________________
> Rife-users mailing list
> [email protected]
> http://lists.uwyn.com/mailman/listinfo/rife-users
>
> _______________________________________________
> Rife-users mailing list
> [email protected]
> http://lists.uwyn.com/mailman/listinfo/rife-users
--
Geert Bevin Uwyn bvba GTalk: [EMAIL PROTECTED]
"Use what you need" Avenue de Scailmont 34 Skype: gbevin
http://www.uwyn.com 7170 Manage, Belgium AIM: geertbevin
gbevin at uwyn dot com Tel: +32 64 84 80 03 Mobile: +32 477 302 599
PGP Fingerprint : 4E21 6399 CD9E A384 6619 719A C8F4 D40D 309F D6A9
Public PGP key : available at servers pgp.mit.edu, wwwkeys.pgp.net
_______________________________________________
Rife-users mailing list
[email protected]
http://lists.uwyn.com/mailman/listinfo/rife-users
_______________________________________________ Rife-users mailing list [email protected] http://lists.uwyn.com/mailman/listinfo/rife-users
