今、customerCaseController.customerCase.caseIdは数字の文字列で、見出しやラベルとしてxhtmlページに印刷するだけで動作します。メソッドのパラメータとしてJSFのparamの値を渡すには?
私は私のfileAttachmentController
方法findByCustomerCase(String caseId)
を呼び出したいのですが、これは動作していない。ただ方法findByCustomerCaseとのない値にパラメータとしてテキスト「customerCase」を渡す
<f:param customerCase="#{customerCaseController.customerCase.caseId}" />
<p:dataTable var="fileAttachment"
value="#{fileAttachmentController.findByCustomerCase(customerCase)}">
...table-contents...
</p:dataTable>
param customerCase。どのように値を渡すことができますか?
ありがとうございます!それは動作します。私はまだ物事のxhtml側に慣れていないと思う。 +1を使用してui:paramを起動します。 –