Some documentation added to the PublicationExportLink component.

git-svn-id: https://svn.libreccm.org/ccm/trunk@2102 8810af33-2d31-482b-a856-94f89814c4df
master
jensp 2013-03-21 20:31:25 +00:00
parent dd37a275c4
commit 48023b8f55
1 changed files with 17 additions and 6 deletions

View File

@ -9,12 +9,23 @@ import com.arsdigita.xml.Element;
import java.io.UnsupportedEncodingException; import java.io.UnsupportedEncodingException;
import java.net.URLEncoder; import java.net.URLEncoder;
import java.util.List; import java.util.List;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse; import javax.servlet.http.HttpServletResponse;
/** /**
* This component creates export links for all publications in a category. The export works with the descendCategories
* parameter set to true and false. Filters from a {@link CustomizableObjectList} are also supported. To add the
* component add the following to your JSP template:
*
* <pre>
* <define:component name="publicationExportLinks"
* classname="com.arsdigita.cms.scipublications.ui.PublicationExportLinks"/>
* <jsp:scriptlet>
* ((com.arsdigita.cms.scipublications.ui.PublicationExportLinks)publicationExportLinks).setObjList(objList);
* </jsp:scriptlet>
* </pre>
*
* {@code objList} is to be supposed the name of variable for the object list in the template.
* *
* @author Jens Pelzetter <jens@jp-digital.de> * @author Jens Pelzetter <jens@jp-digital.de>
* @version $Id$ * @version $Id$