Craig McClanahan <[EMAIL PROTECTED]> wrote on 08/24/2005 12:55:18 PM:

> 
> Besides being bundled inside the example webapp, nightly builds of
> standalone tiles are available too:
> 
>   http://cvs.apache.org/builds/struts/nightly/sandbox/tiles-core/
> 

Yes, thank you Craig, I did manage to find that. After Greg's note (only 
perhaps a few thousand down in your in-box) I promised myself I'd shelve 
the shale-tiles integration till later. But I couldn't help myself...;) So 
now after a bit of fumbling, I get the following error:

javax.servlet.ServletException: Can't get definitions factory from 
context.

I googled on this error and seems like people are talking about 
struts-config.xml (oh, how dated can you get..;)). I have a feeling I'm 
*really* close.. but of course may be totally wrong.. (:(

fyi, my faces-config has:
<application>
    <!-- Tiles Integration -->
    <view-handler>
      org.apache.shale.tiles.TilesViewHandler
    </view-handler>
  </application>

tiles-def.xml has this:
<definition name="/login" path="/layout/layout.jsp">
      <put name="title" value="Intellicare, Inc." />
          <put name="header" value="/layout/header.jsp" />
      <put name="navigation" value="/layout/navigation.jsp" />
      <put name="content" value="/layout/content.jsp"/>
   </definition>

test.jsp has this:
<%@ taglib uri="http://jakarta.apache.org/tiles"; prefix="tiles" %>

<tiles:insert definition="/login">
</tiles:insert>

and index.jsp forwards to test.faces

> Craig
> 

Thanks yet again,
Geeta

Reply via email to