JSP CUSTOM TAG LIBRARIES
ifdocauthor tag
Conditional tag. Restricts generation of the JSP page to only those users who have author access to the current document.
Users have author access to a document if they have:
Editor, designer, or manager access to a database.
Author access to the database and their name is contained in an authors field on the form (or authors item in the document), if the form or document has one.
Note
If the user attempting to access the JSP page does not have at least reader access to the database (if they have only depositor access, for instance), an exception is thrown. To avoid this, if a user might have depositor level access, wrap the document or form tag with an
ifreader tag
.
Contexts
Valid in:
docloop
,
document
,
form
,
viewloop
Syntax
<domino:ifdocauthor
is="true|false"
debug="true|false"
onfailure="inline|exception"
time="true|false">
Attributes
is
If true, evaluates the body of this tag if the user has author access to the document. If false, evaluates the body of this tag if the user does not have author access to the document. If not specified, defaults to true. Optional.
See the
Common Domino JSP tag attributes
section for definitions of debug, onfailure, and time.
See Also
The Domtags tag library
Glossary
Help on Help
Open Full Help Window
Glossary
Help on Help
Open Full Help Window