0 Replies Latest reply on Feb 12, 2009 6:41 PM by mcohnen

    s:validateAll, binding attribute

      Hi!


      This is my first post here, so hello to everyone! Let's go


      I'm experimenting with s:validateAll, what I want to do is being able to bind some validation rules (set as hibernate annotations on a backed bean entity) to an arbitrary field. I discovered the bind attribute of s:validateAll, which according to the description, is meant to do exactly what I want. The problem is that I'm receiving an Illegal Argument Exception



      binding="#{surveyHome.instance.name}": java.lang.IllegalArgumentException: argument type mismatch




      surveyHome.instance exists and it has a field named 'name'. What am I doing wrong? is is possible this approach?


      Thank you!