Olaf Kock Hace 12 años toolbox.add(this);Very nice - thanks! Por favor identifíquese para votar. Contestar como... Cancelar
jelmer kuperus Hace 12 años A shame it does not work when you use https. How about applying my fix from : http://issues.liferay.com/browse/LPS-14965(pretty please) Por favor identifíquese para votar. Contestar como... Cancelar Ray Augé jelmer kuperus Hace 12 años Done! https://github.com/brianchandotcom/liferay-portal/pull/882 Por favor identifíquese para votar. Contestar como... Cancelar
Ray Augé jelmer kuperus Hace 12 años Done! https://github.com/brianchandotcom/liferay-portal/pull/882 Por favor identifíquese para votar. Contestar como... Cancelar
jelmer kuperus Hace 12 años sweet! thanks Por favor identifíquese para votar. Contestar como... Cancelar
praveen orvakanti Hace 12 años Hi,I’m getting an ugly “Java null pointer exception” when I try to run Social Office on MySQL. I have tried to find the solution online but there is not much help out there. I have even posted in one of the forums, but there’s been no response in the last two days.I know that this is not the right place for this question, but i had no other solution. So im just asking everyone who is involved with Social Office at some point or the other.I’m posting a few excerpts from the log file here. Please let me know if you can suggest me some workaround for this error.Error Log:Aug 12, 2011 12:26:31 PM org.apache.tomcat.util.net.NioEndpoint setSocketOptionsSEVERE:java.lang.NullPointerExceptionat org.apache.tomcat.util.net.NioEndpoint.setSocketOptions(NioEndpoint.java:1011)at org.apache.tomcat.util.net.NioEndpoint$Acceptor.run(NioEndpoint.java:1204)at java.lang.Thread.run(Thread.java:595)Caused by: java.lang.NullPointerExceptionat com.liferay.so.hook.events.ServicePreAction.run(ServicePreAction.java:98)at com.liferay.portal.kernel.events.InvokerAction.run(InvokerAction.java:51)at com.liferay.portal.events.EventsProcessorImpl.processEvent(EventsProcessorImpl.java:91)... 74 more12:28:53,515 ERROR [jsp:?] User ID 1016012:28:53,515 ERROR [jsp:?] Current URL /web/admin/home12:28:53,515 ERROR [jsp:?] Referer null12:28:53,515 ERROR [jsp:?] Remote address 127.0.0.112:28:53,515 ERROR [jsp:?] com.liferay.portal.kernel.events.ActionException: java.lang.NullPointerExceptioncom.liferay.portal.kernel.events.ActionException: java.lang.NullPointerExceptionat com.liferay.portal.events.ServicePreAction.run(ServicePreAction.java:150)at com.liferay.portal.events.EventsProcessorImpl.processEvent(EventsProcessorImpl.java:91)at com.liferay.portal.events.EventsProcessorImpl.process(EventsProcessorImpl.java:68)at com.liferay.portal.events.EventsProcessorUtil.process(EventsProcessorUtil.java:63)at com.liferay.portal.servlet.MainServlet.service(MainServlet.java:800)at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:173)at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:103) Por favor identifíquese para votar. Contestar como... Cancelar
Enrique Ruiz (DiSiD) Hace 12 años Hi all, Where could I found API doc about Liferay, PortletURL objects?Thanks Por favor identifíquese para votar. Contestar como... Cancelar Ray Augé Enrique Ruiz (DiSiD) Hace 12 años As far as I can tell that is still in the "to be documented" queue.Here is the link to the js source though: https://github.com/liferay/liferay-portal/blob/master/portal-web/docroot/html/js/liferay/portlet_url.js Por favor identifíquese para votar. Contestar como... Cancelar Jean-Christophe Constantin Ray Augé Hace 12 años Hio, i try to do the same thing but I just want to display 'Article' in popup. I wrote something like that : var url = Liferay.PortletURL.createRenderURL(); url.setPortletId('56'); url.setWindowState('pop_up'); url.setParameter("struts_action", "/journal/view_article"); url.setParameter("groupId","18"); url.setParameter("articleId","10460"); url.setParameter("version","1.0");Only this message in the popup : "Portlet is temporarily unavailable. "anyone could help me, please? Por favor identifíquese para votar. Contestar como... Cancelar Ray Augé Jean-Christophe Constantin Hace 12 años Try this portletId instead "56_INSTANCE_0000". That ID is whitelisted and should allow you to open this portlet dynamically.Note that for security reasons most portlets have to be added to the resource check whitelist (portlet.add.default.resource.check.whitelist) before they allow you to open them dynamically otherwise any enterprising hacker could open any portlet in the system using javascript in a browser's scripting console. Por favor identifíquese para votar. Contestar como... Cancelar Jean-Christophe Constantin Ray Augé Hace 12 años thanks Ray but where do i modify these properties? In portal-ext.properties? Por favor identifíquese para votar. Contestar como... Cancelar Ray Augé Jean-Christophe Constantin Hace 12 años Change the portletId in your code, and the whitelist in portal-ext.properties.Make sure to "append", new values to the defaults of the property. The defaults for 6.1 are here: https://github.com/liferay/liferay-portal/blob/6.1.x/portal-impl/src/portal.properties#L467 Por favor identifíquese para votar. Contestar como... Cancelar Jean-Christophe Constantin Ray Augé Hace 12 años i set this in porta-ext.properties :portlet.add.default.resource.check.enabled=trueportlet.add.default.resource.check.whitelist=58,56_INSTANCE_0000,86,87,88,103,113,145and now there's no longer ""Portlet is temporarily unavailable. " but popur is clear.in my console : 16:11:39,459 ERROR [RequestProcessor:676] Invalid path was requested /journal/view_article16:11:39,459 ERROR [PortletRequestProcessor:363] User ID null16:11:39,459 ERROR [PortletRequestProcessor:364] Current URL /en/zoltan?p_p_id=56_INSTANCE_0000&p_p_lifecycle=0&p_p_state=pop_up&_56_INSTANCE_0000_groupId=18&_56_INSTANCE_0000_struts_action=%2Fjournal%2Fview_article&_56_INSTANCE_0000_articleId=10460&_56_INSTANCE_0000_version=1.016:11:39,459 ERROR [PortletRequestProcessor:365] Referer http://localhost:8080/en/web/guest/zoltan16:11:39,459 ERROR [PortletRequestProcessor:366] Remote address 127.0.0.116:11:39,459 ERROR [PortletRequestProcessor:368] Invalid path was requested /journal/view_article Por favor identifíquese para votar. Contestar como... Cancelar Ray Augé Jean-Christophe Constantin Hace 12 años - Editado It looks fishy! Try setting the portlet mode (to "view"). Por favor identifíquese para votar. Contestar como... Cancelar Jean-Christophe Constantin Ray Augé Hace 12 años nothing's better. Maybe it's a problem of struts path. In my liferay-portlet.xml :<portlet> <portlet-name>56</portlet-name> <icon>/html/icons/journal_content.png</icon> <struts-path>journal_content</struts-path>...... Por favor identifíquese para votar. Contestar como... Cancelar Jean-Christophe Constantin Jean-Christophe Constantin Hace 12 años i've the solution.Summarizing then, with Liferay 6.0.6 CE :url.setPortletId('56_INSTANCE_0000');url.setWindowState('pop_up');url.setParameter("struts_action", "/journal_content/view"); url.setParameter("groupId","18");url.setParameter("articleId","17106");My mistake was on the struts_action path. Look at liferay-portlet.xml and struts-config.xml. It's very important not to forget te "groupId". For "whitelist", see above. And thanks to Ray for his help. Por favor identifíquese para votar. Contestar como... Cancelar
Ray Augé Enrique Ruiz (DiSiD) Hace 12 años As far as I can tell that is still in the "to be documented" queue.Here is the link to the js source though: https://github.com/liferay/liferay-portal/blob/master/portal-web/docroot/html/js/liferay/portlet_url.js Por favor identifíquese para votar. Contestar como... Cancelar Jean-Christophe Constantin Ray Augé Hace 12 años Hio, i try to do the same thing but I just want to display 'Article' in popup. I wrote something like that : var url = Liferay.PortletURL.createRenderURL(); url.setPortletId('56'); url.setWindowState('pop_up'); url.setParameter("struts_action", "/journal/view_article"); url.setParameter("groupId","18"); url.setParameter("articleId","10460"); url.setParameter("version","1.0");Only this message in the popup : "Portlet is temporarily unavailable. "anyone could help me, please? Por favor identifíquese para votar. Contestar como... Cancelar Ray Augé Jean-Christophe Constantin Hace 12 años Try this portletId instead "56_INSTANCE_0000". That ID is whitelisted and should allow you to open this portlet dynamically.Note that for security reasons most portlets have to be added to the resource check whitelist (portlet.add.default.resource.check.whitelist) before they allow you to open them dynamically otherwise any enterprising hacker could open any portlet in the system using javascript in a browser's scripting console. Por favor identifíquese para votar. Contestar como... Cancelar Jean-Christophe Constantin Ray Augé Hace 12 años thanks Ray but where do i modify these properties? In portal-ext.properties? Por favor identifíquese para votar. Contestar como... Cancelar Ray Augé Jean-Christophe Constantin Hace 12 años Change the portletId in your code, and the whitelist in portal-ext.properties.Make sure to "append", new values to the defaults of the property. The defaults for 6.1 are here: https://github.com/liferay/liferay-portal/blob/6.1.x/portal-impl/src/portal.properties#L467 Por favor identifíquese para votar. Contestar como... Cancelar Jean-Christophe Constantin Ray Augé Hace 12 años i set this in porta-ext.properties :portlet.add.default.resource.check.enabled=trueportlet.add.default.resource.check.whitelist=58,56_INSTANCE_0000,86,87,88,103,113,145and now there's no longer ""Portlet is temporarily unavailable. " but popur is clear.in my console : 16:11:39,459 ERROR [RequestProcessor:676] Invalid path was requested /journal/view_article16:11:39,459 ERROR [PortletRequestProcessor:363] User ID null16:11:39,459 ERROR [PortletRequestProcessor:364] Current URL /en/zoltan?p_p_id=56_INSTANCE_0000&p_p_lifecycle=0&p_p_state=pop_up&_56_INSTANCE_0000_groupId=18&_56_INSTANCE_0000_struts_action=%2Fjournal%2Fview_article&_56_INSTANCE_0000_articleId=10460&_56_INSTANCE_0000_version=1.016:11:39,459 ERROR [PortletRequestProcessor:365] Referer http://localhost:8080/en/web/guest/zoltan16:11:39,459 ERROR [PortletRequestProcessor:366] Remote address 127.0.0.116:11:39,459 ERROR [PortletRequestProcessor:368] Invalid path was requested /journal/view_article Por favor identifíquese para votar. Contestar como... Cancelar Ray Augé Jean-Christophe Constantin Hace 12 años - Editado It looks fishy! Try setting the portlet mode (to "view"). Por favor identifíquese para votar. Contestar como... Cancelar Jean-Christophe Constantin Ray Augé Hace 12 años nothing's better. Maybe it's a problem of struts path. In my liferay-portlet.xml :<portlet> <portlet-name>56</portlet-name> <icon>/html/icons/journal_content.png</icon> <struts-path>journal_content</struts-path>...... Por favor identifíquese para votar. Contestar como... Cancelar Jean-Christophe Constantin Jean-Christophe Constantin Hace 12 años i've the solution.Summarizing then, with Liferay 6.0.6 CE :url.setPortletId('56_INSTANCE_0000');url.setWindowState('pop_up');url.setParameter("struts_action", "/journal_content/view"); url.setParameter("groupId","18");url.setParameter("articleId","17106");My mistake was on the struts_action path. Look at liferay-portlet.xml and struts-config.xml. It's very important not to forget te "groupId". For "whitelist", see above. And thanks to Ray for his help. Por favor identifíquese para votar. Contestar como... Cancelar
Jean-Christophe Constantin Ray Augé Hace 12 años Hio, i try to do the same thing but I just want to display 'Article' in popup. I wrote something like that : var url = Liferay.PortletURL.createRenderURL(); url.setPortletId('56'); url.setWindowState('pop_up'); url.setParameter("struts_action", "/journal/view_article"); url.setParameter("groupId","18"); url.setParameter("articleId","10460"); url.setParameter("version","1.0");Only this message in the popup : "Portlet is temporarily unavailable. "anyone could help me, please? Por favor identifíquese para votar. Contestar como... Cancelar Ray Augé Jean-Christophe Constantin Hace 12 años Try this portletId instead "56_INSTANCE_0000". That ID is whitelisted and should allow you to open this portlet dynamically.Note that for security reasons most portlets have to be added to the resource check whitelist (portlet.add.default.resource.check.whitelist) before they allow you to open them dynamically otherwise any enterprising hacker could open any portlet in the system using javascript in a browser's scripting console. Por favor identifíquese para votar. Contestar como... Cancelar Jean-Christophe Constantin Ray Augé Hace 12 años thanks Ray but where do i modify these properties? In portal-ext.properties? Por favor identifíquese para votar. Contestar como... Cancelar Ray Augé Jean-Christophe Constantin Hace 12 años Change the portletId in your code, and the whitelist in portal-ext.properties.Make sure to "append", new values to the defaults of the property. The defaults for 6.1 are here: https://github.com/liferay/liferay-portal/blob/6.1.x/portal-impl/src/portal.properties#L467 Por favor identifíquese para votar. Contestar como... Cancelar Jean-Christophe Constantin Ray Augé Hace 12 años i set this in porta-ext.properties :portlet.add.default.resource.check.enabled=trueportlet.add.default.resource.check.whitelist=58,56_INSTANCE_0000,86,87,88,103,113,145and now there's no longer ""Portlet is temporarily unavailable. " but popur is clear.in my console : 16:11:39,459 ERROR [RequestProcessor:676] Invalid path was requested /journal/view_article16:11:39,459 ERROR [PortletRequestProcessor:363] User ID null16:11:39,459 ERROR [PortletRequestProcessor:364] Current URL /en/zoltan?p_p_id=56_INSTANCE_0000&p_p_lifecycle=0&p_p_state=pop_up&_56_INSTANCE_0000_groupId=18&_56_INSTANCE_0000_struts_action=%2Fjournal%2Fview_article&_56_INSTANCE_0000_articleId=10460&_56_INSTANCE_0000_version=1.016:11:39,459 ERROR [PortletRequestProcessor:365] Referer http://localhost:8080/en/web/guest/zoltan16:11:39,459 ERROR [PortletRequestProcessor:366] Remote address 127.0.0.116:11:39,459 ERROR [PortletRequestProcessor:368] Invalid path was requested /journal/view_article Por favor identifíquese para votar. Contestar como... Cancelar Ray Augé Jean-Christophe Constantin Hace 12 años - Editado It looks fishy! Try setting the portlet mode (to "view"). Por favor identifíquese para votar. Contestar como... Cancelar Jean-Christophe Constantin Ray Augé Hace 12 años nothing's better. Maybe it's a problem of struts path. In my liferay-portlet.xml :<portlet> <portlet-name>56</portlet-name> <icon>/html/icons/journal_content.png</icon> <struts-path>journal_content</struts-path>...... Por favor identifíquese para votar. Contestar como... Cancelar Jean-Christophe Constantin Jean-Christophe Constantin Hace 12 años i've the solution.Summarizing then, with Liferay 6.0.6 CE :url.setPortletId('56_INSTANCE_0000');url.setWindowState('pop_up');url.setParameter("struts_action", "/journal_content/view"); url.setParameter("groupId","18");url.setParameter("articleId","17106");My mistake was on the struts_action path. Look at liferay-portlet.xml and struts-config.xml. It's very important not to forget te "groupId". For "whitelist", see above. And thanks to Ray for his help. Por favor identifíquese para votar. Contestar como... Cancelar
Ray Augé Jean-Christophe Constantin Hace 12 años Try this portletId instead "56_INSTANCE_0000". That ID is whitelisted and should allow you to open this portlet dynamically.Note that for security reasons most portlets have to be added to the resource check whitelist (portlet.add.default.resource.check.whitelist) before they allow you to open them dynamically otherwise any enterprising hacker could open any portlet in the system using javascript in a browser's scripting console. Por favor identifíquese para votar. Contestar como... Cancelar Jean-Christophe Constantin Ray Augé Hace 12 años thanks Ray but where do i modify these properties? In portal-ext.properties? Por favor identifíquese para votar. Contestar como... Cancelar Ray Augé Jean-Christophe Constantin Hace 12 años Change the portletId in your code, and the whitelist in portal-ext.properties.Make sure to "append", new values to the defaults of the property. The defaults for 6.1 are here: https://github.com/liferay/liferay-portal/blob/6.1.x/portal-impl/src/portal.properties#L467 Por favor identifíquese para votar. Contestar como... Cancelar Jean-Christophe Constantin Ray Augé Hace 12 años i set this in porta-ext.properties :portlet.add.default.resource.check.enabled=trueportlet.add.default.resource.check.whitelist=58,56_INSTANCE_0000,86,87,88,103,113,145and now there's no longer ""Portlet is temporarily unavailable. " but popur is clear.in my console : 16:11:39,459 ERROR [RequestProcessor:676] Invalid path was requested /journal/view_article16:11:39,459 ERROR [PortletRequestProcessor:363] User ID null16:11:39,459 ERROR [PortletRequestProcessor:364] Current URL /en/zoltan?p_p_id=56_INSTANCE_0000&p_p_lifecycle=0&p_p_state=pop_up&_56_INSTANCE_0000_groupId=18&_56_INSTANCE_0000_struts_action=%2Fjournal%2Fview_article&_56_INSTANCE_0000_articleId=10460&_56_INSTANCE_0000_version=1.016:11:39,459 ERROR [PortletRequestProcessor:365] Referer http://localhost:8080/en/web/guest/zoltan16:11:39,459 ERROR [PortletRequestProcessor:366] Remote address 127.0.0.116:11:39,459 ERROR [PortletRequestProcessor:368] Invalid path was requested /journal/view_article Por favor identifíquese para votar. Contestar como... Cancelar Ray Augé Jean-Christophe Constantin Hace 12 años - Editado It looks fishy! Try setting the portlet mode (to "view"). Por favor identifíquese para votar. Contestar como... Cancelar Jean-Christophe Constantin Ray Augé Hace 12 años nothing's better. Maybe it's a problem of struts path. In my liferay-portlet.xml :<portlet> <portlet-name>56</portlet-name> <icon>/html/icons/journal_content.png</icon> <struts-path>journal_content</struts-path>...... Por favor identifíquese para votar. Contestar como... Cancelar Jean-Christophe Constantin Jean-Christophe Constantin Hace 12 años i've the solution.Summarizing then, with Liferay 6.0.6 CE :url.setPortletId('56_INSTANCE_0000');url.setWindowState('pop_up');url.setParameter("struts_action", "/journal_content/view"); url.setParameter("groupId","18");url.setParameter("articleId","17106");My mistake was on the struts_action path. Look at liferay-portlet.xml and struts-config.xml. It's very important not to forget te "groupId". For "whitelist", see above. And thanks to Ray for his help. Por favor identifíquese para votar. Contestar como... Cancelar
Jean-Christophe Constantin Ray Augé Hace 12 años thanks Ray but where do i modify these properties? In portal-ext.properties? Por favor identifíquese para votar. Contestar como... Cancelar Ray Augé Jean-Christophe Constantin Hace 12 años Change the portletId in your code, and the whitelist in portal-ext.properties.Make sure to "append", new values to the defaults of the property. The defaults for 6.1 are here: https://github.com/liferay/liferay-portal/blob/6.1.x/portal-impl/src/portal.properties#L467 Por favor identifíquese para votar. Contestar como... Cancelar Jean-Christophe Constantin Ray Augé Hace 12 años i set this in porta-ext.properties :portlet.add.default.resource.check.enabled=trueportlet.add.default.resource.check.whitelist=58,56_INSTANCE_0000,86,87,88,103,113,145and now there's no longer ""Portlet is temporarily unavailable. " but popur is clear.in my console : 16:11:39,459 ERROR [RequestProcessor:676] Invalid path was requested /journal/view_article16:11:39,459 ERROR [PortletRequestProcessor:363] User ID null16:11:39,459 ERROR [PortletRequestProcessor:364] Current URL /en/zoltan?p_p_id=56_INSTANCE_0000&p_p_lifecycle=0&p_p_state=pop_up&_56_INSTANCE_0000_groupId=18&_56_INSTANCE_0000_struts_action=%2Fjournal%2Fview_article&_56_INSTANCE_0000_articleId=10460&_56_INSTANCE_0000_version=1.016:11:39,459 ERROR [PortletRequestProcessor:365] Referer http://localhost:8080/en/web/guest/zoltan16:11:39,459 ERROR [PortletRequestProcessor:366] Remote address 127.0.0.116:11:39,459 ERROR [PortletRequestProcessor:368] Invalid path was requested /journal/view_article Por favor identifíquese para votar. Contestar como... Cancelar Ray Augé Jean-Christophe Constantin Hace 12 años - Editado It looks fishy! Try setting the portlet mode (to "view"). Por favor identifíquese para votar. Contestar como... Cancelar Jean-Christophe Constantin Ray Augé Hace 12 años nothing's better. Maybe it's a problem of struts path. In my liferay-portlet.xml :<portlet> <portlet-name>56</portlet-name> <icon>/html/icons/journal_content.png</icon> <struts-path>journal_content</struts-path>...... Por favor identifíquese para votar. Contestar como... Cancelar Jean-Christophe Constantin Jean-Christophe Constantin Hace 12 años i've the solution.Summarizing then, with Liferay 6.0.6 CE :url.setPortletId('56_INSTANCE_0000');url.setWindowState('pop_up');url.setParameter("struts_action", "/journal_content/view"); url.setParameter("groupId","18");url.setParameter("articleId","17106");My mistake was on the struts_action path. Look at liferay-portlet.xml and struts-config.xml. It's very important not to forget te "groupId". For "whitelist", see above. And thanks to Ray for his help. Por favor identifíquese para votar. Contestar como... Cancelar
Ray Augé Jean-Christophe Constantin Hace 12 años Change the portletId in your code, and the whitelist in portal-ext.properties.Make sure to "append", new values to the defaults of the property. The defaults for 6.1 are here: https://github.com/liferay/liferay-portal/blob/6.1.x/portal-impl/src/portal.properties#L467 Por favor identifíquese para votar. Contestar como... Cancelar Jean-Christophe Constantin Ray Augé Hace 12 años i set this in porta-ext.properties :portlet.add.default.resource.check.enabled=trueportlet.add.default.resource.check.whitelist=58,56_INSTANCE_0000,86,87,88,103,113,145and now there's no longer ""Portlet is temporarily unavailable. " but popur is clear.in my console : 16:11:39,459 ERROR [RequestProcessor:676] Invalid path was requested /journal/view_article16:11:39,459 ERROR [PortletRequestProcessor:363] User ID null16:11:39,459 ERROR [PortletRequestProcessor:364] Current URL /en/zoltan?p_p_id=56_INSTANCE_0000&p_p_lifecycle=0&p_p_state=pop_up&_56_INSTANCE_0000_groupId=18&_56_INSTANCE_0000_struts_action=%2Fjournal%2Fview_article&_56_INSTANCE_0000_articleId=10460&_56_INSTANCE_0000_version=1.016:11:39,459 ERROR [PortletRequestProcessor:365] Referer http://localhost:8080/en/web/guest/zoltan16:11:39,459 ERROR [PortletRequestProcessor:366] Remote address 127.0.0.116:11:39,459 ERROR [PortletRequestProcessor:368] Invalid path was requested /journal/view_article Por favor identifíquese para votar. Contestar como... Cancelar Ray Augé Jean-Christophe Constantin Hace 12 años - Editado It looks fishy! Try setting the portlet mode (to "view"). Por favor identifíquese para votar. Contestar como... Cancelar Jean-Christophe Constantin Ray Augé Hace 12 años nothing's better. Maybe it's a problem of struts path. In my liferay-portlet.xml :<portlet> <portlet-name>56</portlet-name> <icon>/html/icons/journal_content.png</icon> <struts-path>journal_content</struts-path>...... Por favor identifíquese para votar. Contestar como... Cancelar Jean-Christophe Constantin Jean-Christophe Constantin Hace 12 años i've the solution.Summarizing then, with Liferay 6.0.6 CE :url.setPortletId('56_INSTANCE_0000');url.setWindowState('pop_up');url.setParameter("struts_action", "/journal_content/view"); url.setParameter("groupId","18");url.setParameter("articleId","17106");My mistake was on the struts_action path. Look at liferay-portlet.xml and struts-config.xml. It's very important not to forget te "groupId". For "whitelist", see above. And thanks to Ray for his help. Por favor identifíquese para votar. Contestar como... Cancelar
Jean-Christophe Constantin Ray Augé Hace 12 años i set this in porta-ext.properties :portlet.add.default.resource.check.enabled=trueportlet.add.default.resource.check.whitelist=58,56_INSTANCE_0000,86,87,88,103,113,145and now there's no longer ""Portlet is temporarily unavailable. " but popur is clear.in my console : 16:11:39,459 ERROR [RequestProcessor:676] Invalid path was requested /journal/view_article16:11:39,459 ERROR [PortletRequestProcessor:363] User ID null16:11:39,459 ERROR [PortletRequestProcessor:364] Current URL /en/zoltan?p_p_id=56_INSTANCE_0000&p_p_lifecycle=0&p_p_state=pop_up&_56_INSTANCE_0000_groupId=18&_56_INSTANCE_0000_struts_action=%2Fjournal%2Fview_article&_56_INSTANCE_0000_articleId=10460&_56_INSTANCE_0000_version=1.016:11:39,459 ERROR [PortletRequestProcessor:365] Referer http://localhost:8080/en/web/guest/zoltan16:11:39,459 ERROR [PortletRequestProcessor:366] Remote address 127.0.0.116:11:39,459 ERROR [PortletRequestProcessor:368] Invalid path was requested /journal/view_article Por favor identifíquese para votar. Contestar como... Cancelar Ray Augé Jean-Christophe Constantin Hace 12 años - Editado It looks fishy! Try setting the portlet mode (to "view"). Por favor identifíquese para votar. Contestar como... Cancelar Jean-Christophe Constantin Ray Augé Hace 12 años nothing's better. Maybe it's a problem of struts path. In my liferay-portlet.xml :<portlet> <portlet-name>56</portlet-name> <icon>/html/icons/journal_content.png</icon> <struts-path>journal_content</struts-path>...... Por favor identifíquese para votar. Contestar como... Cancelar Jean-Christophe Constantin Jean-Christophe Constantin Hace 12 años i've the solution.Summarizing then, with Liferay 6.0.6 CE :url.setPortletId('56_INSTANCE_0000');url.setWindowState('pop_up');url.setParameter("struts_action", "/journal_content/view"); url.setParameter("groupId","18");url.setParameter("articleId","17106");My mistake was on the struts_action path. Look at liferay-portlet.xml and struts-config.xml. It's very important not to forget te "groupId". For "whitelist", see above. And thanks to Ray for his help. Por favor identifíquese para votar. Contestar como... Cancelar
Ray Augé Jean-Christophe Constantin Hace 12 años - Editado It looks fishy! Try setting the portlet mode (to "view"). Por favor identifíquese para votar. Contestar como... Cancelar Jean-Christophe Constantin Ray Augé Hace 12 años nothing's better. Maybe it's a problem of struts path. In my liferay-portlet.xml :<portlet> <portlet-name>56</portlet-name> <icon>/html/icons/journal_content.png</icon> <struts-path>journal_content</struts-path>...... Por favor identifíquese para votar. Contestar como... Cancelar Jean-Christophe Constantin Jean-Christophe Constantin Hace 12 años i've the solution.Summarizing then, with Liferay 6.0.6 CE :url.setPortletId('56_INSTANCE_0000');url.setWindowState('pop_up');url.setParameter("struts_action", "/journal_content/view"); url.setParameter("groupId","18");url.setParameter("articleId","17106");My mistake was on the struts_action path. Look at liferay-portlet.xml and struts-config.xml. It's very important not to forget te "groupId". For "whitelist", see above. And thanks to Ray for his help. Por favor identifíquese para votar. Contestar como... Cancelar
Jean-Christophe Constantin Ray Augé Hace 12 años nothing's better. Maybe it's a problem of struts path. In my liferay-portlet.xml :<portlet> <portlet-name>56</portlet-name> <icon>/html/icons/journal_content.png</icon> <struts-path>journal_content</struts-path>...... Por favor identifíquese para votar. Contestar como... Cancelar Jean-Christophe Constantin Jean-Christophe Constantin Hace 12 años i've the solution.Summarizing then, with Liferay 6.0.6 CE :url.setPortletId('56_INSTANCE_0000');url.setWindowState('pop_up');url.setParameter("struts_action", "/journal_content/view"); url.setParameter("groupId","18");url.setParameter("articleId","17106");My mistake was on the struts_action path. Look at liferay-portlet.xml and struts-config.xml. It's very important not to forget te "groupId". For "whitelist", see above. And thanks to Ray for his help. Por favor identifíquese para votar. Contestar como... Cancelar
Jean-Christophe Constantin Jean-Christophe Constantin Hace 12 años i've the solution.Summarizing then, with Liferay 6.0.6 CE :url.setPortletId('56_INSTANCE_0000');url.setWindowState('pop_up');url.setParameter("struts_action", "/journal_content/view"); url.setParameter("groupId","18");url.setParameter("articleId","17106");My mistake was on the struts_action path. Look at liferay-portlet.xml and struts-config.xml. It's very important not to forget te "groupId". For "whitelist", see above. And thanks to Ray for his help. Por favor identifíquese para votar. Contestar como... Cancelar