myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zied Hamdi" <javaha...@gmail.com>
Subject [tobago] Tag vs. component with facelets
Date Thu, 04 Oct 2007 11:27:38 GMT
Hi,

I have a little problem with runtime vs build-time tags:

I have a component page categories.xhtml containing the snippet:

                  <c:if test="#{not empty ajaxScope}">

                        <tc:attribute

                             name="renderedPartially"

                             value="#{ajaxScope}" />

                  </c:if>




included by a page as follows:

                             <ui:include src="/contract/categories.xhtml">

                                   <ui:param

                                         name="ajaxScope"

                                         value=":page:mainInfoTabPanel" />

                             </ui:include>



The c:if evaluates correctly at build time and adds the attribute to its
parent. But it seems tc:attribute evaluates at runtime: it finds null.

Having two varibales one runtime and one build time with the same value is a
little barbar.

Anyone knows how to resolve this? Any idea is welcome.

Regards,
Zied

Mime
View raw message