You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Sean Sullivan (JIRA)" <ji...@apache.org> on 2007/08/06 03:13:29 UTC

[jira] Created: (WICKET-825) web browser displays empty page when WebPage mounted with HybridUrlCodingStrategy

web browser displays empty page when WebPage mounted with HybridUrlCodingStrategy
---------------------------------------------------------------------------------

                 Key: WICKET-825
                 URL: https://issues.apache.org/jira/browse/WICKET-825
             Project: Wicket
          Issue Type: Bug
          Components: wicket
    Affects Versions: 1.3.0-beta2
            Reporter: Sean Sullivan


My Wicket 1.3 application mounts pages using the 
org.apache.wicket.request.target.coding.HybridUrlCodingStrategy:

     this.mount(new HybridUrlCodingStrategy("/bar", BarPage.class));
     this.mount(new HybridUrlCodingStrategy("/foo", FooPage.class));
     this.mount(new HybridUrlCodingStrategy("/faq", FaqPage.class));

Most of my web pages work fine but one of them ( /foo ) is not working.  The /foo page displays no content. The entire page is blank in the web browser.

Using a debugger, I stepped into HybridUrlCodingStrategy.java and I think there might (?) be a problem in the respond method:

		public void respond(RequestCycle requestCycle)
		{
				Page page = getPage(requestCycle);
				if (page.isPageStateless() == false && redirect)
				{
					requestCycle.redirectTo(page);
				}
		}

When I'm requesting /foo, the corresponding web page class is FooPage.  When accessing FooPage, the isPageStateless() method returns true.   This means that the if expression evaluates to false.  

Should HybridUrlCodingStrategy have code to handle the situation where isPageStateless returns true?




returns true 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (WICKET-825) web browser displays empty page when WebPage mounted with HybridUrlCodingStrategy

Posted by "Igor Vaynberg (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-825?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Igor Vaynberg reassigned WICKET-825:
------------------------------------

    Assignee: Matej Knopp

> web browser displays empty page when WebPage mounted with HybridUrlCodingStrategy
> ---------------------------------------------------------------------------------
>
>                 Key: WICKET-825
>                 URL: https://issues.apache.org/jira/browse/WICKET-825
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.3.0-beta2
>            Reporter: Sean Sullivan
>            Assignee: Matej Knopp
>
> My Wicket 1.3 application mounts pages using the 
> org.apache.wicket.request.target.coding.HybridUrlCodingStrategy:
>      this.mount(new HybridUrlCodingStrategy("/bar", BarPage.class));
>      this.mount(new HybridUrlCodingStrategy("/foo", FooPage.class));
>      this.mount(new HybridUrlCodingStrategy("/faq", FaqPage.class));
> Most of my web pages work fine but one of them ( /foo ) is not working.  The /foo page displays no content. The entire page is blank in the web browser.
> Using a debugger, I stepped into HybridUrlCodingStrategy.java and I think there might (?) be a problem in the respond method:
> 		public void respond(RequestCycle requestCycle)
> 		{
> 				Page page = getPage(requestCycle);
> 				if (page.isPageStateless() == false && redirect)
> 				{
> 					requestCycle.redirectTo(page);
> 				}
> 		}
> When the browser requests /foo, the corresponding web page class is FooPage.  When accessing FooPage, the isPageStateless() method returns true.   This means that the if expression evaluates to false.  
> Should HybridUrlCodingStrategy have code to handle the situation where isPageStateless() returns true?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (WICKET-825) web browser displays empty page when WebPage mounted with HybridUrlCodingStrategy

Posted by "Frank Bille Jensen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-825?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Frank Bille Jensen updated WICKET-825:
--------------------------------------

    Fix Version/s:     (was: 1.3.0-beta4)
                   1.3.0-beta5

