New issue 11 by Mehanath...@gmail.com: Type mismatch custom error message
not working
http://code.google.com/p/jquery-validation-ui-plugin/issues/detail?id=11
Type mismatch not showing message of Domain class specific
for example i am havin the following in the message.properties file
1) typeMismatch.java.lang.Integer=Property {0} must be a valid number
2) typeMismatch.Paper.numMrp=Mrp should be a valid integer
When client side validation is Executed validation message is (1)
Also when the same submit throws message (2) in server side validation
which is domain specific
Can we have the second message triggred for clientside also
Comment #1 on issue 11 by limchee...@vobject.com: Type mismatch custom
error message not working
http://code.google.com/p/jquery-validation-ui-plugin/issues/detail?id=11
Hi there,
Thanks for creating the issue. It is more to enhancement instead of defect.
The plugin doesn't support type mismatch custom validation message due to I
unaware Grails did support it in server-side.
Would you consider contribute this feature to the plugin?
Dear Limchee,
Our Team from chennai, India has made some modification in order for the
type mismatch to work
Also one more change in the js file for . valiation is one
I am attaching the plugin for ur reference so that u may check and update
the repository
Thanks
Mehanathen N
Attachments:
grails-jquery-validation-ui-1.1.1.zip 204 KB
Hi Mehanathen,
Thank you very much! So, you fixed this issue yourself?
Regards,
Chee Kin
Yes But pls check it and update the repository once uploaded pls let me know
Noted. Thanks.
I look into your code shortly, I doubt your solution is working as
JQueryValidationUiTagLib.groovy always "return
messageSource.getMessage(code, [propertyName].toArray(), defaultMessage,
locale)" at line 584
Comment #7 on issue 11 by limchee...@vobject.com: Type mismatch custom
error message not working
http://code.google.com/p/jquery-validation-ui-plugin/issues/detail?id=11
(No comment was entered for this change.)