JSP CUSTOM TAG LIBRARIES


ifdocreader tag
Conditional tag. Restricts generation of the JSP page to only those users who have reader access to the current document. Users have reader access to a document if:

1. They have at least reader access to the database containing the document.

2. Their name is contained in the readers field on the form (or readers item in the document), if the form or document has one.

Note If a user does not have reader access to a document, that document will never appear in any view he or she accesses. However, a user can receive a document that he or she does not have reader access to via a mail attachment or from a cut and pasted URL. This tag protects a document from being accessed by a user that receives it using one of these alternate methods.

Note If the user attempting to access the JSP 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:


Syntax
Attributes

is


See the Common Domino JSP tag attributes section for definitions of debug, onfailure, and time.

See Also