[Building Sakai] Overriding complex type in sakai.properties

Patrick Haggood phaggood at umich.edu
Fri Jun 29 11:43:02 PDT 2012


An old mailing list entry (
http://permalink.gmane.org/gmane.comp.cms.sakai.devel/23245)  demonstrates
a way to override a boolean in components.xml with another value in
sakai.properties; is there support for more complex types in
sakai.properties; i.e. a map?

components.xml (this works)

<bean foo>
       <property name="portalLinks"><map/>
       <map>
       <entry key="gmail">
 <map>
<entry key="label" value="GMail"/>
 <entry key="image" value="images/email.png"/>
<entry key="link" value="http://email.umich.edu"/>
 </map>
</entry>
</bean>

components.xml (what I want in components.xml)
<bean foo>
    <property name="portalLinks"><map/></property>
</bean>

sakai.properties (example of overriding empty map in components.xml with
actual values)
       portalLinks at food = (appropriate syntax, using map in 1st
components.xml above, for sakai.properties)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20120629/5ef65579/attachment.html 


More information about the sakai-dev mailing list