public class FileWebdavTag
extends javax.servlet.jsp.tagext.TagSupport
Modifier and Type | Class and Description |
---|---|
static class |
FileWebdavTag.Webdav |
Modifier and Type | Field and Description |
---|---|
protected Category |
cat |
protected FileDocument |
doc |
protected boolean |
openByBrowser |
protected boolean |
openByWebdav |
static java.lang.String |
REVISION |
protected boolean |
showParentFolder |
protected boolean |
showRoot |
protected java.lang.String |
title |
protected Workspace |
ws |
Constructor and Description |
---|
FileWebdavTag() |
Modifier and Type | Method and Description |
---|---|
void |
clean()
Clean tags parameters
|
int |
doEndTag() |
int |
doStartTag() |
void |
setDoc(FileDocument doc)
This method set the FileDocument to open with webdav
|
void |
setFolder(Category cat)
This method set the category to use to open webfolder
|
void |
setOpenByBrowser(boolean openByBrowser)
Display download icon
|
void |
setOpenByWebdav(boolean openByWebdav)
Display webdav edit icon
|
void |
setShowParentFolder(boolean showParentFolder)
Display the parent folder of the specified FileDocument.
|
void |
setShowRoot(boolean showRoot)
Display root, do not open workspace
|
void |
setTitle(java.lang.String title)
This method set a custom title for the given icon
|
void |
setWorkspace(Workspace ws)
This method set the workspace to use to open webfolder
|
public static final java.lang.String REVISION
protected FileDocument doc
protected Category cat
protected Workspace ws
protected boolean openByWebdav
protected boolean openByBrowser
protected java.lang.String title
protected boolean showRoot
protected boolean showParentFolder
public void setWorkspace(Workspace ws)
ws
- the opening folderpublic void setFolder(Category cat)
cat
- the opening folderpublic void setDoc(FileDocument doc)
doc
- the FileDocument to work withpublic void setTitle(java.lang.String title)
title
- a title for the given iconpublic void setOpenByBrowser(boolean openByBrowser)
openByBrowser
- public void setOpenByWebdav(boolean openByWebdav)
openByWebdav
- public void setShowRoot(boolean showRoot)
showRoot
- public void setShowParentFolder(boolean showParentFolder)
showParentFolder
- public void clean()
public int doStartTag() throws javax.servlet.jsp.JspException
doStartTag
in interface javax.servlet.jsp.tagext.Tag
doStartTag
in class javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.JspException
public int doEndTag()
doEndTag
in interface javax.servlet.jsp.tagext.Tag
doEndTag
in class javax.servlet.jsp.tagext.TagSupport
Copyright © 2001-2010 Jalios SA. All Rights Reserved.