cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Basil Moser <basil.mo...@aveth.ethz.ch>
Subject Re: Switch generate type to serverpage returns a blank page
Date Wed, 19 Jul 2006 17:33:42 GMT
Hi Antonio

That would be this section:
    <map:match pattern="announcement.xml">
     <map:generate type="file" src="announcement.xml"/>
     <!-- <map:generate type="file" src="announcement.xml"/> -->
     <!--<map:transform type="xslt"/> -->
     <map:transform type="xslt" src="announcement.xsl"/>
     <map:serialize type="html"/>
    </map:match>

Thanks,
Basil

On Jul 5, 2006, at 7:13 AM, Antonio Gallardo wrote:

> Hi Basil,
>
> Would you provide some sitemap.xmap snippet?
>
> Best Regards,
>
> Antonio Gallardo.
>
> Basil Moser escribió:
>> Hi all
>>
>> I tried out Cocoon 2.1. I have some XML (with java code embedded)  
>> and XSL files. When i switch now in the sitemap.xmap to javapages  
>> in the attribute "generate type" cocoon retruns me a blank page.  
>> Why does this happen?
>>
>> I also set "generate type" to file. Then cocoon does not inperpret  
>> the java code. The java code is only displayed. Why does this happen?
>>
>> Thanks a lot!
>> Basil
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
>> For additional commands, e-mail: users-help@cocoon.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>


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


Mime
View raw message