> web browser displays empty page when WebPage mounted with HybridUrlCodingStrategy
> ---------------------------------------------------------------------------------
>
>                 Key: WICKET-825
>                 URL: https://issues.apache.org/jira/browse/WICKET-825
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.3.0-beta2
>            Reporter: Sean Sullivan
>            Assignee: Matej Knopp
>             Fix For: 1.3.0-beta5
>
>
> My Wicket 1.3 application mounts pages using the 
> org.apache.wicket.request.target.coding.HybridUrlCodingStrategy:
>      this.mount(new HybridUrlCodingStrategy("/bar", BarPage.class));
>      this.mount(new HybridUrlCodingStrategy("/foo", FooPage.class));
>      this.mount(new HybridUrlCodingStrategy("/faq", FaqPage.class));
> Most of my web pages work fine but one of them ( /foo ) is not working.  The /foo page displays no content. The entire page is blank in the web browser.
> Using a debugger, I stepped into HybridUrlCodingStrategy.java and I think there might (?) be a problem in the respond method:
> 		public void respond(RequestCycle requestCycle)
> 		{
> 				Page page = getPage(requestCycle);
> 				if (page.isPageStateless() == false && redirect)
> 				{
> 					requestCycle.redirectTo(page);
> 				}
> 		}
> When the browser requests /foo, the corresponding web page class is FooPage.  When accessing FooPage, the isPageStateless() method returns true.   This means that the if expression evaluates to false.  
> Should HybridUrlCodingStrategy have code to handle the situation where isPageStateless() returns true?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (WICKET-825) web browser displays empty page when WebPage mounted with HybridUrlCodingStrategy

Posted by "Matej Knopp (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-825?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matej Knopp resolved WICKET-825.
--------------------------------

       Resolution: Later
    Fix Version/s:     (was: 1.4-M2)
                   1.5-M1

I'm affraid this is not fixable now. HybridUrlCodingStrategy doesn't behave nicely with stateless pages. This will be resolved in 1.5 (which will hopefully come soon) where HybridUrlCodingStrategy and other strategies will be replaced with one flexible strategy. 

> web browser displays empty page when WebPage mounted with HybridUrlCodingStrategy
> ---------------------------------------------------------------------------------
>
>                 Key: WICKET-825
>                 URL: https://issues.apache.org/jira/browse/WICKET-825
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.3.0-beta2
>            Reporter: Sean Sullivan
>            Assignee: Matej Knopp
>             Fix For: 1.5-M1
>
>
> My Wicket 1.3 application mounts pages using the 
> org.apache.wicket.request.target.coding.HybridUrlCodingStrategy:
>      this.mount(new HybridUrlCodingStrategy("/bar", BarPage.class));
>      this.mount(new HybridUrlCodingStrategy("/foo", FooPage.class));
>      this.mount(new HybridUrlCodingStrategy("/faq", FaqPage.class));
> Most of my web pages work fine but one of them ( /foo ) is not working.  The /foo page displays no content. The entire page is blank in the web browser.
> Using a debugger, I stepped into HybridUrlCodingStrategy.java and I think there might (?) be a problem in the respond method:
> 		public void respond(RequestCycle requestCycle)
> 		{
> 				Page page = getPage(requestCycle);
> 				if (page.isPageStateless() == false && redirect)
> 				{
> 					requestCycle.redirectTo(page);
> 				}
> 		}
> When the browser requests /foo, the corresponding web page class is FooPage.  When accessing FooPage, the isPageStateless() method returns true.   This means that the if expression evaluates to false.  
> Should HybridUrlCodingStrategy have code to handle the situation where isPageStateless() returns true?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (WICKET-825) web browser displays empty page when WebPage mounted with HybridUrlCodingStrategy

Posted by "Matej Knopp (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-825?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matej Knopp updated WICKET-825:
-------------------------------

    Fix Version/s:     (was: 1.3.1)
                   1.4-M1

