Properties Defined dlm:property tags explained.
<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>
Properties Defined
There are currently four properties understood by the DLM infrastructure.
Property |
Description |
---|---|
defaultLayoutOwner |
The user account whose layout will be used to perform a cookie cutter copy for newly created fragment owner accounts when they first log in. This concept is similar to the usertemplate account for new uPortal users. |
layoutDecorator |
The fully qualified name of a class that is delegated to by the DLM infrastructure immediately after all layout merging has taken place at log-in time. This class can then add layout information and is used to implement the cp:info functionality. PersonDirs.xml can replace nearly all cp:info functionality. |
campuspipeline.uportal.dlm.debug |
You can guess what this property was for. It was a way to turn on debugging in the DLM infrastructure without incurring scrolling blindness by turning on debugging system wide in uPortal. With the switch to commons logging and log4j this is no longer needed. |
'campuspipeline.uportal.dlm.fragment_cache_refresh |
As noted in the comment this value indicates how often changes are reloaded that are made to the layouts of fragment owner accounts. |