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

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -