title: How to pass a action string into a JSF 2 composite component?
body: <p>I'm creating a simple menuing composite component in JSF 2.  However, I am unable to pass a String attribute into the composite component to use in the action attribute of the &lt;h:commandLink&gt;.  My component looks like:</p>
  
  <pre><code>&lt;composite:interface&gt;
      &lt;composite:attribute name="title" required="true" type="java.lang.String"/&gt;
      &lt;composite:attribute name="view" required="true" /&gt;
  &lt;/composite:interface&gt;
  
  &lt;!--implementation--&gt;
  &lt;composite:implementation&gt;
      &lt;li&gt;&lt;h:commandLink action="#{cc.attrs.view}" value="#{cc.attrs.title}" /&gt;&lt;/li&gt;
  &lt;/composite:implementation&gt;
  </code></pre>
  
  <p>How can I get an action String into the action attribute of the &lt;h:commandLink&gt;?</p>