AnsweredAssumed Answered

Passing args to webscripts from jsp

Question asked by shlomi on Nov 12, 2007
Latest reply on Jun 15, 2010 by lamba
Hello,

I am trying to figure out how I can call a webscript from a jsp, with specific arguments.

I have replaced the browse.jsp with one of my own, and pointed to it in the navigation xml.

I want to include the doclist control within the view of each space. so in the desired place in the new mybrowse.jsp, I have the line
<r:webScript scriptUrl="wcs/ui/doclist" />

this generates the control, but it always shows me the content of the companyHome.

To change that, I need to pass a parameter (and I succeed if I do it in the browser)
http://alfresco:8080/alfresco/wcs/ui/doclist$&f=0%p=/Company%20Home/shlomi/

I dont know how to pass this parameter from within the jsp. when I tried to put the same url I did in the browser, it ignores it.
Also, I didnt see any special tags like the jsp:include has (such as jsp:param or anything like that).

Please please, I have a deadline this thursday, and I am loosing my mind over it, tell me if my approach is wrong, or what can I do.

Regards,
Shlomi

Outcomes