[Building Sakai] Site page ordering, programmatically

Evandro Pires Alves evandro at ipb.pt
Tue Jun 30 09:59:00 PDT 2009


Hi

Thank you, it is exactly what I want. I already created the webservice
and will submit it on Jira tomorrow. I already have another webservice
feature request to submit on my list. I'll report back when done.

cheers
evandro p. alves
 
Seg, 2009-06-29 às 16:44 +0100, Steve Swinsburg escreveu:
> Hi,
> 
> The webservice addNewPageToSite() is almost what you want. It is  
> missing the parameter and logic to set the position of the page  
> relative to the other pages though. Does SitePage.setPosition(int  
> position) do what you require?
> 
> If so, craft a webservice based on the existing, but with the extra  
> parameter, add that bit of code and submit it as a Jira feature request.
> 
> cheers,
> Steve
> 
> ---
> Steve Swinsburg
> Portal Systems Developer
> Centre for e-Science
> Lancaster University
> Lancaster
> LA1 4YT
> 
> email: s.swinsburg at lancaster.ac.uk
> phone: +44 (0) 1524 594870
> 
> 
> 
> 
> 
> 
> 
> On 29 Jun 2009, at 16:36, Evandro Pires Alves wrote:
> 
> > Hi
> >
> > I want to add a tool to a collection of sites (personal work sites). I
> > think the only fastest way of doing it is via webservices but I can't
> > find a way to order the created page to the top (I googled around and
> > find that the "home" page is always on the, except explicit set to  
> > other
> > position).
> >
> > I tried searching the core sakai code but I wasn't able to find
> > anything. I'm thinking in creating a webservice to order pages so we  
> > can
> > use it pragmatically.
> >
> > Any help?
> >
> > -- 
> > Evandro P. Alves
> > ================
> > CTI.ESTiG.IPB.PT
> >  CDEV.IPB.PT
> >
> > _______________________________________________
> > 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"
> 
-- 
Evandro P. Alves
================
CTI.ESTiG.IPB.PT
  CDEV.IPB.PT



More information about the sakai-dev mailing list