JSP CUSTOM TAG LIBRARIES


ifreader tag
Conditional tag. Restricts JSP generation based on whether a user has reader level access to a database, as defined in the ACL. If the "is" attribute equals true, evaluates the body of the tag if the user who opened the database (see Security) has reader access. If the "is" attribute equals false, evaluates the body if the user does not have reader access to the database.

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 item in the document, if the document has one.

Note If the user attempting to access a 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 this tag.

Contexts

Valid in:


Syntax
Attributes

is


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

See Also