Leonardo Uribe schrieb:
I haven't found that part on the spec yet, but it seems you're right.
Looking the spec, f:validateBean is not mentioned on chapter 9
Integration with JSP, but it is on chapter 10 Facelets and its use in
Web Applications. Anyway, there is an error on ri jsp taglibdoc that
needs to be solved like with f:viewParam. Also, we need to fix our code
to not include this tag on our taglibdoc.
Now it is clear that we can move the code related to register default
validators to
org.apache.myfaces.view.facelets.tag.jsf.ComponentTagHandlerDelegate,
because this is the right place where the EditableValueHolder is
populated and added to the component tree, and this delegate tag handler
"wraps" all component tag handlers which could implement
EditableValueHolder interface.
My personal opinion regarding all this facelet stuff is, that it is too
early to make jsp a legacy technology, but for now we should restrict
ourselfs to the amount the spec delivers we always can add jsp tags in
subsequent releases.
As for the mentioned stuff that jsp is seen as legacy, sorry for stating
it, I have not seen it in the spec either, but it was mentioned a while
ago here, in a discussion when the same question arose for f:ajax.