[Building Sakai] How to load a file from sakai folder

Steve Swinsburg steve.swinsburg at gmail.com
Sun Feb 10 13:07:18 PST 2013


Hi,

Do this from sakai.properties, this is how the feature that is in trunk already works, you might like to take a patch.
See https://jira.sakaiproject.org/browse/SAK-21406

cheers,
Steve


On 10/02/2013, at 11:32 AM, Rafael Morales Gamboa <rmorales at suv.udg.mx> wrote:

> Hello,
> 
> In a Sakai installation we will have users from many organizations, so I 
> have created an additional 'organization' field for users (that is saved 
> in user preferences). It is working fine, but we would like to fix the 
> possible values using a dropdown menu. So, I am thinking on a file in 
> the sakai folder in Tomcat's root folder containing the list of valid 
> organization names but, how can I address that folder that is not 
> dependent on its actual location in the file system?
> 
> Now, as I plan to use XML to encode the list of organizations in the 
> file, I am wondering whether there is any preferred way to handle an XML 
> file in Sakai.
> 
> Regards,
> Rafael
> 
> 
> _______________________________________________
> 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