[Building Sakai] Overriding complex type in sakai.properties
Aaron Zeckoski
azeckoski at unicon.net
Fri Jun 29 12:39:28 PDT 2012
Maybe it is better to just let people set a chunk of html. This really
seems overly complex to me.
-AZ
On Fri, Jun 29, 2012 at 3:35 PM, Patrick Haggood <phaggood at umich.edu> wrote:
> 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>
>
>
>
--
Aaron Zeckoski - Software Architect - http://tinyurl.com/azprofile
More information about the sakai-dev
mailing list