1 Reply Latest reply on May 22, 2008 2:22 AM by Ronald van Kuijk

    s:decorateAll

    Thiago Meneghello Newbie

        Anyone know why the Seam did not create the component s:decorateAll to use with s:validateAll?


        I found the JIRA JBSEAM-394 created on 08/Oct/2006 but this Jira was closed and this component still doesnot exist in Seam.


        I tried to create a UIComponent to do a s:decorateAll, but I have some problem when I got a Validator message, all the Input are duplicated on my form. That wold be great if was create a component like this on Seam.

        • 1. Re: s:decorateAll
          Ronald van Kuijk Apprentice

          I think the difficulty is that an s:decorateAll has no way to know how you want things decorated. So many possibilities in complex pages that you probably need to provide some info on how to decorate. Where do you need to put that? Either in the s:decorateAll tag, which makes it rather difficult to maintain since it is info away from the nodes/inputelements/.. it is about. The second possibility is to put it near those elements. This is easier to maintain and is in fact what the s:decorate tag does.


          Still this is just my wild guess