[Building Sakai] Overriding complex type in sakai.properties

Patrick Haggood phaggood at umich.edu
Fri Jun 29 12:35:38 PDT 2012


Was using map because the number of entires is variable; below I have four
(gmail, calendar, docs, gplus) but this list could get larger.  With the
map my backing bean simply checks if portalLinks.size() = 0 which signals
tht the link dropdown is not shown.  The existing map in my components is
thus:

       <property name="portalLinks">
       <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>
       <entry key="calendar">
<map>
<entry key="label" value="Calendar"/>
<entry key="image" value="images/calendar.png"/>
<entry key="link" value="http://calendar.umich.edu"/>
</map>
</entry>
       <entry key="docs">
<map>
<entry key="label" value="Docs"/>
<entry key="image" value="images/docs.png"/>
<entry key="link" value="http://docs.umich.edu"/>
</map>
</entry>
       <entry key="gplus">
<map>
<entry key="label" value="Google+"/>
<entry key="image" value="images/gplus.png"/>
<entry key="link" value="http://gplus.umich.edu"/>
</map>
</entry>
</map>
       </property>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20120629/e3558a21/attachment.html 


More information about the sakai-dev mailing list