...
The following evaluator factories are provided. All are found in the org.jasig.portal.layout.dlm.providers package.
Anchor |
---|
| GuestUserEvaluatorFactory |
---|
| GuestUserEvaluatorFactory |
---|
|
The GuestUserEvaluatorFactory
...
Code Block |
---|
|
<dlm:fragment name='Guests' ownerID='guest-lo' precedence='10'>
<dlm:audience evaluatorFactory='org.jasig.portal.layout.dlm.providers.GuestUserEvaluatorFactory'/>
</dlm:fragment>
|
Anchor |
---|
| AllUsersEvaluatorFactory |
---|
| AllUsersEvaluatorFactory |
---|
|
The AllUsersEvaluatorFactory
This factory produces and evaluator that always returns true. This can be used to push a fragment to all portal users including the guest user. Like GuestUserEvaluatorFactory it requires no content within the audience element and hence the element can be empty.
Anchor |
---|
| PersonEvaluatorFactory |
---|
| PersonEvaluatorFactory |
---|
|
The PersonEvaluatorFactory
...
Code Block |
---|
|
<dlm:fragment name='Entertainment' ownerID='ent-lo' precedence='100'>
<dlm:audience evaluatorFactory='org.jasig.portal.layout.dlm.providers.PersonEvaluatorFactory'>
<paren mode="NOT">
<attribute name="username" mode='equals' value='guest'/>
</paren>
</dlm:audience>
</dlm:fragment>
|
Anchor |
---|
| GroupMembershipEvaluatorFactory |
---|
| GroupMembershipEvaluatorFactory |
---|
|
The GroupMembershipEvaluatorFactory
...
Code Block |
---|
|
<dlm:fragment name='News' ownerID='news-lo' precedence='80'>
<dlm:audience evaluatorFactory='org.jasig.portal.layout.dlm.providers.GroupMembershipEvaluatorFactory'>
<paren mode="AND">
<attribute mode='memberOf' name='Students'/>
<paren mode="NOT">
<attribute mode='memberOf' name='Faculty'/>
</paren>
</paren>
</dlm:audience>
</dlm:fragment>
|
Info |
---|
|
Additional References |
Warning |
---|
icon | false |
---|
title | Having problems with these instructions? |
---|
|
Please send us feedback at uportal-user@lists.ja-sig.org |