Questions about web script portlet
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2007 03:37 PM
I have several questions about webscriptportlet:
does the webscript myspaces take into consideration the user athenticated ie does ut only display the spaces taht the user has the right to see?
Does the webscript portlet can be deployed in lifreay as a standalone portlet ? If yes does someone have indications about how to do it?
Does the portletauthenticator that is on the svn supports cas sso?
thanks in advance
does the webscript myspaces take into consideration the user athenticated ie does ut only display the spaces taht the user has the right to see?
Does the webscript portlet can be deployed in lifreay as a standalone portlet ? If yes does someone have indications about how to do it?
Does the portletauthenticator that is on the svn supports cas sso?
thanks in advance
Labels:
- Labels:
-
Archive
12 REPLIES 12

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2007 06:26 AM
Hi Everybody!
I have tried to create a simple external portlet based on WebScriptPortlet class. The problem is that I cannot use the WebScriptPortletResponse class, because the constructor is not visible. I don't know if it's a bug or not. Can anyone notice me about another way to obtain the response in the portlet, please??
Here you can see the code:
Thanks so much!!
Regards,
–
Santigt
I have tried to create a simple external portlet based on WebScriptPortlet class. The problem is that I cannot use the WebScriptPortletResponse class, because the constructor is not visible. I don't know if it's a bug or not. Can anyone notice me about another way to obtain the response in the portlet, please??
Here you can see the code:
private class WebScriptPortalRuntime extends WebScriptRuntime { ….. protected WebScriptResponse createResponse() { return new WebScriptPortletResponse(res); <- ERROR } …..
Thanks so much!!
Regards,
–
Santigt

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2007 06:33 AM
What are you trying to achieve?
I think a step-backwards is required here. You shouldn't need to be messing around with these classes unless you're attempting something obscure.
I think a step-backwards is required here. You shouldn't need to be messing around with these classes unless you're attempting something obscure.

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2007 08:02 AM
Ok, I want to connect liferay and Alfresco (authentication problems solved) using webscript (so, using WebScriptPortlet class). I cannot use exactly your WebScriptPortlet code because I need:
+ to obtain other information from Liferay, for example, portal name, id user,…
+ to connect (using HTML hyperlinks) webscripts between them. For example, sending args (PRE or POST) from one to other. So we need to change and modify the URL from the hyperlinks. Example:
Before:
After:
That's why I have to do this portlet.
Any advice? Thanks a lot!
–
Santigt
+ to obtain other information from Liferay, for example, portal name, id user,…
+ to connect (using HTML hyperlinks) webscripts between them. For example, sending args (PRE or POST) from one to other. So we need to change and modify the URL from the hyperlinks. Example:
Before:
<a href="http://localhost:8080/alfresco/wcservice/test2?path=Home+company">…</a>
After:
<a href="http://localhost:8080/?urlScript=/alfresco/168s/test2&_AlfrescoTest_WAR_alfresco_path=Home+company">…</a>
That's why I have to do this portlet.
Any advice? Thanks a lot!
–
Santigt
