Re: [Wicket-user] JavaScriptReference not working with IE6

2006-08-01 Thread Pierre-Yves Saumont
I finally found what the problem was. My script is loading external 
resources (an html file and another script). Loading the html file just 
don't work and I get an error page from the server, but as this file is 
not displayed, I couln't see the error. Loading the second script works 
fine in Firefox but not in IE, where it prevent the main page to open. 
This seems very strange as I would have think links would be broken for 
all browsers if not rewritten by wickets !?!

Pierre-Yves

Eelco Hillenius a écrit :
 Can't really think of it. Can you please send what your page's header
 looks like (copy from show source in your browser). It should be
 something like script type=text/javascript src=... /. Could
 there be anything wrong with that?
 
 Eelco
 
 
 On 7/31/06, Pierre-Yves Saumont [EMAIL PROTECTED] wrote:
 Hi,

 I have a page with the head element loading a script file using
 JavaScript reference. It works fine with Firefox, but when I try to load
 the page in IE6, it displays an error message saying IE cannot load the
 page. However, if I inline the script, it works.

 The static version of the page with a (static) link to the script works
 in IE6.

 If I download the page from Firefox to a file and fix the script
 reference so it calls a static file, it works in IE6.

 So the problem seems to be with the way the link is rendered. However,
 links to css (through StylesheetReference) works ok in both browsers.

 Can you think of a reason for this strange behavior ?


 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to 
 share your
 opinions on IT  business topics through brief surveys -- and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user

 
 
 


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] JavaScriptReference not working with IE6

2006-08-01 Thread Eelco Hillenius
I'm afraid I don't really understand what you're saying. If it is
something you think Wicket does wrong/ can solve, we'd appreciate it
if you could create something that replicates the problem - a junit
test case or a simple web app focussed on the problem, use
http://www.antwerkz.com/qwicket/ qwicket to create a project fast) and
attach that to a bug
report:http://sourceforge.net/tracker/?group_id=119783atid=684975

Thanks,

Eelco


On 8/1/06, Pierre-Yves Saumont [EMAIL PROTECTED] wrote:
 I finally found what the problem was. My script is loading external
 resources (an html file and another script). Loading the html file just
 don't work and I get an error page from the server, but as this file is
 not displayed, I couln't see the error. Loading the second script works
 fine in Firefox but not in IE, where it prevent the main page to open.
 This seems very strange as I would have think links would be broken for
 all browsers if not rewritten by wickets !?!

 Pierre-Yves

 Eelco Hillenius a écrit :
  Can't really think of it. Can you please send what your page's header
  looks like (copy from show source in your browser). It should be
  something like script type=text/javascript src=... /. Could
  there be anything wrong with that?
 
  Eelco
 
 
  On 7/31/06, Pierre-Yves Saumont [EMAIL PROTECTED] wrote:
  Hi,
 
  I have a page with the head element loading a script file using
  JavaScript reference. It works fine with Firefox, but when I try to load
  the page in IE6, it displays an error message saying IE cannot load the
  page. However, if I inline the script, it works.
 
  The static version of the page with a (static) link to the script works
  in IE6.
 
  If I download the page from Firefox to a file and fix the script
  reference so it calls a static file, it works in IE6.
 
  So the problem seems to be with the way the link is rendered. However,
  links to css (through StylesheetReference) works ok in both browsers.
 
  Can you think of a reason for this strange behavior ?
 
 
  -
  Take Surveys. Earn Cash. Influence the Future of IT
  Join SourceForge.net's Techsay panel and you'll get the chance to
  share your
  opinions on IT  business topics through brief surveys -- and earn cash
  http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 
 
 


 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share your
 opinions on IT  business topics through brief surveys -- and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] JavaScriptReference not working with IE6

2006-08-01 Thread Eelco Hillenius
Hmmm. I still don't get why serving with Wicket works for Firefox but
not for IE, while static pages work for both. We don't apply any
browser specific magic...

Anyway, looking forward to get a test case or sample project.

Eelco