> web browser displays empty page when WebPage mounted with HybridUrlCodingStrategy
> ---------------------------------------------------------------------------------
>
>                 Key: WICKET-825
>                 URL: https://issues.apache.org/jira/browse/WICKET-825
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.3.0-beta2
>            Reporter: Sean Sullivan
>            Assignee: Matej Knopp
>             Fix For: 1.4-M1
>
>
> My Wicket 1.3 application mounts pages using the 
> org.apache.wicket.request.target.coding.HybridUrlCodingStrategy:
>      this.mount(new HybridUrlCodingStrategy("/bar", BarPage.class));
>      this.mount(new HybridUrlCodingStrategy("/foo", FooPage.class));
>      this.mount(new HybridUrlCodingStrategy("/faq", FaqPage.class));
> Most of my web pages work fine but one of them ( /foo ) is not working.  The /foo page displays no content. The entire page is blank in the web browser.
> Using a debugger, I stepped into HybridUrlCodingStrategy.java and I think there might (?) be a problem in the respond method:
> 		public void respond(RequestCycle requestCycle)
> 		{
> 				Page page = getPage(requestCycle);
> 				if (page.isPageStateless() == false && redirect)
> 				{
> 					requestCycle.redirectTo(page);
> 				}
> 		}
> When the browser requests /foo, the corresponding web page class is FooPage.  When accessing FooPage, the isPageStateless() method returns true.   This means that the if expression evaluates to false.  
> Should HybridUrlCodingStrategy have code to handle the situation where isPageStateless() returns true?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (WICKET-825) web browser displays empty page when WebPage mounted with HybridUrlCodingStrategy

Posted by "Sean Sullivan (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-825?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12519551 ] 

Sean Sullivan commented on WICKET-825:
--------------------------------------

This issue is still unassigned. Can you assign this to somebody?


> web browser displays empty page when WebPage mounted with HybridUrlCodingStrategy
> ---------------------------------------------------------------------------------
>
>                 Key: WICKET-825
>                 URL: https://issues.apache.org/jira/browse/WICKET-825
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.3.0-beta2
>            Reporter: Sean Sullivan
>
> My Wicket 1.3 application mounts pages using the 
> org.apache.wicket.request.target.coding.HybridUrlCodingStrategy:
>      this.mount(new HybridUrlCodingStrategy("/bar", BarPage.class));
>      this.mount(new HybridUrlCodingStrategy("/foo", FooPage.class));
>      this.mount(new HybridUrlCodingStrategy("/faq", FaqPage.class));
> Most of my web pages work fine but one of them ( /foo ) is not working.  The /foo page displays no content. The entire page is blank in the web browser.
> Using a debugger, I stepped into HybridUrlCodingStrategy.java and I think there might (?) be a problem in the respond method:
> 		public void respond(RequestCycle requestCycle)
> 		{
> 				Page page = getPage(requestCycle);
> 				if (page.isPageStateless() == false && redirect)
> 				{
> 					requestCycle.redirectTo(page);
> 				}
> 		}
> When the browser requests /foo, the corresponding web page class is FooPage.  When accessing FooPage, the isPageStateless() method returns true.   This means that the if expression evaluates to false.  
> Should HybridUrlCodingStrategy have code to handle the situation where isPageStateless() returns true?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (WICKET-825) web browser displays empty page when WebPage mounted with HybridUrlCodingStrategy

Posted by "Frank Bille Jensen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-825?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Frank Bille Jensen updated WICKET-825:
--------------------------------------

    Fix Version/s:     (was: 1.4-M1)
                   1.4-M2

