Jdev 12.1.3
Hi,
I have a link that allows download of file like this:
<af:link text="Test" id="l5" immediate="true">
<af:fileDownloadActionListener method="#{viewScope.itasHomeBean.downloadFile}"
contentType="#{row.bindings.DocumentType.inputValue}"
filename="#{row.bindings.DocumentName.inputValue}" />
</af:link>
I need to build this link in the bean programmatically and I need some guidance. What's the java version of af:fileDownloadActionListener? Should it be added as ActionListener to the link like this?
RichLink link = new RichLink();
link.addActionListener( xxx );
Please advise.
Thanks
-Mina