Hi, I'm building a portlet with Jahia (Jetspeed), Struts. This portlet runs normally in one portal page, but in another portal page, I can only show the first "page", when clicking on a link for showing a second page, the portlet shows nothing, so I get an empty box.
The logs show that in this case, only processAction() is called, no render() follows. We use org.apache.struts2.portlet.dispatcher.Jsr168Dispatcher as portlet wrapper of our Struts application: 2008-08-29 20:48:45,250: INFO [org.jahia.bin.Jahia] - Processed [/jahia/Jahia/s ite/netfoo/op/edit/pid/604] user=[root] ip=[127.0.0.1] in [719ms] Action parameter found. pathInfo = /site/netfoo/op/edit/_ns/YnNlcnZhaXJfYWxs OjpTdHJ1dHMyIFRlc3QgUG9ydGxldDo6NjBjZDJmM2E6MTFjMGU3ZjViZjc6LTdmZWJ8YzB8ZDB8ZXN0 cnV0cy5wb3J0bGV0Lm1vZGU9MT12aWV3fGVzdHJ1dHMucG9ydGxldC5hY3Rpb249MT0vc2VydmFpci9z ZXJ2YWlyVmlld3xldGVtcGxhdGVEaXI9MT10ZW1wbGF0ZXxldGhlbWU9MT1zaW1wbGU_/cache/bypas s/j2action/true/appid/24288_166/pid/604 [DEBUG] Jsr168Dispatcher - Entering processAction [DEBUG] PortletRequestMap - Dumping request parameters: [DEBUG] PortletRequestMap - center = SIEGE [DEBUG] PortletRequestMap - struts.portlet.mode = view [DEBUG] PortletRequestMap - struts.portlet.action = /foo/fooView [DEBUG] PortletRequestMap - templateDir = template [DEBUG] PortletRequestMap - theme = simple [DEBUG] PortletRequestMap - service = [DEBUG] PortletRequestMap - lastname = [DEBUG] PortletRequestMap - firstname = [DEBUG] PortletRequestMap - method:searchResult = Rechercher [DEBUG] PortletSessionMap - Dumping session info: [DEBUG] Jsr168Dispatcher - serviceAction [DEBUG] Jsr168Dispatcher - Creating action proxy for name = fooView, namespa ce = /foo [DEBUG] FileUploadInterceptor - Bypassing /foo/ fooView [DEBUG] AnnotationValidationInterceptor - Validating /foo/fooView with m ethod searchResult. **************** do searchResult **************** it is done [DEBUG] PortletResult - Executing result in Event phase [DEBUG] PortletResult - Setting event render parameter: /foo/resultview.jsp [DEBUG] Jsr168Dispatcher - Leaving processAction 2008-08-29 20:48:52,718: WARN [org.jahia.taglibs.resourcebundle.ResourceBundleT ag] - Error accessing resource quickValidate.prompt in bundle jahiatemplates.com mon for locale fr:Can't find resource for bundle java.util.PropertyResourceBundl e, key quickValidate.prompt 2008-08-29 20:48:52,734: WARN [org.jahia.taglibs.resourcebundle.ResourceBundleT ag] - Error accessing resource quickValidate in bundle jahiatemplates.common for locale fr:Can't find resource for bundle java.util.PropertyResourceBundle, key quickValidate 2008-08-29 20:48:52,734: WARN [org.jahia.taglibs.resourcebundle.ResourceBundleT ag] - Error accessing resource quickValidate in bundle jahiatemplates.common for locale fr:Can't find resource for bundle java.util.PropertyResourceBundle, key quickValidate 2008-08-29 20:48:52,734: WARN [org.jahia.taglibs.resourcebundle.ResourceBundleT ag] - Error accessing resource quickValidate in bundle jahiatemplates.common for locale fr:Can't find resource for bundle java.util.PropertyResourceBundle, key quickValidate 2008-08-29 20:48:52,890: INFO [org.jahia.bin.Jahia] - Processed [/jahia/Jahia/s ite/netfoo/op/edit/_ns/YnNlcnZhaXJfYWxsOjpTdHJ1dHMyIFRlc3QgUG9ydGxldDo6NjBjZ DJmM2E6MTFjMGU3ZjViZjc6LTdmZWJ8YzB8ZDB8ZXN0cnV0cy5wb3J0bGV0Lm1vZGU9MT12aWV3fGVzd HJ1dHMucG9ydGxldC5hY3Rpb249MT0vc2VydmFpci9zZXJ2YWlyVmlld3xldGVtcGxhdGVEaXI9MT10Z W1wbGF0ZXxldGhlbWU9MT1zaW1wbGU_/cache/bypass/j2action/true/appid/24288_166/pid/6 04] user=[root] ip=[127.0.0.1] in [640ms] 2008-08-29 20:48:52,953: WARN [org.jahia.taglibs.resourcebundle.ResourceBundleT ag] - Error accessing resource quickValidate.prompt in bundle jahiatemplates.com mon for locale fr:Can't find resource for bundle java.util.PropertyResourceBundl e, key quickValidate.prompt 2008-08-29 20:48:52,953: WARN [org.jahia.taglibs.resourcebundle.ResourceBundleT ag] - Error accessing resource quickValidate in bundle jahiatemplates.common for locale fr:Can't find resource for bundle java.util.PropertyResourceBundle, key quickValidate 2008-08-29 20:48:52,953: WARN [org.jahia.taglibs.resourcebundle.ResourceBundleT ag] - Error accessing resource quickValidate in bundle jahiatemplates.common for locale fr:Can't find resource for bundle java.util.PropertyResourceBundle, key quickValidate 2008-08-29 20:48:52,953: WARN [org.jahia.taglibs.resourcebundle.ResourceBundleT ag] - Error accessing resource quickValidate in bundle jahiatemplates.common for locale fr:Can't find resource for bundle java.util.PropertyResourceBundle, key quickValidate 2008-08-29 20:48:53,062: INFO [org.jahia.bin.Jahia] - Processed [/jahia/Jahia/s ite/netfoo/op/edit/_ns/YXNlcnZhaXJfYWxsOjpTdHJ1dHMyIFRlc3QgUG9ydGxldDo6NjBjZ DJmM2E6MTFjMGU3ZjViZjc6LTdmZWJ8YzB8ZDB8ZXN0cnV0cy5wb3J0bGV0Lm1vZGU9MT12aWV3fGVzd HJ1dHMucG9ydGxldC5hY3Rpb249MT1yZW5kZXJEaXJlY3R8ZXN0cnV0cy5wb3J0bGV0LmV2ZW50QWN0a W9uPTE9dHJ1ZQ__/cache/bypass/appid/24288_166/pid/604] user=[root] ip=[127.0.0.1] in [125ms] That's all. Our struts.xml: <!DOCTYPE struts PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 2.0//EN" "http://struts.apache.org/dtds/struts-2.0.dtd"> <struts> <include file="struts-portlet-default.xml" /> <package name="default" extends="struts-portlet-default" namespace="/foo"> <action name="fooView" class="servariView"> <result name="success" >/foo/view_info_main.jsp</result> <result name="searchResult">/foo/resultview.jsp</result> </action> </package> </struts> Our portlet.xml: <?xml version="1.0" encoding="UTF-8"?> <portlet-app xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd" version="1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd" id="testportlet"> <portlet> <portlet-name>Struts2 Test Portlet</portlet-name> <display-name>Struts2 Test Portlet</display-name> <portlet-class> org.apache.struts2.portlet.dispatcher.Jsr168Dispatcher </portlet-class> <init-param> <name>viewNamespace</name> <value>/foo</value> </init-param> <init-param> <name>defaultViewAction</name> <value>fooView</value> </init-param> <supports> <mime-type>text/html</mime-type> <portlet-mode>view</portlet-mode> </supports> <portlet-info> <title>Struts2 Test Portlet</title> <short-title>Struts2 Test Portlet</short-title> <keywords>Struts2 Test Portlet</keywords> </portlet-info> </portlet> </portlet-app> -- View this message in context: http://www.nabble.com/Struts%2BPortlet%3A-processAction%28%29-get-called%2C-but-not-render%28%29-tp19230220p19230220.html Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]