Hi, my site can now be viewed at www.beyarecords.com. I have changed my ajax-request block to xhtml. On clicking the submit button you will see that the whole page reloads!
I am using the very latest version of cocoon on winXP/SP2. -- Regards Andrew On 10/03/07, Andrew Madu <[EMAIL PROTECTED]> wrote:
Hi Jason, sorry for the delay. I am using the Let's clarify... which XHTML serializer are you using? The "built-in" > one, or the one in the serializers block? I am using the XHTML serializer in the serializers block: <map:serializer logger="sitemap.serializer.xhtml" mime-type="text/html" name="xhtml" pool-max="${ xhtml-serializer.pool-max}" src=" org.apache.cocoon.serialization.XMLSerializer"> <doctype-public>-//W3C//DTD XHTML 1.0 Strict//EN</doctype-public> <doctype-system> http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd </doctype-system> <encoding>ISO-8859-1</encoding> <omit-xml-declaration>yes</omit-xml-declaration> </map:serializer> And here is my ajax-request block: <map:match pattern="**viewform-*.xml"> <map:generate type="newjx" src="jx/{2}.jx"/> <map:transform type="cinclude"/> <map:transform type="xslt-saxon" src="style/{2}.xsl"/> <map:transform type="cinclude"/> <map:transform type="browser-update"/> <map:transform type="i18n"> <map:parameter name="locale" value="en-US"/> </map:transform> <map:transform src="template-style/forms- samples-styling.xsl"/> <map:transform type="i18n"> <map:parameter name="locale" value="en-US"/> </map:transform> <map:select type="ajax-request"> <map:when test="true"> <map:serialize type="xml"/> </map:when> <map:otherwise> <map:serialize type="xhtml"/> </map:otherwise> </map:select> </map:match> What in-built xhtml serializer do you refer to? -- Regards Andrew