Click JIRA - Closed: (CLK-433) Form validation with custom messages

1 Message Forum Options Options
Embed this topic
Permalink
JIRA click-jira@avoka.com
Click JIRA - Closed: (CLK-433) Form validation with custom messages
Reply Threaded MoreMore options
Print post
Permalink
     [ http://www.avoka.com:8080/jira/browse/CLK-433?page=all ]

Bob Schellink closed CLK-433.
-----------------------------


> Form validation with custom messages
> ------------------------------------
>
>                 Key: CLK-433
>                 URL: http://www.avoka.com:8080/jira/browse/CLK-433
>             Project: Click
>          Issue Type: New Feature
>    Affects Versions: 1.5 M3
>            Reporter: Ricardo R. Lecheta
>         Assigned To: Bob Schellink
>             Fix For: 1.5 RC1
>
>         Attachments: patch.txt
>
>
> As discussed here... this is the patch.
> http://article.gmane.org/gmane.comp.web.click.user/2554
> I changed all the methods Field.setErrorMessage(...) to try read the custom message, before the defaults...
> fieldName.field-required-error
> example:
> name.field-required-error=Custom message for required name ...
> name.field-minlength-error=Custom message here...

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://www.avoka.com:8080/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Click-development mailing list
Click-development@...
https://lists.sourceforge.net/lists/listinfo/click-development