cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew <>
Subject Re: Xhtml and go!!
Date Thu, 27 Jul 2006 16:20:11 GMT
Ah HAH!! So i'm not imagining things, this is a problem!!!!

Did you undestand this part of the pipeline?
> <map:select type="ajax-request">
>                   <map:when test="true">
>                     <map:serialize type="xml"/>
>                   </map:when>
>                   <map:otherwise>
>                     <map:serialize type="html"/>
>                   </map:otherwise>

In a word yes. The link below will give you a proper understanding of what
is going on here:

But it is not the pipe which is causing the problem, it is the javascript
syntax directly after the initial form tag in the xhtml page. If you change
that code to <script src="" ></script>, where the script page has the one
line of code cocoo.ajax.form=true; then the page loads correctly, all be it
with a javscript error saying that cocoon is undefined. This same code mind,
serialized as html, loads poroperly and with no javascript error!!! What is
going on here??????



View raw message