> web browser displays empty page when WebPage mounted with HybridUrlCodingStrategy
> ---------------------------------------------------------------------------------
>
>                 Key: WICKET-825
>                 URL: https://issues.apache.org/jira/browse/WICKET-825
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.3.0-beta2
>            Reporter: Sean Sullivan
>            Assignee: Matej Knopp
>             Fix For: 1.4-M2
>
>
> My Wicket 1.3 application mounts pages using the 
> org.apache.wicket.request.target.coding.HybridUrlCodingStrategy:
>      this.mount(new HybridUrlCodingStrategy("/bar", BarPage.class));
>      this.mount(new HybridUrlCodingStrategy("/foo", FooPage.class));
>      this.mount(new HybridUrlCodingStrategy("/faq", FaqPage.class));
> Most of my web pages work fine but one of them ( /foo ) is not working.  The /foo page displays no content. The entire page is blank in the web browser.
> Using a debugger, I stepped into HybridUrlCodingStrategy.java and I think there might (?) be a problem in the respond method:
> 		public void respond(RequestCycle requestCycle)
> 		{
> 				Page page = getPage(requestCycle);
> 				if (page.isPageStateless() == false && redirect)
> 				{
> 					requestCycle.redirectTo(page);
> 				}
> 		}
> When the browser requests /foo, the corresponding web page class is FooPage.  When accessing FooPage, the isPageStateless() method returns true.   This means that the if expression evaluates to false.  
> Should HybridUrlCodingStrategy have code to handle the situation where isPageStateless() returns true?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (WICKET-825) web browser displays empty page when WebPage mounted with HybridUrlCodingStrategy

Posted by "Frank Bille Jensen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-825?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Frank Bille Jensen updated WICKET-825:
--------------------------------------

    Fix Version/s:     (was: 1.3.0-rc2)
                   1.3.0-rc3

> web browser displays empty page when WebPage mounted with HybridUrlCodingStrategy
> ---------------------------------------------------------------------------------
>
>                 Key: WICKET-825
>                 URL: https://issues.apache.org/jira/browse/WICKET-825
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.3.0-beta2
>            Reporter: Sean Sullivan
>            Assignee: Matej Knopp
>             Fix For: 1.3.0-rc3
>
>
> My Wicket 1.3 application mounts pages using the 
> org.apache.wicket.request.target.coding.HybridUrlCodingStrategy:
>      this.mount(new HybridUrlCodingStrategy("/bar", BarPage.class));
>      this.mount(new HybridUrlCodingStrategy("/foo", FooPage.class));
>      this.mount(new HybridUrlCodingStrategy("/faq", FaqPage.class));
> Most of my web pages work fine but one of them ( /foo ) is not working.  The /foo page displays no content. The entire page is blank in the web browser.
> Using a debugger, I stepped into HybridUrlCodingStrategy.java and I think there might (?) be a problem in the respond method:
> 		public void respond(RequestCycle requestCycle)
> 		{
> 				Page page = getPage(requestCycle);
> 				if (page.isPageStateless() == false && redirect)
> 				{
> 					requestCycle.redirectTo(page);
> 				}
> 		}
> When the browser requests /foo, the corresponding web page class is FooPage.  When accessing FooPage, the isPageStateless() method returns true.   This means that the if expression evaluates to false.  
> Should HybridUrlCodingStrategy have code to handle the situation where isPageStateless() returns true?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (WICKET-825) web browser displays empty page when WebPage mounted with HybridUrlCodingStrategy

Posted by "Matej Knopp (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-825?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12522849 ] 

Matej Knopp commented on WICKET-825:
------------------------------------

There is a stateless checking code now, can you please test if it helps your problem?

