Re: [Wicket-user] - Page redirect infinite loop

2006-08-08 Thread Paolo Di Tommaso
Thanks. I've just updated the two classes and made a new build. Seems to work fine. - PaoloOn 8/7/06, Johan Compagner 
[EMAIL PROTECTED] wrote:branches/WICKET_1_2/wicket/src/java/wicket/protocol/http/request/WebRequestCodingStrategy.java
  branches/WICKET_1_2/wicket/src/java/wicket/request/target/coding/BookmarkablePageRequestTargetUrlCodingStrategy.java

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] - Page redirect infinite loop

2006-08-07 Thread Paolo Di Tommaso
Guys, I'm experiencing a very strange problem using Wicket (1.2.x) that I was unable to fix until now. I have mounted some pages overriding WebApplication#init() method like this: 
public void init() { mount( /test, new QueryStringUrlCodingStrategy(/test, MyPage.class) );
}So I can references the page by an url like 
http://host.com/web-path/servlet-path/test.But // SOMETIMES // invoking that page an infinite redirect loop occurs and the only way to stop the page loading is to press the browser stop button. I'm unable to replicate the problem because it happens in some aleatory way. But I've noticed two things: 
* wicket append to the URL the following parameter wicket:pageMapName=wicket-0
 like that:http://localhost:9080/coin-budget/budget/print?request_id=1521wicket:pageMapName=wicket-0
 
* moreover after the first time it happens it will persist for every subsequent request to that page unless I don't close the browser and start it again ...It's a very nasty problem, any idea to fix? 
Thank for helping.- Paolo
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] - Page redirect infinite loop

2006-08-07 Thread Johan Compagner
I think i did a fix for it just this weekend so this is fixed in the current trunk of 1.2.johanOn 8/7/06, Paolo Di Tommaso 
[EMAIL PROTECTED] wrote:Guys, I'm experiencing a very strange problem using Wicket (
1.2.x) that I was unable to fix until now. I have mounted some pages overriding WebApplication#init() method like this: 
public void init() { mount( /test, new QueryStringUrlCodingStrategy(/test, MyPage.class) );
}So I can references the page by an url like 

http://host.com/web-path/servlet-path/test.But // SOMETIMES // invoking that page an infinite redirect loop occurs and the only way to stop the page loading is to press the browser stop button. 
I'm unable to replicate the problem because it happens in some aleatory way. But I've noticed two things: 
* wicket append to the URL the following parameter 
wicket:pageMapName=wicket-0
 like that:
http://localhost:9080/coin-budget/budget/print?request_id=1521wicket:pageMapName=wicket-0
 
* moreover after the first time it happens it will persist for every subsequent request to that page unless I don't close the browser and start it again ...It's a very nasty problem, any idea to fix? 
Thank for helping.- Paolo

-Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___Wicket-user mailing list
Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] - Page redirect infinite loop

2006-08-07 Thread Johan Compagner
nopebecause the window.name code did his jobbut the QueryStringUrlCodingStrategy didn't pass on the pagemap that the window code did setso it was constantly again in the default pagemap and the 
window.name code kicks in again to do a redirect..johanOn 8/7/06, Igor Vaynberg 
[EMAIL PROTECTED] wrote:shouldnt the window.name
 have fixed this?-IgorOn 8/7/06, Johan Compagner [EMAIL PROTECTED] wrote: I think i did a fix for it just this weekend so this is fixed in the current
 trunk of 1.2. johan On 8/7/06, Paolo Di Tommaso  [EMAIL PROTECTED] wrote: 
 Guys, I'm experiencing a very strange problem using Wicket ( 1.2.x) that I was unable to fix until now. I have mounted some pages overriding WebApplication#init() method like this:
public void init() {mount( /test, new QueryStringUrlCodingStrategy(/test, MyPage.class) ); } So I can references the page by an url like 
 http://host.com/web-path/servlet-path/test. But // SOMETIMES // invoking that page an infinite redirect loop occurs and the only way to stop the page loading is to press the browser stop button.
I'm unable to replicate the problem because it happens in some aleatory way. But I've noticed two things: * wicket append to the URL the following parameter  wicket:pageMapName=wicket-0  like that:
 http://localhost:9080/coin-budget/budget/print?request_id=1521wicket:pageMapName=wicket-0
 * moreover after the first time it happens it will persist for every subsequent request to that page unless I don't close the browser and start it again ... It's a very nasty problem, any idea to fix?
 Thank for helping. - Paolo - Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo 
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list
Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -
 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server 
v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/wicket-user-Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___Wicket-user mailing list
Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] - Page redirect infinite loop

2006-08-07 Thread Paolo Di Tommaso
Can you give me more details on which classes to fix or would be better to make a full build? Thank.- Paolo On 8/7/06, Johan Compagner 
[EMAIL PROTECTED] wrote:I think i did a fix for it just this weekend so this is fixed in the current trunk of 
1.2.johan
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user