-
1. Re: How to download and display a Win Word file from Blob DB field?
serkan Feb 28, 2012 4:41 AM (in response to jinghuiyin)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?
jinghuiyin Feb 28, 2012 4:22 PM (in response to serkan)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?
serkan Mar 1, 2012 10:50 AM (in response to jinghuiyin)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?
jinghuiyin Mar 1, 2012 11:31 AM (in response to serkan)Thanks Serkan. I found a great article for the assignment:
http://seamframework.org/Documentation/HowToUploadAndDownloadFilesInSeam