私が持っているのはデータテーブルで、リストを返すメソッドがあります。
私が持っている構文は
<h:dataTable id="imageList3"
value="#{PersonalInformationDataBean.loadReviewReportDataByIdNewFormat()}"
var="reviewMyList" width="80%" border="1">
私がやりたいのは#{patentMyList.patentId}
、メソッドに変数名 name を渡すことですloadReviewReportDataByIdNewFormat()
。しかし、私はそうすることができません....
これを行う方法はありますか?
もし私がcommandButtonを持っていたら、私は<f:setPropertyActionListener>
.
ノート :
私が使用する場合、その作業
<h:dataTable id="imageList3"
value="#{PersonalInformationDataBean.loadReviewReportDataByIdNewFormat(1)}"
var="reviewMyList" width="80%" border="1">
でも
<h:dataTable id="imageList3"
value="#{PersonalInformationDataBean.loadReviewReportDataByIdNewFormat(#{patentMyList.patentId})}"
var="reviewMyList" width="80%" border="1">