<af:commandLink text="Save as a file" id="cl1" partialSubmit="true"
styleClass="Text Button" inlineStyle="width:88px;">
<af:fileDownloadActionListener contentType="text/csv" filename="Payment.csv"
<af:clientListener method="closeWindow" type="action"/>
Pls tell me, Is there another way to close window automatically once the file downloaded.
please , Help me
Thanks in advance.