13 Replies Latest reply on Feb 26, 2008 1:23 PM by Pete Muir

    Tuning validation for information

    Nicklas Karlsson Master

      Is there a way of specifying different facets for different levels of component messages?

      Something like a separate

      <f:facet name="aroundInfoField>...

      that would be used if the component had only info-level messages. Could be user e.g. for displaying and info-graphics.

      Or there could be attributes for

      <s:decorate errorTemplate="..." infoTemplate="...">...

      Is it even possible to do currently without duplicating too much view code? Can you access the component somehow in s:decorate so that you can decide what template to use based on if the component has info or error messages?

      Enough interest to justify a JIRA?