[Building Sakai] SakaiCMS - Membership of course site problem

Zhen Qian zqian at umich.edu
Mon Aug 3 09:35:06 PDT 2009


Phuc:

It looks like your site is a non-course type site, otherwise, Site  
Info should display "Term", and "Roster(s) with site access"  
information, etc.

You can change the site type to "course" and see if it helps...

Thanks,

- Zhen
On Aug 3, 2009, at 12:07 PM, phucbui wrote:

>
> Dear all,
> I still cannot display members of a site, though members can enter  
> their
> sites.
> Would you please tell me which method in class  
> CourseManagementService is
> responsible for displaying list of members :-((
> The methods that return Membership or Set<Membership> or Enrollment or
> EnrollmentSet :confused:
>
> Thanks a lot
> Phuc Bui
>
>
> phucbui wrote:
>>
>> Dear all,
>> I'm implementing Sakai Course Management System.
>> When I create a course site, I can not see the list of members in  
>> Site
>> Info tool, though members can enter that site.
>> Please look at the picture:
>>  http://www.nabble.com/file/p24774795/cms_problem.jpg
>> There are 2 members in site, while I can see the list of members  
>> in Site
>> Info tool.
>> And the role is also not good, two that members have role as  
>> Student, but
>> they have right to edit Site Info.
>> So I wonder where the problem is ?
>> And how about AbstractMembershipContainerCmImpl in
>> MembershipCmImpl(userId, role, memberContainer, status);
>> I have done that: new MembershipCmImpl("abc", "Student", null,
>> "enrolled");
>>
>> And here is my components.xml in provider pack.
>> <property name="roleResolvers">
>> 	<list>
>> 		<bean
>> class="org.sakaiproject.coursemanagement.impl.provider.SectionRoleRes 
>> olver">
>> 			<property name="roleMap">
>> 				<map>
>> 					<entry key="Instructor" value="Instructor" />
>> 					<entry key="Student" value="Student" />
>> 					<entry key="Teaching Assistant" value="Teaching Assistant"/>
>> 				</map>
>> 			</property>
>> 			<property name="officialInstructorRole" value="Instructor" />
>> 			<property name="enrollmentStatusRoleMap">
>> 				<map>
>> 					<entry key="enrolled" value="Student" />
>> 					<entry key="wait" value="Student" />
>> 				</map>
>> 			</property>
>> 		</bean>
>> 		<bean
>> class="org.sakaiproject.coursemanagement.impl.provider.CourseOffering 
>> RoleResolver">
>> 			<property name="roleMap">
>> 				<map>
>> 					<entry key="CourseAdmin" value="Instructor" />
>> 					<entry key="I" value="Instructor" />
>> 					<entry key="Instructor" value="Instructor" />
>> 					<entry key="Student" value="Student" />
>> 				</map>
>> 			</property>
>> 		</bean>
>> 		<bean
>> class="org.sakaiproject.coursemanagement.impl.provider.CourseSetRoleR 
>> esolver">
>> 			<property name="roleMap">
>> 				<map>
>> 					<entry key="DeptAdmin" value="Instructor" />
>> 				</map>
>> 			</property>
>> 		</bean>
>> 	</list>
>> </property>
>>
>
> -- 
> View this message in context: http://www.nabble.com/SakaiCMS--- 
> Membership-of-course-site-problem-tp24774795p24793431.html
> Sent from the Sakai - Development mailing list archive at Nabble.com.
>
> _______________________________________________
> 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