I think the biggest barrier to this happening is a working test environment for me to run things against. The information out there feels overwhelming and I've hard a hard time finding the stomach for it.
If someone wanted to donate some sort of Workbench/Timetracker (anything) type setup that I could play against I'd be happy to support it. On 3/14/07, Borut Bolčina <[EMAIL PROTECTED]> wrote:
Hmmm, now what, we were just looking forward to developing T 4.1.x portlets. -Borut 2007/3/14, Jesse Kuhnert <[EMAIL PROTECTED]>: > > Looks nasty. I wouldn't be surprised if something had run awful for > portlets. I've yet to find a suitably easy environment to setup a > simple portlet app to test things in but can hopefully get to it umm > soon-ish. > > On 3/9/07, Martin Petras <[EMAIL PROTECTED]> wrote: > > > > Hi, > > I am trying to port my portlet application from tapestry 4.0.2 to > tapestry > > 4.1.1. I have just replaced the libraries and got these exceptions (see > > below). I am using Tomcat 5.5.12, Jetspeed 2.0, Hivemind 1.1.1. Have > really > > no idea how to resolve the problem. The problem occurs in all my > portlets. I > > attached a sample portlet where I'm getting the error. > > > > > > javax.portlet.PortletException > > at > > > org.apache.tapestry.portlet.RenderRequestServicerToWebRequestServicerBridge.service > (RenderRequestServicerToWe > > bRequestServicerBridge.java:54) > > at > > > $RenderRequestServicer_111370567df.service($RenderRequestServicer_111370567df.java) > > at > > > $RenderRequestServicer_111370567de.service($RenderRequestServicer_111370567de.java) > > at > > > $RenderRequestServicer_111370567d9.service($RenderRequestServicer_111370567d9.java) > > at > > > $RenderRequestServicer_111370567d8.service($RenderRequestServicer_111370567d8.java) > > at > > org.apache.tapestry.portlet.ApplicationPortlet.render( > ApplicationPortlet.java:161) > > at > > org.apache.jetspeed.factory.JetspeedPortletInstance.render( > JetspeedPortletInstance.java:102) > > at > > org.apache.jetspeed.container.JetspeedContainerServlet.doGet( > JetspeedContainerServlet.java:230) > > at > > javax.servlet.http.HttpServlet.service(HttpServlet.java:689) > > .... (and more other exceptions) > > > > Nested Exception is java.lang.NullPointerException: Property > 'webRequest' > > of <OuterProxy for tapestry.globals.RequestGlo > > bals(org.apache.tapestry.services.RequestGlobals)> is > > null. > > at > > > $WebRequest_11137056809._targetServiceProperty($WebRequest_11137056809.java) > > at > > $WebRequest_11137056809.getLocale($WebRequest_11137056809.java) > > at > > $WebRequest_111370567cd.getLocale($WebRequest_111370567cd.java) > > at > > $WebRequest_111370567cc.getLocale($WebRequest_111370567cc.java) > > at > > > org.apache.tapestry.services.impl.RequestLocaleManagerImpl.extractLocaleForCurrentRequest > (RequestLocaleManage > > rImpl.java:94) > > at > > > $RequestLocaleManager_111370567ee.extractLocaleForCurrentRequest($RequestLocaleManager_111370567ee.java) > > at > > > $RequestLocaleManager_111370567ef.extractLocaleForCurrentRequest($RequestLocaleManager_111370567ef.java) > > at > > org.apache.tapestry.services.impl.EngineManagerImpl.getEngineInstance( > EngineManagerImpl.java:42) > > at > > > $EngineManager_111370567e9.getEngineInstance($EngineManager_111370567e9.java) > > at > > > $EngineManager_111370567e8.getEngineInstance($EngineManager_111370567e8.java) > > at > > org.apache.tapestry.services.impl.InvokeEngineTerminator.service( > InvokeEngineTerminator.java:45) > > at > > > $WebRequestServicer_111370567e7.service($WebRequestServicer_111370567e7.java) > > at > > > $WebRequestServicer_111370567e6.service($WebRequestServicer_111370567e6.java) > > at > > > $WebRequestServicer_111370567e5.service($WebRequestServicer_111370567e5.java) > > at > > > $WebRequestServicer_111370567e4.service($WebRequestServicer_111370567e4.java) > > at > > > org.apache.tapestry.portlet.RenderRequestServicerToWebRequestServicerBridge.service > (RenderRequestServicerToWe > > bRequestServicerBridge.java:50) > > .... (and more other exceptions) > > > > > > Files: > > .application > > ------------- > > <?xml version="1.0" encoding="UTF-8"?> > > <!DOCTYPE application PUBLIC > > "-//Apache Software Foundation//Tapestry Specification 4.0//EN" > > > > "http://jakarta.apache.org/tapestry/dtd/Tapestry_4_0.dtd"> > > <!-- generated by Spindle, http://spindle.sourceforge.net --> > > > > <application name="myLRUDocs" > > engine-class="org.apache.tapestry.engine.BaseEngine"> > > <description>add a description</description> > > > > <page name="myLRUDocsEdit" specification-path="myLRUDocsEdit.page > "/> > > > > <library id="contrib" > > > specification-path="classpath:/org/apache/tapestry/contrib/Contrib.library"/> > > </application> > > > > > > hivemodule.xml > > ---------------- > > <?xml version="1.0"?> > > <module > > id="com.skms.WebDavTapestry.MyLRUDocs.MyLRUDocsPage" > > version="4.1.1" package="org.apache.tapestry.portlet"> > > Add on for Tapestry that adds native Portlet support. > > <dependency module-id="tapestry" version="4.1.1"/> > > <dependency module-id="tapestry.portlet" version="4.1.1"/> > > <dependency module-id="tapestry.contrib" version="4.1.1"/> > > <dependency module-id="hivemind.lib" version="1.1.1"/> > > > > <contribution > > configuration-id="tapestry.portlet.resolver.PageResolverRules"> > > <match portlet-mode="view" page="myLRUDocs"/> > > <match portlet-mode="edit" page="myLRUDocsEdit"/> > > </contribution> > > > > <contribution > > configuration-id="tapestry.state.ApplicationObjects"> > > <state-object name="validation-delegate" scope="session"> > > <create-instance > > class="org.apache.tapestry.valid.ValidationDelegate"/> > > </state-object> > > </contribution> > > </module> > > > > myLRUDocs.page > > ------------------ > > <?xml version="1.0" encoding="UTF-8"?> > > <!DOCTYPE page-specification PUBLIC > > "-//Apache Software Foundation//Tapestry Specification 4.0//EN" > > > > "http://jakarta.apache.org/tapestry/dtd/Tapestry_4_0.dtd"> > > <page-specification > > class="com.skms.WebDavTapestry.MyLRUDocs.MyLRUDocsPage"> > > <description>add a description</description> > > > > <property name="filesList"/> > > <property name="file"/> > > > > <inject property="portletRequest" > > object="service:tapestry.portlet.PortletRequest"/> > > > > <inject property="contextAssetFactory" > > object="service:tapestry.asset.ContextAssetFactory"/> > > <asset name="stylesheet" > > path="/css/styles_myLRUDocs.css"/> > > <asset name="recently_image" path="/images/recently.gif"/> > > </page-specification> > > > > > > In the html file there is just a listing of some values. Page class is > also > > quite simple, it's just a request to database and filling the variables > used > > in the listing. > > > > Thanks in advance. > > > > > > > > > > ____________________________________ > > Martin Petráš > > Java Developer Junior > > > > > > S&K Management Systems, s.r.o. > > Záhradnícka 72, SK-821 08 Bratislava e-mail: petras /at character/ > skms.sk > > , www.skms.sk > > > > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: > > [EMAIL PROTECTED] For additional > > commands, e-mail: [EMAIL PROTECTED] > > > -- > Jesse Kuhnert > Tapestry/Dojo team member/developer > > Open source based consulting work centered around > dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
-- Jesse Kuhnert Tapestry/Dojo team member/developer Open source based consulting work centered around dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com