But I am still getting the same behavior when I access the portlet: a theme only screen and the doView method on my portlet class is not called. I put some logging in to see what invocations were happening
| [org.jboss.portal.server.impl.invocation.InvocationImpl] Incoming request with id page.default.JPivotDemo | [org.jboss.portal.server.impl.invocation.InvocationImpl] Invoking org.jboss.portal.core.invocation.UserContextInterceptor | [org.jboss.portal.server.impl.invocation.InvocationImpl] Invoking org.jboss.portal.core.invocation.ContentTypeInterceptor | [org.jboss.portal.core.invocation.ContentTypeInterceptor] Found markup=html_web_4_0, ua=Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4, devicedID=netscape7_1_nt_ | [org.jboss.portal.core.invocation.ContentTypeInterceptor] Found mimeType type text/html for markup=html_web_4_0 | [org.jboss.portal.server.impl.invocation.InvocationImpl] Invoking org.jboss.portal.server.invocation.portal.TargetInterceptor | [org.jboss.portal.server.impl.invocation.InvocationImpl] Invoking org.jboss.portal.core.invocation.ViewInterceptor | [org.jboss.portal.server.impl.invocation.InvocationImpl] Invoking org.jboss.portal.core.invocation.StrategyInterceptor | [org.jboss.portal.core.invocation.StrategyInterceptor] analyzing layout strategy.... | [org.jboss.portal.server.impl.LayoutServerImpl] get nodesk... | [org.jboss.portal.server.impl.LayoutServerImpl] found nodesk | [org.jboss.portal.core.invocation.StrategyInterceptor] looking for a layout strategy [default] [JPivotDemo] [nodesk] [text/html] | [org.jboss.portal.core.invocation.StrategyInterceptor] got a layout: trying to get the strategy from it... | [org.jboss.portal.core.invocation.StrategyInterceptor] no strategy from the layoutlayout: trying to get named strategy... | [org.jboss.portal.core.invocation.StrategyInterceptor] looking for strategy with name: default | [org.jboss.portal.core.invocation.StrategyInterceptor] found strategy to use: org.jboss.portal.core.theme.strategy.impl.DefaultStrategyImpl | [org.jboss.portal.core.invocation.StrategyInterceptor] adding region: center | [org.jboss.portal.core.theme.strategy.StrategyFactory] creating strategy context for: nodesk default JPivotDemo | [org.jboss.portal.core.theme.strategy.impl.DefaultStrategyImpl] evaluating strategy for: [EMAIL PROTECTED] | [org.jboss.portal.core.invocation.StrategyInterceptor] setting layout URI: /nodesk/index.jsp | [org.jboss.portal.core.invocation.StrategyInterceptor] done analyzing layout strategy | [org.jboss.portal.server.impl.invocation.InvocationImpl] Invoking org.jboss.portal.server.invocation.portal.MainDispatcherInterceptor | [org.jboss.portal.core.servlet.CoreServlet] requesting theme: null | [org.jboss.portal.core.servlet.CoreServlet] using layout returned from the strategy: nodesk uri: /nodesk/index.jsp | [org.jboss.portal.core.servlet.CoreServlet] got layout to use [nodesk] in app [portal] uri [/nodesk/index.jsp] | [org.jboss.portal.server.theme.LayoutDispatcher] got request dispatcher for layout resource: true | [org.jboss.portal.server.theme.LayoutDispatcher] done with the layout | The behavior above where my portlet was not being called indicated that no page was found in *-pages.xml. Should this throw an exception? After much comparison of my config files to helloworld, and looking at the Reference Guide, I realized that my instance-ref in *-pages.xml was wrong. It needs to be: [<app-name> from jboss-app.xml].[<portlet-name> from portlet.xml].[<instance-name> from portlet-instances.xml] Note that the Reference Guide is wrong about the <app-name> in section 2.6. It is in jboss-app.xml, not jboss-portlet.xml. Sherman View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3879155#3879155 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3879155 ------------------------------------------------------- SF.Net email is sponsored by: GoToMeeting - the easiest way to collaborate online with coworkers and clients while avoiding the high cost of travel and communications. There is no equipment to buy and you can meet as often as you want. Try it free.http://ads.osdn.com/?ad_id=7402&alloc_id=16135&op=click _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
