[Building Sakai] Overriding complex type in sakai.properties

Ray Davis ray at media.berkeley.edu
Fri Jun 29 12:01:42 PDT 2012


I haven't looked at any of this for a couple of years, but last time I 
*did* look, I could configure maps as described in section "2.2" of:

https://confluence.sakaiproject.org/display/REL/More+Flexible+Sakai+Configuration

Best,
Ray

On 6/29/12 11:43 AM, Patrick Haggood wrote:
> 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)
>
>
>
>
>
>
> _______________________________________________
> sakai-dev mailing list
> sakai-dev at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>
> TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of "unsubscribe"
>




More information about the sakai-dev mailing list