[Building Sakai] Wicket and entity broker

Adrian Fish a.fish at lancaster.ac.uk
Tue Jan 11 04:29:36 PST 2011


Hi Tania,

If you set the action attribute of the form to the EB url (eg: 
/direct/my-service/my-action) it should send the parameters through to 
the Map<String,Object> params argument in the custom action method. In 
other words Wicket's form handling isn't involved at all.

Does the custom action return anything other than a success code?

Cheers,
Adrian.

On 11/01/2011 11:57, Tania Tritean wrote:
>
> Hello,
>
> I need to call a EntityCustomAction from a wicket tool. Can anybody 
> please tell me how can I do that?
>
> In the tool I have a page, on the submit button of the form from that 
> page I want to call the method annotated with EntityCustomAction.
>
> The method can throw different exceptions that I need to handle in UI.
>
>  Is there a 'rest client' in sakai that I can use for this with wicket?
>
> Thanks in advance,
>
> Tania
>
>
> _______________________________________________
> 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"

-- 
==================================
Adrian Fish
Software Engineer
Centre for e-Science
Bowland Tower South C Floor
Lancaster University
Lancaster
LA1 4YW
email: a.fish at lancaster.ac.uk

http://confluence.sakaiproject.org/display/YAFT/Yaft
http://confluence.sakaiproject.org/display/CLOG/Home
http://confluence.sakaiproject.org/display/BBB/Home

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


More information about the sakai-dev mailing list