I need more of my morning coffee! This post isn't related to this particular point. :)
-----Original Message----- From: Lorinda Swick [mailto:[EMAIL PROTECTED] Sent: Sunday, December 19, 2004 10:32 AM To: 'MyFaces Discussion' Subject: RE: Rendering non-tiles with view-handler 'JspTilesViewHandlerImpl' Thomas, Thanks for the follow-up. I did exactly that--created the tiles.xml for Matthias W.'s demo which I overlooked attaching on my original post. Here it is. Lorinda <definition name="layout.standard" path="/tiles/matthias-demo/template.jsp" > <put name="header" value="/tiles/matthias-demo/header.jsp" /> <put name="menu" value="/tiles/matthias-demo/menu.jsp" /> <put name="footer" value="/tiles/matthias-demo/footer.jsp" /> </definition> <definition name="/tiles/matthias-demo/tiles1.tiles" extends="layout.standard" > <put name="body" value="/tiles/matthias-demo/body1.jsp" /> </definition> <definition name="/tiles/matthias-demo/tiles2.tiles" extends="layout.standard" > <put name="body" value="/tiles/matthias-demo/body2.jsp" /> </definition> <definition name="/tiles/matthias-demo/tiles3.tiles" extends="layout.standard" > <put name="body" value="/tiles/matthias-demo/body3.jsp" /> </definition> -----Original Message----- From: Thomas Spiegl [mailto:[EMAIL PROTECTED] Sent: Sunday, December 19, 2004 3:59 AM To: MyFaces Discussion Subject: Re: Rendering non-tiles with view-handler 'JspTilesViewHandlerImpl' there exists an easy work-around for your problem. Just define a tiles-definition for every jsf-page you want to render. JspTilesViewHandlerImpl will throw a NullpointerException when rendering a view without corresponding tiles-definition for the given viewId. As this behaviour seemed to be too restrictive, i removed the NullpointerException. From now on pages without corresponding tiles-definition are getting rendered as well. Get the latest cvs-version & give it a try. Thanks for using MyFaces! Thomas > Upsa, > that should not be the case... > Well, I tested it and saw the same. > I will create a create a JIRA-Ticket on that. > Regards, > Matthias > > -----Original Message----- > *From:* Lorinda Swick [mailto:[EMAIL PROTECTED] > *Sent:* Friday, December 17, 2004 7:55 PM > *To:* [EMAIL PROTECTED] > *Subject:* Rendering non-tiles with view-handler > 'JspTilesViewHandlerImpl' > > Hi, > > If you have JspTilesViewHandlerImpl defined, it seems that ALL > pages then must be rendered as a tile. Assuming this is right, how > do you work with .jsf files in the dev env which are not used in > tiles? > > Here's my faces-config.xml entry: > > <application> > > <locale-config> > > <default-locale>en</default-locale> > > <supported-locale>de</supported-locale> > > </locale-config> > > <message-bundle> > > com.intalio.qa.tcm.view.bundle.Messages > > </message-bundle> > > </application> > > <application> > > <view-handler> > > net.sourceforge.myfaces.application.jsp.JspTilesViewHandlerImpl > > </view-handler> > > </application> > > (Here's more background . I switched from RI 1.1.01 yesterday to > myFaces 1.07b for the sole purpose of using this handler. I setup > a demo example which ran fine (eventually). Then I tried to pull > up an already defined .jsf and it won't render anymore. The error is > > > *HTTP ERROR: 500 > could+not+find+tiles%2Ddefinition+with+name+%2Ftcm%2FtopTabbedPanel%2Etiles* > > RequestURI=/sqe/tcm/topTabbedPanel.jsf > > Thanks, > > Lorinda >

