Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Code Block
xml
xml
titledlm.xml
borderStylesolid

<managedLayoutFragments xmlns:dlm="http://www.campuspipeline.com/uportal/dlm">

...



  <dlm:property name='defaultLayoutOwner' value='fragmentTemplate'/>

...


  <dlm:property name='layoutDecorator' value='com.pipeline.uportal.dlm.provider.CpLayoutDecorator'/>

...


  <dlm:property name='campuspipeline.uportal.dlm.debug' value="false"/>

...


  
  <!-- Controls clearing of dlm fragment cache.  This allows changes  made to layout

...


  owners to be reflected once the cache has been updated.  Specified in minutes. -->

...


  
  <dlm:property name='campuspipeline.uportal.dlm.fragment_cache_refresh' value="60"/>

...



  <dlm:fragment name='Faculty' ownerID='faculty-lo' precedence='50'>

...


   <dlm:role>faculty</dlm:role>

...


   <dlm:audience evaluatorFactory='com.pipeline.uportal.dlm.provider.CPPersonEvaluatorFactory'>

...


     <attribute name='role' mode='equals' value='faculty'/>

...


   </dlm:audience>

...


  </dlm:fragment>

...



  <dlm:fragment name='All Users' ownerID='allusers-lo' precedence='100'>

...


   <dlm:audience evaluatorFactory='campuspipeline.uportal.dlm.provider.AllUsersEvaluatorFactory'/>

...


  </dlm:fragment>

...



  <dlm:fragment name='Students' ownerID='student-lo' precedence='100'>

...


   <dlm:role>student</dlm:role>

...


   <dlm:audience evaluatorFactory='com.pipeline.uportal.dlm.provider.CPPersonEvaluatorFactory'>

...


     <paren mode="AND">

...

     
       <attribute name='role' mode='equals' value='student'/>

...


       <paren mode="NOT">

...


         <attribute name='role' mode='equals' value='faculty'/>

...


       </paren>

...


     </paren>

...


   </dlm:audience>

...


 </dlm:fragment>

...


  
  <dlm:fragment name='Employee' ownerID='employee-lo' precedence='30'>

...


   <dlm:role>employee</dlm:role>

...


   <dlm:audience evaluatorFactory='com.pipeline.uportal.dlm.provider.CPPersonEvaluatorFactory'>

...


     <attribute name='role' mode='equals' value='employee'/>

...


   </dlm:audience>

...


  </dlm:fragment>

</managedLayoutFragments>

...

Code Block
xml
xml

<test>
  <another tag="attribute"/>
</test>
No Format