Я застрял на простом вопросе JSF2:
XHTML:
<xvf:simpleOut identifier="12345"/>
Предполагается, что составной компонент передает 12345 бэк-компоненту и выводит некоторые данные:
<composite:interface>
<composite:attribute name="identifier" required="true" type="java.lang.String"/>
</composite:interface>
<composite:implementation>
<!--@elvariable id="arg" type="java.lang.String"-->
<ui:param name="arg" value="#{cc.attrs.identifier}"/>
<h:outputText value="#{myBean.getTestOutput('???????')}"/>
</composite:implementation>
Как передать значение identifier
, в моем случае «12345», в метод getTestOutput(String arg)
бина?