Oleg Barmin schrieb:
Hi,
I want to add to the module jx page without a title.
<?xml version="1.0" ?>
<page:page xmlns:jx="http://apache.org/cocoon/templates/jx/1.0"
xmlns:page="http://apache.org/cocoon/lenya/cms-page/1.0"
xmlns="http://www.w3.org/1999/xhtml"
xmlns:i18n="http://apache.org/cocoon/i18n/2.1" >
<!--<page:title>Comments</page:title>-->
<page:body>
...
</page:body>
</page:page>
So in the output I get:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title />
The page doesn't work in IE (problem not exists for Firefox). IE works only if
"<title></title>" is used but not "<title/>".
IIRC the new serializers from the serializers block fix this issue. You
could try using
org.apache.cocoon.components.serializers.*Serializer
instead of
org.apache.cocoon.serialization.*Serializer
Take a look at the javadocs for more information.
HTH,
-- Andrea
--
Andreas Hartmann, CTO
BeCompany GmbH
http://www.becompany.ch
Tel.: +41 (0) 43 818 57 01
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@lenya.apache.org
For additional commands, e-mail: user-h...@lenya.apache.org