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




Reply via email to