Component Index

nu.localhost.tapestry.acegi.components.IfLoggedIn

Render it's body depending whether the user is in a specific role or not.[JavaDoc]

Parameters

NameTypeFlagsDefaultDefault PrefixDescription
elseorg.apache.tapestry.BlockpropAn alternate org.apache.tapestry.Block to render if the test parameter is false. The default, null, means render nothing in that situation.
negatebooleanpropOptional parameter to invert the test. If true, then the body is rendered when the test parameter is false (not true).

nu.localhost.tapestry.acegi.components.IfRole

Render it's body depending whether the user is in a specific role or not.

[JavaDoc]

Parameters

NameTypeFlagsDefaultDefault PrefixDescription
elseorg.apache.tapestry.BlockpropAn alternate org.apache.tapestry.Block to render if the test parameter is false. The default, null, means render nothing in that situation.
negatebooleanpropOptional parameter to invert the test. If true, then the body is rendered when the test parameter is false (not true).
roleStringRequiredliteralIf the logged in user matches this role, then the body of the IfRole component is rendered. If false, the body is omitted.