This content has been marked as final.
Show 1 reply
-
1. Ultimate use of rich:tree?
ilya40umov Jan 16, 2011 3:12 PM (in response to boy18nj)1 of 1 people found this helpfulI guess you can add h:commadLink/h:commandButton to every treeNode and an action of this command element must send a file to user. It will look like this:
http://wiki.apache.org/myfaces/Exporting_DataTable_To_MS-Excel
http://tornorbye.blogspot.com/2006/01/creating-downloadable-files.html
But this file will be opened by browser automatically in a default application. I'm afraid you can't do this with a4j elements because they are not intended to do this work.