@Shell component, refresh and IE

2007-03-06 Thread Patrick Klein

Hello!

I'm using the @Shell component's refresh tag to set trigger the reload 
of a given page every 10 seconds. All works fine using Firefox. However, 
using IE all goes havoc as IE seems to drop at least parts of the reload 
url. The refresh part of the page looks like the following:


   meta http-equiv=Refresh content=10; 
URL=http://localhost:8080/myapp/ImportMatrix.page;jsessionid=C79B17BAFCE7166D80F92708F500D4B9; 
/


after the refresh i'm seeing the following url in IE:
  
   http://localhost:8080/myapp/ImportMatrix.page


completely disregarding the jsessionid, which brings me back to the 
login page.


Used Tapestry-version: 4.1.1, 4.1.2-SNAPSHOT (15.2.2007)

Could anyone give me a hint on how to fix this?

Regards,
   Patrick

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



AW: @Shell component, refresh and IE

2007-03-06 Thread Peter Schröder
hi patrick,

this might be because of the ; as delimiter for the sessionId wich is also 
used as delimiter for the values of the content-parameter. so i think that IE 
splits this entry to
10
URL=http://localhost:8080/myapp/ImportMatrix.page
jsessionid=C79B17BAFCE7166D80F92708F500D4B9

wich brings you to your start-page. 
instead of a meta-tag you might use javascript for page-refresh as a workaround.

kind regars

-Ursprüngliche Nachricht-
Von: Patrick Klein [mailto:[EMAIL PROTECTED] 
Gesendet: Dienstag, 6. März 2007 10:20
An: Tapestry users
Betreff: @Shell component, refresh and IE

Hello!

I'm using the @Shell component's refresh tag to set trigger the reload 
of a given page every 10 seconds. All works fine using Firefox. However, 
using IE all goes havoc as IE seems to drop at least parts of the reload 
url. The refresh part of the page looks like the following:

meta http-equiv=Refresh content=10; 
URL=http://localhost:8080/myapp/ImportMatrix.page;jsessionid=C79B17BAFCE7166D80F92708F500D4B9;
 
/

after the refresh i'm seeing the following url in IE:
   
http://localhost:8080/myapp/ImportMatrix.page

completely disregarding the jsessionid, which brings me back to the 
login page.

Used Tapestry-version: 4.1.1, 4.1.2-SNAPSHOT (15.2.2007)

Could anyone give me a hint on how to fix this?

Regards,
Patrick

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


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



Re: AW: @Shell component, refresh and IE

2007-03-06 Thread Patrick Klein

Hi, Peter,

somehow i allready thought it was something like that. Thanks for the 
answer :)

Switching to using cookies also does the trick.
Both solutions somehow are not really satisfying as the Shell component 
should be able to attend this...


Regards,
   Patrick

hi patrick,

this might be because of the ; as delimiter for the sessionId wich is also 
used as delimiter for the values of the content-parameter. so i think that IE splits this 
entry to
10
URL=http://localhost:8080/myapp/ImportMatrix.page
jsessionid=C79B17BAFCE7166D80F92708F500D4B9

wich brings you to your start-page. 
instead of a meta-tag you might use javascript for page-refresh as a workaround.


kind regars

