Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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
xml
xml
<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
xml
xml
<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

...