You don't need the StartupServletContextListener to use MyFaces-TilesSupport. Just add your tiles-definition to your web.xml.

    <context-param>
        <param-name>tiles-definitions</param-name>
        <param-value>/WEB-INF/tiles.xml</param-value>
    </context-param>

regards, Thomas

On 9/6/05, Carsten Fregin <[EMAIL PROTECTED]> wrote:
I have much trouble with the combination of Tiles, MyFaces and
javax.faces.STATE_SAVING_METHOD=server. Now I tried out, to get Tiles
with tomahawk.jar (nightly build) and Sun RI 1.1.01. To use the
tiles-feature (I think, they are from Martin Marinschek) of tomahawk, I
have to use "org.apache.myfaces.webapp.StartupServletContextListener"
which is in myfaces-impl.jar. That means, I can't use tomahawk-tiles
with sun RI. Is there any chance to move the configuration stuff for
tiles to tomahawk.jar aswell? Better soulution would be a fix of JIRA
MYFACES-418 but I would need more time to understand that bug then
moving to Sun RI.

Reply via email to