[Building Sakai] Calling a service with AJAX
Tania Tritean
TTritean at loi.nl
Wed May 25 05:59:59 PDT 2011
Thx for the response.
I used ActionsExecutable with EntityCustomAction.
Tania
________________________________
From: azeckoski at gmail.com [mailto:azeckoski at gmail.com] On Behalf Of Aaron Zeckoski
Sent: Monday, May 23, 2011 3:15 PM
To: Tania Tritean
Cc: sakai-dev at collab.sakaiproject.org
Subject: Re: [Building Sakai] Calling a service with AJAX
The custom actions are typically not "CRUD" (i.e. supporting create, read, update AND delete) but normally just one aspect of that.
http://microformats.org/wiki/rest/urls
You should use EB and a provider but there is no reason you have to implement the RESTful capability. Just implement what you need.
-AZ
2011/5/23 Tania Tritean <TTritean at loi.nl<mailto:TTritean at loi.nl>>
Hello,
I am creating a user interface with AJAX and I want to call some business logic that is not suitable for RESTful entity provider.
I can implement it using EntityCustomAction annotation in a restful provider, but I don't feel is the right way to do is because is not a CRUDable operation.
Does anybody know how can I do this in sakai without RESTful provider? (some already supported way to do this in sakai, like providers for rest)
Thanks,
Tania
Tania Tritean
Tel.: 035 629 39 23
Leidse Onderwijsinstellingen bv
Leidsedreef 2
2352 BA Leiderdorp
www.loi.nl<http://www.loi.nl>
________________________________
[Nederland wordt steeds slimmer. Leidse Onderwijsinstellingen]
De informatie verzonden met dit e-mailbericht (en bijlagen) is uitsluitend bestemd voor de geadresseerde(n) en zij die van de geadresseerde(n) toestemming hebben dit bericht te lezen. Gebruik door anderen dan geadresseerde(n) is verboden. De informatie in dit e-mailbericht (en de bijlagen) kan vertrouwelijk van aard zijn en kan binnen het bereik vallen van een wettelijke geheimhoudingsplicht. Indien u deze e-mail ten onrechte ontvangen hebt, wordt u verzocht ons daarvan zo spoedig mogelijk per e-mail of telefonisch op de hoogte te stellen, en het ontvangen bericht (en de bijlagen) te wissen zonder deze te lezen, te kopiëren of aan derden bekend te stellen.
P Denk aan het milieu voordat u dit bericht print
_______________________________________________
sakai-dev mailing list
sakai-dev at collab.sakaiproject.org<mailto: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<mailto:sakai-dev-unsubscribe at collab.sakaiproject.org> with a subject of "unsubscribe"
--
Aaron Zeckoski - Software Architect - http://tinyurl.com/azprofile
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20110525/d2e23cf2/attachment.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.gif
Type: image/gif
Size: 4378 bytes
Desc: image001.gif
Url : http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20110525/d2e23cf2/attachment.gif
More information about the sakai-dev
mailing list