You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by katarn <ka...@racsa.co.cr> on 2004/09/07 23:26:32 UTC

Integrating Cocoon with Tiles ( struts )

I am using Tiles for Struts in a web application and I am trying to add 
a Cocoon generated page inside a a tile like this:

<definition name ....
    ...
    <put name="centerbodypane" value="cocoonpage.cchtml" />
    ...
</definition>

But in the browser all I get is:  [Exception in:cocoonpage.cchtml] null  
and no errors in the console.

I can execute that page directly from the browser but can't get it to 
work inside a tile.

Any suggestions?, thanks.


K.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: Integrating Cocoon with Tiles ( struts )

Posted by "Scherler, Thorsten" <th...@apache.org>.
katarn wrote:
> I am using Tiles for Struts in a web application and I am trying to add 
> a Cocoon generated page inside a a tile like this:
> 
> <definition name ....
>    ...
>    <put name="centerbodypane" value="cocoonpage.cchtml" />

try full path to file e.g. 
value="http://localhost:8080/cocoon/cocoonpage.cchtml"

HTH
thorsten

>    ...
> </definition>
> 
> But in the browser all I get is:  [Exception in:cocoonpage.cchtml] null  
> and no errors in the console.
> 
> I can execute that page directly from the browser but can't get it to 
> work inside a tile.
> 
> Any suggestions?, thanks.
> 
> 
> K.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org