[Building Sakai] Enrollment Status issue
Lydia Li
lydial at stanford.edu
Thu Sep 24 12:24:37 PDT 2009
Hi David,
Are you talking about having a convention for the enrollment status
description (the text that shows up in the pulldown in Roster tool)? I
think that's specific to each institution. I'm not sure what you would
define in the API.
For example, at Stanford, we added a 'Dropped' status and instructors
can view all Dropped students in the Roster tool. The mapping between
the enrollment status in CM and the pulldown display can be defined by
each institution. If you use the
CourseManagementServiceHibernateImpl.java you can define those in the
getEnrollmentStatusDescription() method. It would be nicer if the
mapping is stored in a DB table so we don't need to make code changes if
we add a new status. Once you defined the mappings there, all sakai
tools would be able to use the same value.
thanks,
Lydia
DAVID ROLDAN MARTINEZ wrote:
>
> Hi all,
>
> Does anyone know if there is any convention about enrollment statuses
> values? There are more than one tool that uses these values and, from
> my point of view, this is enough reason to get them defined at
> org.sakaiproject.coursemanagement.api.Membership, so that sakai tools
> would be able to use the same value. I’ve been browsing into Sakai
> source code and have found four different values: “enrolled”,
> “waitlisted”, “wait” and “VeryWellTrusted”.
>
> Regarding to the tools using these values, I’m testing
> sakai.site.roster. It uses it, for example, at
> FilteredStatusListingBean.java to get a SelectItem list of enrollment
> statuses.
>
> I was about to create a JIRA and attach the patch, both for
> CourseManagement API and for Roster tool, but I would like to hear
> your feedback before.
>
> Thank you very much in advance.
>
> David
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> 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