On Tue, Jun 21, 2011 at 10:56 AM, Parker, Michael
<michael.par...@ccur.com> wrote:
> Is there a way to upload documents (pdfs, images, etc) to a document library 
> using the Jetspeed portal?  If so, how?

The j2-admin application has examples of using the Wicket's file
uploader, see UploadPortletApp.java. Prior to migrating the code to
Wicket, we used Apache Commons File Upload
Take a look at PortalDataSerializer.java, it has an example of uploading files

>
> Similarly, is there a way to view the contents of a folder containing 
> documents (e.g. in a list view that lets you click on a file to open it), or 
> would that have to be implemented by creating a portlet that does that?  If 
> it's built in, how do you do it?

I can't think of any examples in the Jetspeed code base. The Site
Manager portlet provides a tree view over the entire portal "file
system", but that is all driven off the Jetspeed Page Manager API,
which can ultimately store its content on the file system or in a
database, depending on how  it was configured




-- 
David

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscr...@portals.apache.org
For additional commands, e-mail: jetspeed-user-h...@portals.apache.org

Reply via email to