> web browser displays empty page when WebPage mounted with HybridUrlCodingStrategy
> ---------------------------------------------------------------------------------
>
>                 Key: WICKET-825
>                 URL: https://issues.apache.org/jira/browse/WICKET-825
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.3.0-beta2
>            Reporter: Sean Sullivan
>            Assignee: Matej Knopp
>             Fix For: 1.3.0-beta4
>
>
> My Wicket 1.3 application mounts pages using the 
> org.apache.wicket.request.target.coding.HybridUrlCodingStrategy:
>      this.mount(new HybridUrlCodingStrategy("/bar", BarPage.class));
>      this.mount(new HybridUrlCodingStrategy("/foo", FooPage.class));
>      this.mount(new HybridUrlCodingStrategy("/faq", FaqPage.class));
> Most of my web pages work fine but one of them ( /foo ) is not working.  The /foo page displays no content. The entire page is blank in the web browser.
> Using a debugger, I stepped into HybridUrlCodingStrategy.java and I think there might (?) be a problem in the respond method:
> 		public void respond(RequestCycle requestCycle)
> 		{
> 				Page page = getPage(requestCycle);
> 				if (page.isPageStateless() == false && redirect)
> 				{
> 					requestCycle.redirectTo(page);
> 				}
> 		}
> When the browser requests /foo, the corresponding web page class is FooPage.  When accessing FooPage, the isPageStateless() method returns true.   This means that the if expression evaluates to false.  
> Should HybridUrlCodingStrategy have code to handle the situation where isPageStateless() returns true?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Reopened: (WICKET-825) web browser displays empty page when WebPage mounted with HybridUrlCodingStrategy

Posted by "Matej Knopp (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-825?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matej Knopp reopened WICKET-825:
--------------------------------


Actually, I'm reopening this, I need to investigate possibility to attach/call beforeRender on page before determining if page is stateless, so that we give chance to repeaters to create items.

> web browser displays empty page when WebPage mounted with HybridUrlCodingStrategy
> ---------------------------------------------------------------------------------
>
>                 Key: WICKET-825
>                 URL: https://issues.apache.org/jira/browse/WICKET-825
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.3.0-beta2
>            Reporter: Sean Sullivan
>            Assignee: Matej Knopp
>             Fix For: 1.3.0-beta4
>
>
> My Wicket 1.3 application mounts pages using the 
> org.apache.wicket.request.target.coding.HybridUrlCodingStrategy:
>      this.mount(new HybridUrlCodingStrategy("/bar", BarPage.class));
>      this.mount(new HybridUrlCodingStrategy("/foo", FooPage.class));
>      this.mount(new HybridUrlCodingStrategy("/faq", FaqPage.class));
> Most of my web pages work fine but one of them ( /foo ) is not working.  The /foo page displays no content. The entire page is blank in the web browser.
> Using a debugger, I stepped into HybridUrlCodingStrategy.java and I think there might (?) be a problem in the respond method:
> 		public void respond(RequestCycle requestCycle)
> 		{
> 				Page page = getPage(requestCycle);
> 				if (page.isPageStateless() == false && redirect)
> 				{
> 					requestCycle.redirectTo(page);
> 				}
> 		}
> When the browser requests /foo, the corresponding web page class is FooPage.  When accessing FooPage, the isPageStateless() method returns true.   This means that the if expression evaluates to false.  
> Should HybridUrlCodingStrategy have code to handle the situation where isPageStateless() returns true?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (WICKET-825) web browser displays empty page when WebPage mounted with HybridUrlCodingStrategy

Posted by "Igor Vaynberg (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-825?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Igor Vaynberg updated WICKET-825:
---------------------------------

    Fix Version/s: 1.3.0-beta4

> web browser displays empty page when WebPage mounted with HybridUrlCodingStrategy
> ---------------------------------------------------------------------------------
>
>                 Key: WICKET-825
>                 URL: https://issues.apache.org/jira/browse/WICKET-825
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.3.0-beta2
>            Reporter: Sean Sullivan
>            Assignee: Matej Knopp
>             Fix For: 1.3.0-beta4
>
>
> My Wicket 1.3 application mounts pages using the 
> org.apache.wicket.request.target.coding.HybridUrlCodingStrategy:
>      this.mount(new HybridUrlCodingStrategy("/bar", BarPage.class));
>      this.mount(new HybridUrlCodingStrategy("/foo", FooPage.class));
>      this.mount(new HybridUrlCodingStrategy("/faq", FaqPage.class));
> Most of my web pages work fine but one of them ( /foo ) is not working.  The /foo page displays no content. The entire page is blank in the web browser.
> Using a debugger, I stepped into HybridUrlCodingStrategy.java and I think there might (?) be a problem in the respond method:
> 		public void respond(RequestCycle requestCycle)
> 		{
> 				Page page = getPage(requestCycle);
> 				if (page.isPageStateless() == false && redirect)
> 				{
> 					requestCycle.redirectTo(page);
> 				}
> 		}
> When the browser requests /foo, the corresponding web page class is FooPage.  When accessing FooPage, the isPageStateless() method returns true.   This means that the if expression evaluates to false.  
> Should HybridUrlCodingStrategy have code to handle the situation where isPageStateless() returns true?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (WICKET-825) web browser displays empty page when WebPage mounted with HybridUrlCodingStrategy

