0 Replies Latest reply on Mar 2, 2009 9:14 AM by jgofio

    f:param inside ui:composition doesn't work

      Hi all,

      I have a composition (filter.xhtml) that contains a link that sets a param:

      <ui:composition xmlns="http://www.w3.org/1999/xhtml"
      ...
      <h:commandLink action="#{bean.search}">
       <f:param name="mode" value="B"/>
       <h:graphicImage value="/images/search.png"/>
       Search
      </h:commandLink>
      ...
      </ui:composition>
      



      I use it in other page (main.xhtml) in this way:

      ...
      <ui:include src="/filter.xhtml"/>
      ...
      



      When I show main.xhtml, the buttons appears and when I click on it the action is executed and the navigation rule also, but the param mode isn't set.

      If I put the commandLink directly inside main.xhtml it works fine.

      Can any body tell me how to set the parameter if the commandLink is inside filter.xhtml and then this composite included in main.xhtml????

      Thanks in advance!!