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

Rafael Morales Gamboa rmorales at suv.udg.mx
Mon Feb 11 11:10:11 PST 2013


Hi Steve,

Thank you. It looks great and it would have saved me some hours of work. 
But this part of the job is done. What I need to do now is to implement 
menus for my (already implemented) additional attributes.

Regards,
Rafael


El 10/02/2013 03:07 p.m., Steve Swinsburg escribió:
> 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