[jboss-user] [JBoss Portal] - Re: File download from CMS

PeterJ do-not-reply at jboss.com
Wed Aug 16 11:27:04 EDT 2006


Handling this in the portal is pretty much the same as handling it for a regular web site.  First, one of the HTML pages you uploaded to CMS needs to have links to the files you would like user to be able to download.  Second, you have to be aware of the types of files being downloaded.  If the file is HTML, it will appear in the CMS portlet.  Other file types will appear in a separate window/tab (the Reference Guide provides details on this, rather than my looking it up to confirm what I just wrote I leave it to you to verify this).  If the browser believes it can display the file, it will do so.  If not, it will pop up the file download dialog box.  Of course, the user can always right-click on any link and choose download.  Knowing this browser behavior, I usually add "right-click to download" next to links for files the browser can display.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3965518#3965518

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3965518



More information about the jboss-user mailing list