Posted by "Matej Knopp (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-825?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12520081 ] 

Matej Knopp commented on WICKET-825:
------------------------------------

Sorry about that, this will be difficult to resolve, in the meanwhile, mount the stateless page using regular mountBookmarkablePage

> web browser displays empty page when WebPage mounted with HybridUrlCodingStrategy
> ---------------------------------------------------------------------------------
>
>                 Key: WICKET-825
>                 URL: https://issues.apache.org/jira/browse/WICKET-825
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.3.0-beta2
>            Reporter: Sean Sullivan
>            Assignee: Matej Knopp
>
> My Wicket 1.3 application mounts pages using the 
> org.apache.wicket.request.target.coding.HybridUrlCodingStrategy:
>      this.mount(new HybridUrlCodingStrategy("/bar", BarPage.class));
>      this.mount(new HybridUrlCodingStrategy("/foo", FooPage.class));
>      this.mount(new HybridUrlCodingStrategy("/faq", FaqPage.class));
> Most of my web pages work fine but one of them ( /foo ) is not working.  The /foo page displays no content. The entire page is blank in the web browser.
> Using a debugger, I stepped into HybridUrlCodingStrategy.java and I think there might (?) be a problem in the respond method:
> 		public void respond(RequestCycle requestCycle)
> 		{
> 				Page page = getPage(requestCycle);
> 				if (page.isPageStateless() == false && redirect)
> 				{
> 					requestCycle.redirectTo(page);
> 				}
> 		}
> When the browser requests /foo, the corresponding web page class is FooPage.  When accessing FooPage, the isPageStateless() method returns true.   This means that the if expression evaluates to false.  
> Should HybridUrlCodingStrategy have code to handle the situation where isPageStateless() returns true?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (WICKET-825) web browser displays empty page when WebPage mounted with HybridUrlCodingStrategy

Posted by "Matej Knopp (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-825?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matej Knopp resolved WICKET-825.
--------------------------------

    Resolution: Fixed

> web browser displays empty page when WebPage mounted with HybridUrlCodingStrategy
> ---------------------------------------------------------------------------------
>
>                 Key: WICKET-825
>                 URL: https://issues.apache.org/jira/browse/WICKET-825
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.3.0-beta2
>            Reporter: Sean Sullivan
>            Assignee: Matej Knopp
>             Fix For: 1.3.0-beta4
>
>
> My Wicket 1.3 application mounts pages using the 
> org.apache.wicket.request.target.coding.HybridUrlCodingStrategy:
>      this.mount(new HybridUrlCodingStrategy("/bar", BarPage.class));
>      this.mount(new HybridUrlCodingStrategy("/foo", FooPage.class));
>      this.mount(new HybridUrlCodingStrategy("/faq", FaqPage.class));
> Most of my web pages work fine but one of them ( /foo ) is not working.  The /foo page displays no content. The entire page is blank in the web browser.
> Using a debugger, I stepped into HybridUrlCodingStrategy.java and I think there might (?) be a problem in the respond method:
> 		public void respond(RequestCycle requestCycle)
> 		{
> 				Page page = getPage(requestCycle);
> 				if (page.isPageStateless() == false && redirect)
> 				{
> 					requestCycle.redirectTo(page);
> 				}
> 		}
> When the browser requests /foo, the corresponding web page class is FooPage.  When accessing FooPage, the isPageStateless() method returns true.   This means that the if expression evaluates to false.  
> Should HybridUrlCodingStrategy have code to handle the situation where isPageStateless() returns true?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (WICKET-825) web browser displays empty page when WebPage mounted with HybridUrlCodingStrategy

