2006/11/8, Jonathan Smith <[EMAIL PROTECTED]>:

added the space and the flush false now i get a

java.lang.IncompatibleClassChangeError
        org.apache.shale.tiles.TilesViewHandler.dispatchToTile(
TilesViewHandler.java:304)
        org.apache.shale.tiles.TilesViewHandler.renderView(
TilesViewHandler.java:160)
        org.apache.myfaces.lifecycle.LifecycleImpl.render(
LifecycleImpl.java:384)
        javax.faces.webapp.FacesServlet.service(FacesServlet.java:138)
        org.apache.shale.application.faces.ShaleApplicationFilter.doFilter
(ShaleApplicationFilter.java:267)

what does this mean?


It means you're screwed. 8-)

That's essentially a linkage error (see the javadocs). I suspect you somehow
have incompatible JARs. It looks like you're trying to call the Tiles
ComponentContext, but that class is not what the compiler is expecting.

What version of Tiles are you using? You must use the standalone version of
Tiles with Shale.

david

From: "David Geary" <[EMAIL PROTECTED]>
>Reply-To: [email protected]
>To: [email protected]
>Subject: Re: new to shale tiles
>Date: Wed, 8 Nov 2006 10:09:47 -0700
>
>I believe you're missing a space between the two attributes. Also, you
>should specify flush="false" or you're bound to run into problems.
>
>
>david
>
>2006/11/8, Antonio Petrelli <[EMAIL PROTECTED]>:
>>
>>Jonathan Smith ha scritto:
>> > ok when i do this
>> >
>> > <tiles:insert definition="debug2"flush="true"></tiles:insert>
>> >
>> > with this as the definition
>> >
>> > <tiles-definitions>
>> >
>> >
>> >
>> >
>> >     <definition name="debug2" path="debug2.jsp">
>> >         <put name="header" type="template"
>> >             value="/debug/debug-header.jsp" />
>> >     </definition>
>> >
>> >     <definition name="header" value="/debug/debug-header.jsp" />
>> >
>> > </tiles-definitions>
>> >
>> >
>> > I get this
>> >
>> > javax.servlet.ServletException: /debug2.jsp(4,0) Attribute definition
>> > invalid for tag insert according to TLD
>> >     javax.faces.webapp.FacesServlet.service(FacesServlet.java:152)
>> >
org.apache.shale.application.faces.ShaleApplicationFilter.doFilter(
>>ShaleApplicationFilter.java:267)
>> >
>> >
>> > what am i doing wrong?
>>
>>It's not your fault :-) Notice that Tiles 2 is under heavy development.
>>For example you have a snapshot where <tiles:insert> tag is still there,
>>while in the SVN repository, that tag is not there anymore, because it
>>is splitted in three.
>>http://struts.apache.org/struts-sandbox/tiles/faq.html#insert
>>
>>Ciao
>>Antonio
>>

_________________________________________________________________
Stay in touch with old friends and meet new ones with Windows Live Spaces

http://clk.atdmt.com/MSN/go/msnnkwsp0070000001msn/direct/01/?href=http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mkt=en-us


Reply via email to