Mark, I think the issue here is that with org.apache.tapestry.portlet.ApplicationPortlet you don't control the portlet render/doView method, Tapestry does . And by default it first attempts to load a page called View if you portlet supports view mode.
Andriy, check out http://jakarta.apache.org/tapestry/tapestry-portlet/configuration.html with regards to Mapping Requests to Pages. I think that you should be able to solve your startup page problem with that information. Looks like you will need something like this <contribution configuration-id="tapestry.portlet.resolver.PageResolverRules"> <match portlet-mode="view" page="NameOfPageToStartWithInsteadOfView"/> </contribution> Ryan Mark Wilcox <[EMAIL PROTECTED]> 08/24/2005 04:57 PM Please respond to "Tapestry users" To Tapestry users <[email protected]> cc Subject Re: How to define a starting page for portlet Hi Andriy, Can you be more specific? I've not used Tapestry's portlet functionality yet - but I am familiar with portlets in general. The first time a portlet is loaded onto a page it's going to be called with the doView method. It is up to the logic in that method to determine what is presented to the client. I can't think of any reason why that wouldn't be the same in Tapestry. Thus, I'm not really sure what your question is. Mark On 8/22/05, Andriy <[EMAIL PROTECTED]> wrote: > Hi! > > Starting page for portlet is View. How can I change it? > > Thanks, > Andriy > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
