1 Reply Latest reply on Mar 16, 2009 4:40 PM by Bob Corcoran

    Using s:validate in a modal window

    Bob Corcoran Newbie
      We are using the following seam components on several pages to display an error message when validation fails on a data model constraint:

      f:facet name="beforeInvalidField"
          h:graphicImage width="16" height="16" url="images/error.png" s:message
      /f:facet

      s:validateAll
         s:decorate    
            test area here
         /s:decorate
      s:validateAll

      This is working well. When validation fails, the error image and the error message render where we would expect them to.

      However, when using the same technique in a modal window, the error message and gif do not render. there is a faces message being created, because we can see it if we use rich:message.

      Thanks,
      Bob