I can't help you with your issue (I don't believe it would
be a
MyFaces problem, however), but to clear up your
understanding:
> My first thought: the reason is that a TagHandler only
is valid during
> tree creation.
> Doing a post to the same view requests the previously
created tree which
> means the
> TagHandler won't be called again.
> But something is wrong with my understanding of
compiletime and rendertime
> because the
> TagHandler gets called everytime regardless of a post
to the same view or
> requesting a new view.
>
TagHandlers will also be called on the postback (much like
JSP-Tags,
they will also be executed on the postback as well).
TagHandlers won't
be executed for every row of a dataTable or a
<ui:repeat/>, however -
so you can't use tree-build-time functionality (like
tag-handlers,
e.g. c:if) in such iterating components, if you want them to
be
evaluated for every row anew.
regards,
Martin
------------------------------------------------------------
---------
To unsubscribe, e-mail: users-unsubscribe facelets.dev.java.net
For additional commands, e-mail: users-help facelets.dev.java.net
|