jsf 2 - f:param to composite components -
in jsf2.1 composite component if try pass f:param composite component (command button) , recieve in component editablevalueholder ,it doesn't seems working,
any ideas?
<mycomp id="button" outcome="newpage" > <f:param name="foo" outcome="bar" for="button"/> </mycomp> compositecomponent.... <cc:interface> <cc:attribute name="action" targets="commandlink" required="true" /> </cc:interface> <cc:implementation> <h:commandlink id="commandlink" action="#{cc.attrs.action}"> </h:commandlink> </cc:implementation>
use <cc:insertchildren>.
<h:commandlink ...> <cc:insertchildren /> </h:commandlink>
Comments
Post a Comment