-Ursprüngliche Nachricht-
Von: Patrick Klein [mailto:[EMAIL PROTECTED] 
Gesendet: Dienstag, 6. März 2007 10:20

An: Tapestry users
Betreff: @Shell component, refresh and IE

Hello!

I'm using the @Shell component's refresh tag to set trigger the reload 
of a given page every 10 seconds. All works fine using Firefox. However, 
using IE all goes havoc as IE seems to drop at least parts of the reload 
url. The refresh part of the page looks like the following:


meta http-equiv=Refresh content=10; 
URL=http://localhost:8080/myapp/ImportMatrix.page;jsessionid=C79B17BAFCE7166D80F92708F500D4B9; 
/


after the refresh i'm seeing the following url in IE:
   
http://localhost:8080/myapp/ImportMatrix.page


completely disregarding the jsessionid, which brings me back to the 
login page.


Used Tapestry-version: 4.1.1, 4.1.2-SNAPSHOT (15.2.2007)

Could anyone give me a hint on how to fix this?

Regards,
Patrick

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


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


  



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



Re: AW: AW: @Shell component, refresh and IE

2007-03-06 Thread Patrick Klein

Hello Peter,

thanks for the hint. The simplest solution seems to be extending 
RequestCycle and override the encodeURL method to replace the semicolon. 
The extension is already done but right now i don't know where configure 
it to make sure the custome RequestCycle is used instead of tapestrys 
RequestCycle. I guess it has to be added to the hivemind.xml or my 
application file, but could someone show me how? Thnx in advance.


Regards,
   Patrick

hi patrick,

you may also try to url-encode the tapestry-url so that ; will be %3B and IE 
wont get confused

kind regards 


-Ursprüngliche Nachricht-
Von: Patrick Klein [mailto:[EMAIL PROTECTED] 
Gesendet: Dienstag, 6. März 2007 10:46

An: Tapestry users
Betreff: Re: AW: @Shell component, refresh and IE

Hi, Peter,

somehow i allready thought it was something like that. Thanks for the 
answer :)

Switching to using cookies also does the trick.
Both solutions somehow are not really satisfying as the Shell component 
should be able to attend this...


Regards,
Patrick
  

hi patrick,

this might be because of the ; as delimiter for the sessionId wich is also 
used as delimiter for the values of the content-parameter. so i think that IE splits this 
entry to
10
URL=http://localhost:8080/myapp/ImportMatrix.page
jsessionid=C79B17BAFCE7166D80F92708F500D4B9

wich brings you to your start-page. 
instead of a meta-tag you might use javascript for page-refresh as a workaround.


kind regars

-Ursprüngliche Nachricht-
Von: Patrick Klein [mailto:[EMAIL PROTECTED] 
Gesendet: Dienstag, 6. März 2007 10:20

An: Tapestry users
Betreff: @Shell component, refresh and IE

Hello!

I'm using the @Shell component's refresh tag to set trigger the reload 
of a given page every 10 seconds. All works fine using Firefox. However, 
using IE all goes havoc as IE seems to drop at least parts of the reload 
url. The refresh part of the page looks like the following:


meta http-equiv=Refresh content=10; 
URL=http://localhost:8080/myapp/ImportMatrix.page;jsessionid=C79B17BAFCE7166D80F92708F500D4B9; 
/


after the refresh i'm seeing the following url in IE:
   
http://localhost:8080/myapp/ImportMatrix.page


completely disregarding the jsessionid, which brings me back to the 
login page.


Used Tapestry-version: 4.1.1, 4.1.2-SNAPSHOT (15.2.2007)

Could anyone give me a hint on how to fix this?

Regards,
Patrick

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


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


  




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


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


  



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



Re: AW: AW: @Shell component, refresh and IE

2007-03-06 Thread Patrick Klein

Hello Peter,

i tried that now by using a custom Shell component which simply 
replaces ; with %3B in the url. Result in firefox _and_ IE :
  
   HTTP Status 404 - 
/myapp/ImportMatrix.page%3Bjsessionid=E903773F2AFE3C2F2AADB2EE2D1C0C3E


Would've been too easy if it had worked that way...

Does anyone have another idea for a workaround?

Regards,
   Patrick

hi patrick,

you may also try to url-encode the tapestry-url so that ; will be %3B and IE 
wont get confused

kind regards 


-Ursprüngliche Nachricht-
Von: Patrick Klein [mailto:[EMAIL PROTECTED] 
Gesendet: Dienstag, 6. März 2007 10:46

An: Tapestry users
Betreff: Re: AW: @Shell component, refresh and IE

Hi, Peter,

somehow i allready thought it was something like that. Thanks for the 
answer :)

Switching to using cookies also does the trick.
Both solutions somehow are not really satisfying as the Shell component 
should be able to attend this...


Regards,
Patrick
  

hi patrick,

this might be because of the ; as delimiter for the sessionId wich is also 
used as delimiter for the values of the content-parameter. so i think that IE splits this 
entry to
10
URL=http://localhost:8080/myapp/ImportMatrix.page
jsessionid=C79B17BAFCE7166D80F92708F500D4B9

wich brings you to your start-page. 
instead of a meta-tag you might use javascript for page-refresh as a workaround.


kind regars

-Ursprüngliche Nachricht-
Von: Patrick Klein [mailto:[EMAIL PROTECTED] 
Gesendet: Dienstag, 6. März 2007 10:20

An: Tapestry users
Betreff: @Shell component, refresh and IE

Hello!

I'm using the @Shell component's refresh tag to set trigger the reload 
of a given page every 10 seconds. All works fine using Firefox. However, 
using IE all goes havoc as IE seems to drop at least parts of the reload 
url. The refresh part of the page looks like the following:


meta http-equiv=Refresh content=10; 
URL=http://localhost:8080/myapp/ImportMatrix.page;jsessionid=C79B17BAFCE7166D80F92708F500D4B9; 
/


after the refresh i'm seeing the following url in IE:
   
http://localhost:8080/myapp/ImportMatrix.page


completely disregarding the jsessionid, which brings me back to the 
login page.


Used Tapestry-version: 4.1.1, 4.1.2-SNAPSHOT (15.2.2007)

Could anyone give me a hint on how to fix this?

Regards,
Patrick

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


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


  




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


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


  



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