> This way you end up not using compression at all? I would be interested in a
> solution which would help me to use the compression without any problems. 

Now I'm just using wicket's default compression (which I didn't know existed 
before this problem arose).

> Maybe someone from the wicket core team would help us to understand the
> difference between using IHeaderContributor and adding directly
> JavascriptReference as a behavior? 

Have you taken a look at the html source of the rendered page in both cases?  
That might give an indication of how wicket handles these differently.

Are you also using a "fine" Oracle product for your webserver?  I think they 
might be right that this could be an Oracle-caused issue.  Wouldn't be the 
first time I've had Oracle mess me up with their non-open source, blackbox 
implementation.  Oracle interferred with my first stab at Jaas authentication, 
so I had to completely circumvent it; and when I was trying to include a jsp 
menu on a wicket page, it worked great until I upgraded to a newer version of 
oc4j (from 10.1.3.1.1 to 10.1.3.2 I believe * should anything past the second 
minor version number even be a public release??), and I ran into a conflict 
between Oracle and wicket writing to the output stream.  I wrote that one off 
as unsolvable.  Unfortunately, I have no say in what webserver we use, so I 
have to deal with it.

Like I said before, we're trying to do slightly different things.  You're 
trying to dynamically include an external js file.  I just wanted to write 
dynamic js code which ran onload.  But the wicket implementation of that 
includes a js file from the wicket jar.  I'm curious, is the js file you're 
trying to call inside a jar or just in a directory on the webserver?  Maybe 
this issue is related to including a jarred js file.  I don't know, at times 
this problem has behaved so erratically for me, it's hard to get a grip on.  
That's why I'm glad I figured out a workaround.

Joel


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to