cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Legg <david.l...@searchevent.co.uk>
Subject Re: cocoon.forms is undefined when using submit-on-change=true for Field Widget
Date Wed, 16 Sep 2009 09:45:48 GMT
Hi,

>> I somehow got it working… not sure if changing the serializer from 
>> xhtml to html fixed it though.
>
> In my experience, yes. When using the XHTML serializer it seems that 
> the <script/> elements in the head are not all recognized as XML 
> elements. Adding some newlines now and then helps fixing this issue.

Just for interest you may find my updates to the HTMLSerializer document 
[1] useful in this regard.  I think the <script> tag is treated 
differently between XHTML and HTML.

[1] 
http://cocoon.zones.apache.org/daisy/cdocs/g1/g1/g2/g4/Serializer/896.html?branch=1&language=1

Regards,
David Legg


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


Mime
View raw message