Render it's body depending whether the user is in a specific role or not.
| Name | Type | Flags | Default | Default Prefix | Description |
|---|
| else | org.apache.tapestry.Block | | | prop | An alternate org.apache.tapestry.Block to render if the test parameter is false. The default, null, means
render nothing in that situation.
|
| negate | boolean | | | prop | Optional parameter to invert the test. If true, then the body is rendered when the test
parameter is false (not true).
|
| role | String | Required | | literal | If the logged in user matches this role, then the body of the IfRole component is rendered. If false, the body is
omitted.
|