cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Grzegorz Kossakowski <g...@tuffmail.com>
Subject Re: Ajax form reloading problem
Date Tue, 27 Feb 2007 12:33:40 GMT
Andrew Madu napisaƂ(a):
> Hi,
> supplemental to my last 2 posts!, I have noticed that if I have 
> noticed that if I have an onload="" in the body tag of an ajaxified 
> page, when you submit the page with incorrectly filled out form 
> elements the whole page will reload.
>
> So to recap:
>
> 1. If serialize type="xhtml" in sitemap definition of ajax-request, 
> the ajaxified page will reload on submit.
Why do you insist on serializing it to xhtml if it should be serialized 
to xml?
> 2. If there is an onload="some_javascript_function_call()" in the body 
> tag, the ajaxified page will reload on submit.
>
Could not reproduce. I have onload="alert('loaded')" in body tag and all 
forms work well in Ajax mode.


-- 
Grzegorz Kossakowski

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


Mime
View raw message