[Building Sakai] Portals and transactions

Tania Tritean ttritean at loi.nl
Wed Nov 11 07:26:21 PST 2009


 

 

________________________________

Hi,

 

I have 2 questions, if somebody can help me:-) :

 

Question 1 - About Sakai Portals (sakai version 2.5.3)

 

How can we create a new Sakai portal? I've been looking for some
documentation on this or maybe a short guide on creating/adjusting Sakai
portals, but didn't find anything atm.

For example we would like a portal that contains only the header (with
the Sakai logo and the login) and the content sections displayed.

 

 

Question 2 - About transactions on Sakai Services

 

We are using several Sakai services on various purposes, and we would
like to have everything transactional.

How can we wrap this services in transactions?

Here is the list of the Sakai services we are using is:

-          org.sakaiproject.component.api.ServerConfigurationService

-          org.sakaiproject.user.api.UserDirectoryService

-          org.sakaiproject.tool.api.SessionManager

-          org.sakaiproject.site.api.SiteService

-          org.etudes.mneme.api.SubmissionService

-          org.etudes.mneme.api.AssessmentService

-          org.sakaiproject.authz.api.AuthzGroupService

-          org.sakaiproject.entity.api.EntityManager

-          org.sakaiproject.tool.api.ToolManager

 

We tried an approach like bellow:

            <bean id="transactionalServerConfigurationService"
class="org.springframework.transaction.interceptor.TransactionProxyFacto
ryBean">

                        <property name="transactionManager"
ref="org.sakaiproject.springframework.orm.hibernate.GlobalTransactionMan
ager"/>

                        <property name="target"
ref="org.sakaiproject.component.api.ServerConfigurationService"/>

                        <property name="transactionAttributes">

                                   <props>

                                               <prop
key="*">PROPAGATION_REQUIRED</prop>

                                   </props>

                        </property>

            </bean>

 

but it didn't worked for all services for the list above.

 

Can someone give us a hint about how this should be done? (maybe our
approach was not the right one)

 

 

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20091111/cc7ed371/attachment.html 


More information about the sakai-dev mailing list