ui:include with JSF rendered does not work the actions

Asked

Viewed 398 times

3

have two ui:include within a template, follow the example below:

/*Desse Jeito ele entra nos metodo corretamente!*/
<ui:include src="../home/dados.xhtml"></ui:include>

/* com rendered não entra no metodo */
<h:panelGroup rendered="#{param['lotes'] == true}">
    <ui:include src="../home/dados.xhtml"></ui:include>
</h:panelGroup>

why does that occur? how can I resolve this mt thanks!

  • the problem must be rendered the condition instead of true must give false, if false does not render the content of the tag and with that nothing is called even

1 answer

-2

I’ve been through a problem in this regard.

In my case it was just me doing it this way:

<h:panelGroup rendered="#{param['lotes'] == 'true'}"> <ui:include src="../home/dados.xhtml"> </ui:include> /h:panelGroup>

Browser other questions tagged

You are not signed in. Login or sign up in order to post.