• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Parameterized error messages

 
pavan babu
Greenhorn
Posts: 15
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

I am doing validations using annotaions.I want to pass a parameter to a error message so that it will show a generic error message,some thing like

"SomeName" is required

where SomeName is a custom parameter.I know the otherways like using the filederror but I couldn't figure out how to do the same using annotaions.Any help is apreciated.

Thanks
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic