You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by dh ning <ni...@gmail.com> on 2009/02/13 03:50:58 UTC

stylesheet processing in ajax response doesn't work in firefox3.0

Hi,

Environment: tapestry 5.0.18, firefox3.0, maven jetty:run

Whenever there is new stylesheet link in ajax response in firefox3.0 (both
3.0.5&3.0.6), then there is an ajax error shown in top of page "Client
exception processing response: TypeError: existing is null".

But IE 6&7, firefox 2.0 work well.


Major code of test case like following:

Page.tml
<a t:type="actionlink" t:zone="abcZone" t:id="link"/>
<div t:type="zone" t:id="abcZone">
    <t:AjaxWindow/>
</div>

Page.java
@Component
private Zone abcZone;
public Object onActionFromLink() {
 return abcZone;
}

AjaxWindow.java
@IncludeStylesheet(value = {"context:css/themes/default.css"})
public class WindowPanel {
}

If I remove @IncludeStylesheet annotation, then it works well in firefox3.0
too.

Is it a known issue of firefox3.0 or tapestry.js code issue? Any workaround
for this?



Thanks,

DH