Posted by "Sean Sullivan (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-825?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sean Sullivan updated WICKET-825:
---------------------------------

    Description: 
My Wicket 1.3 application mounts pages using the 
org.apache.wicket.request.target.coding.HybridUrlCodingStrategy:

     this.mount(new HybridUrlCodingStrategy("/bar", BarPage.class));
     this.mount(new HybridUrlCodingStrategy("/foo", FooPage.class));
     this.mount(new HybridUrlCodingStrategy("/faq", FaqPage.class));

Most of my web pages work fine but one of them ( /foo ) is not working.  The /foo page displays no content. The entire page is blank in the web browser.

Using a debugger, I stepped into HybridUrlCodingStrategy.java and I think there might (?) be a problem in the respond method:

		public void respond(RequestCycle requestCycle)
		{
				Page page = getPage(requestCycle);
				if (page.isPageStateless() == false && redirect)
				{
					requestCycle.redirectTo(page);
				}
		}

When the browser requests /foo, the corresponding web page class is FooPage.  When accessing FooPage, the isPageStateless() method returns true.   This means that the if expression evaluates to false.  

Should HybridUrlCodingStrategy have code to handle the situation where isPageStateless() returns true?


  was:
My Wicket 1.3 application mounts pages using the 
org.apache.wicket.request.target.coding.HybridUrlCodingStrategy:

     this.mount(new HybridUrlCodingStrategy("/bar", BarPage.class));
     this.mount(new HybridUrlCodingStrategy("/foo", FooPage.class));
     this.mount(new HybridUrlCodingStrategy("/faq", FaqPage.class));

Most of my web pages work fine but one of them ( /foo ) is not working.  The /foo page displays no content. The entire page is blank in the web browser.

Using a debugger, I stepped into HybridUrlCodingStrategy.java and I think there might (?) be a problem in the respond method:

		public void respond(RequestCycle requestCycle)
		{
				Page page = getPage(requestCycle);
				if (page.isPageStateless() == false && redirect)
				{
					requestCycle.redirectTo(page);
				}
		}

When I'm requesting /foo, the corresponding web page class is FooPage.  When accessing FooPage, the isPageStateless() method returns true.   This means that the if expression evaluates to false.  

Should HybridUrlCodingStrategy have code to handle the situation where isPageStateless returns true?




returns true 


> web browser displays empty page when WebPage mounted with HybridUrlCodingStrategy
> ---------------------------------------------------------------------------------
>
>                 Key: WICKET-825
>                 URL: https://issues.apache.org/jira/browse/WICKET-825
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.3.0-beta2
>            Reporter: Sean Sullivan
>
> My Wicket 1.3 application mounts pages using the 
> org.apache.wicket.request.target.coding.HybridUrlCodingStrategy:
>      this.mount(new HybridUrlCodingStrategy("/bar", BarPage.class));
>      this.mount(new HybridUrlCodingStrategy("/foo", FooPage.class));
>      this.mount(new HybridUrlCodingStrategy("/faq", FaqPage.class));
> Most of my web pages work fine but one of them ( /foo ) is not working.  The /foo page displays no content. The entire page is blank in the web browser.
> Using a debugger, I stepped into HybridUrlCodingStrategy.java and I think there might (?) be a problem in the respond method:
> 		public void respond(RequestCycle requestCycle)
> 		{
> 				Page page = getPage(requestCycle);
> 				if (page.isPageStateless() == false && redirect)
> 				{
> 					requestCycle.redirectTo(page);
> 				}
> 		}
> When the browser requests /foo, the corresponding web page class is FooPage.  When accessing FooPage, the isPageStateless() method returns true.   This means that the if expression evaluates to false.  
> Should HybridUrlCodingStrategy have code to handle the situation where isPageStateless() returns true?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (WICKET-825) web browser displays empty page when WebPage mounted with HybridUrlCodingStrategy