On 8/1/06, Pierre-Yves Saumont [EMAIL PROTECTED] wrote:
 To (try) make myself a bit clearer :

 Page1.html link to script file script1.js. Javascript code in script1.js
 in turn loads file script2.js.

 Page2.html has the same code as script1.js embeded. This code in turn
 loads file script2.js.

 The two pages work fine in Firefox, either served through Wicket or has
 static files

 In IE6, both pages work fine as static files, but Page1.html breaks IE
 when served through Wicket. (Page2.html is fine)

 Of course, the workaround is to embed script2.js into script1.js,
 although is may have strong drawbacks. And if script2.js is replaced
 with another resource (image, html file) it is simply impossible.

 I will try to make a test case.

 Pierre-Yves



 Eelco Hillenius a écrit :
  I'm afraid I don't really understand what you're saying. If it is
  something you think Wicket does wrong/ can solve, we'd appreciate it
  if you could create something that replicates the problem - a junit
  test case or a simple web app focussed on the problem, use
  http://www.antwerkz.com/qwicket/ qwicket to create a project fast) and
  attach that to a bug
  report:http://sourceforge.net/tracker/?group_id=119783atid=684975
 
  Thanks,
 
  Eelco
 
 
  On 8/1/06, Pierre-Yves Saumont [EMAIL PROTECTED] wrote:
  I finally found what the problem was. My script is loading external
  resources (an html file and another script). Loading the html file just
  don't work and I get an error page from the server, but as this file is
  not displayed, I couln't see the error. Loading the second script works
  fine in Firefox but not in IE, where it prevent the main page to open.
  This seems very strange as I would have think links would be broken for
  all browsers if not rewritten by wickets !?!
 
  Pierre-Yves
 
  Eelco Hillenius a écrit :
   Can't really think of it. Can you please send what your page's header
   looks like (copy from show source in your browser). It should be
   something like script type=text/javascript src=... /. Could
   there be anything wrong with that?
  
   Eelco
  
  
   On 7/31/06, Pierre-Yves Saumont [EMAIL PROTECTED] wrote:
   Hi,
  
   I have a page with the head element loading a script file using
   JavaScript reference. It works fine with Firefox, but when I try to
  load
   the page in IE6, it displays an error message saying IE cannot load
  the
   page. However, if I inline the script, it works.
  
   The static version of the page with a (static) link to the script
  works
   in IE6.
  
   If I download the page from Firefox to a file and fix the script
   reference so it calls a static file, it works in IE6.
  
   So the problem seems to be with the way the link is rendered. However,
   links to css (through StylesheetReference) works ok in both browsers.
  
   Can you think of a reason for this strange behavior ?
  
  
  
  -
   Take Surveys. Earn Cash. Influence the Future of IT
   Join SourceForge.net's Techsay panel and you'll get the chance to
   share your
   opinions on IT  business topics through brief surveys -- and earn
  cash
  
  http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
   ___
   Wicket-user mailing list
   Wicket-user@lists.sourceforge.net
   https://lists.sourceforge.net/lists/listinfo/wicket-user
  
  
  
  
 
 
  -
  Take Surveys. Earn Cash. Influence the Future of IT
  Join SourceForge.net's Techsay panel and you'll get the chance to
  share your
  opinions on IT  business topics through brief surveys -- and earn cash
  http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 
 
 



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] JavaScriptReference not working with IE6

2006-07-31 Thread Eelco Hillenius
Can't really think of it. Can you please send what your page's header
looks like (copy from show source in your browser). It should be
something like script type=text/javascript src=... /. Could
there be anything wrong with that?

Eelco


On 7/31/06, Pierre-Yves Saumont [EMAIL PROTECTED] wrote:
 Hi,

 I have a page with the head element loading a script file using
 JavaScript reference. It works fine with Firefox, but when I try to load
 the page in IE6, it displays an error message saying IE cannot load the
 page. However, if I inline the script, it works.

 The static version of the page with a (static) link to the script works
 in IE6.

 If I download the page from Firefox to a file and fix the script
 reference so it calls a static file, it works in IE6.

 So the problem seems to be with the way the link is rendered. However,
 links to css (through StylesheetReference) works ok in both browsers.

 Can you think of a reason for this strange behavior ?


 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share your
 opinions on IT  business topics through brief surveys -- and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user