more implementation - got the conference list to the script. Also fixed up
the low-level services a bit...
This commit is contained in:
@@ -27,10 +27,19 @@ rhelp = bsf.lookupBean("request_help"); // get request helper
|
||||
user = vlib.getUser(req); // get user
|
||||
comm = vlib.getCommunity(req); // get community
|
||||
|
||||
// Get the conference access object.
|
||||
commsvc = vcast.queryCommunityService(rhelp.getRequestObject(Namespaces.DYNAMO_OBJECT_NAMESPACE,"communities"));
|
||||
conf_ns = "http://www.silverwrist.com/NS/venice/2003/06/19/conferencing";
|
||||
conf_tmp = commsvc.getServiceForName(conf_ns,"conferencing.service").getAccessObject();
|
||||
conf_access = lib_conf.castConferenceAccessObject(conf_tmp);
|
||||
|
||||
// Create the view.
|
||||
rc = new VelocityView("Conference List: " + comm.name,"conf/conferences.vm");
|
||||
rc.setParameter("community",comm);
|
||||
|
||||
// Get the conference list.
|
||||
rc.setParameter("conferences",conf_access.getConferences(user,comm));
|
||||
|
||||
// Can we manage the conference list?
|
||||
perm_namespace = "http://www.silverwrist.com/NS/venice/2003/06/25/conferencing.permissions";
|
||||
srm = cast.querySecurityReferenceMonitor(req_help.getRequestObject(Namespaces.DYNAMO_OBJECT_NAMESPACE,"srm"));
|
||||
|
||||
@@ -17,9 +17,10 @@
|
||||
*#
|
||||
#*
|
||||
Parameters:
|
||||
community = The community we're getting the conferences of.
|
||||
can_manage = Set if we can manage the ordering of conferences.
|
||||
can_create = Set if we can create new conferences.
|
||||
community = The community we're getting the conferences of.
|
||||
conferences = The list of conferences for this community.
|
||||
can_manage = Set if we can manage the ordering of conferences.
|
||||
can_create = Set if we can create new conferences.
|
||||
*#
|
||||
#header2( "Conference List:" $community.Name )
|
||||
## TEMPORARY
|
||||
|
||||
Reference in New Issue
Block a user