Hello Zied,

maybe two Commands with the rendered attribute would be a better choice.

Regards

Bernd



Zied Hamdi wrote:
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

Reply via email to