Posted by "Frank Bille Jensen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-825?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Frank Bille Jensen updated WICKET-825:
--------------------------------------

    Fix Version/s:     (was: 1.3.0-rc3)
                   1.3.1

> web browser displays empty page when WebPage mounted with HybridUrlCodingStrategy
> ---------------------------------------------------------------------------------
>
>                 Key: WICKET-825
>                 URL: https://issues.apache.org/jira/browse/WICKET-825
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.3.0-beta2
>            Reporter: Sean Sullivan
>            Assignee: Matej Knopp
>             Fix For: 1.3.1
>
>
> My Wicket 1.3 application mounts pages using the 
> org.apache.wicket.request.target.coding.HybridUrlCodingStrategy:
>      this.mount(new HybridUrlCodingStrategy("/bar", BarPage.class));
>      this.mount(new HybridUrlCodingStrategy("/foo", FooPage.class));
>      this.mount(new HybridUrlCodingStrategy("/faq", FaqPage.class));
> Most of my web pages work fine but one of them ( /foo ) is not working.  The /foo page displays no content. The entire page is blank in the web browser.
> Using a debugger, I stepped into HybridUrlCodingStrategy.java and I think there might (?) be a problem in the respond method:
> 		public void respond(RequestCycle requestCycle)
> 		{
> 				Page page = getPage(requestCycle);
> 				if (page.isPageStateless() == false && redirect)
> 				{
> 					requestCycle.redirectTo(page);
> 				}
> 		}
> When the browser requests /foo, the corresponding web page class is FooPage.  When accessing FooPage, the isPageStateless() method returns true.   This means that the if expression evaluates to false.  
> Should HybridUrlCodingStrategy have code to handle the situation where isPageStateless() returns true?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (WICKET-825) web browser displays empty page when WebPage mounted with HybridUrlCodingStrategy

Posted by "Frank Bille Jensen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-825?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Frank Bille Jensen updated WICKET-825:
--------------------------------------

    Fix Version/s:     (was: 1.3.0-rc1)
                   1.3.0-rc2

> web browser displays empty page when WebPage mounted with HybridUrlCodingStrategy
> ---------------------------------------------------------------------------------
>
>                 Key: WICKET-825
>                 URL: https://issues.apache.org/jira/browse/WICKET-825
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.3.0-beta2
>            Reporter: Sean Sullivan
>            Assignee: Matej Knopp
>             Fix For: 1.3.0-rc2
>
>
> My Wicket 1.3 application mounts pages using the 
> org.apache.wicket.request.target.coding.HybridUrlCodingStrategy:
>      this.mount(new HybridUrlCodingStrategy("/bar", BarPage.class));
>      this.mount(new HybridUrlCodingStrategy("/foo", FooPage.class));
>      this.mount(new HybridUrlCodingStrategy("/faq", FaqPage.class));
> Most of my web pages work fine but one of them ( /foo ) is not working.  The /foo page displays no content. The entire page is blank in the web browser.
> Using a debugger, I stepped into HybridUrlCodingStrategy.java and I think there might (?) be a problem in the respond method:
> 		public void respond(RequestCycle requestCycle)
> 		{
> 				Page page = getPage(requestCycle);
> 				if (page.isPageStateless() == false && redirect)
> 				{
> 					requestCycle.redirectTo(page);
> 				}
> 		}
> When the browser requests /foo, the corresponding web page class is FooPage.  When accessing FooPage, the isPageStateless() method returns true.   This means that the if expression evaluates to false.  
> Should HybridUrlCodingStrategy have code to handle the situation where isPageStateless() returns true?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.