-
1. Re: How to download and display a Win Word file from Blob DB field?
Sergio Angelo Feb 28, 2012 4:41 AM (in response to Qingxin Yi)Hi,
If you want the functionality for directly downloading of your blob files from your xhtml pages, then look in the Seam manual for examples about the s:resource and s:download (jsf) tags.
-
2. Re: How to download and display a Win Word file from Blob DB field?
Qingxin Yi Feb 28, 2012 4:22 PM (in response to Sergio Angelo)Thanks Serkan for your help! However when I tried to use <s:resource> tag I got this error:
<s:resource> Tag library supports namespace: http://jboss.com/products/seam/taglib, but no tag was defined for name: resource
I guess I can't use it unless I do an upgrade.
-
3. Re: How to download and display a Win Word file from Blob DB field?
Sergio Angelo Mar 1, 2012 10:50 AM (in response to Qingxin Yi)Yeah I guess this tag was available in the later versions of Seam, so you should update or write code in your backing bean for the download functionality (which is not that difficult).
-
4. Re: How to download and display a Win Word file from Blob DB field?
Qingxin Yi Mar 1, 2012 11:31 AM (in response to Sergio Angelo)Thanks Serkan. I found a great article for the assignment:
http://seamframework.org/Documentation/HowToUploadAndDownloadFilesInSeam