Re: What already redirecting error?

2011-01-13 Thread Arjun Dhar

Hi,
 I have a very very Dynamic Form. In the public void onSubmit() {...}, due
to some Change in a Drop Down the entire Form changes.

To keep it simple I just decided to Re-Load the entire page.
but looks like from onSumbit() you cannot call
getRequestCycle().redirectTo(...) or you get the exception:
Already redirecting to '?wicket:interface=:12'. Cannot redirect more
than once.

Frankly, I'd like to replace the Form Components in the OnSubmit() given a
Choice instead of a redirect. But addOrReplace components in the Form doesnt
have any effect. Apparently, only Changing the Model of Components already
added works!

Q1) So for starts whats the best way to re load the page in this case
Q2) Even Better, can I Replace Form elements in onSubmit()? ..or somewhere
close? (This is better as I can use the FeedbackPanel to convey messages
after the form has changed)

thanks
-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/What-already-redirecting-error-tp1890181p3216471.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: What already redirecting error?

2011-01-13 Thread Arjun Dhar

DOH! the answer to Q1) was RestartResponseException. As mentioned in the
above post
Am still curious to know the answer to Q2) if someone already knows!

thanks
-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/What-already-redirecting-error-tp1890181p3216501.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: What already redirecting error?

2011-01-13 Thread Hans Lesmeister

I think Form.replace() is your friend

Cheers
Hans



Am 13.01.2011 um 20:17 schrieb Arjun Dhar dhar...@yahoo.com:



Hi,
I have a very very Dynamic Form. In the public void onSubmit()  
{...}, due

to some Change in a Drop Down the entire Form changes.

To keep it simple I just decided to Re-Load the entire page.
but looks like from onSumbit() you cannot call
getRequestCycle().redirectTo(...) or you get the exception:
Already redirecting to '?wicket:interface=:12'. Cannot redirect  
more

than once.

Frankly, I'd like to replace the Form Components in the OnSubmit()  
given a
Choice instead of a redirect. But addOrReplace components in the  
Form doesnt
have any effect. Apparently, only Changing the Model of Components  
already

added works!

Q1) So for starts whats the best way to re load the page in this case
Q2) Even Better, can I Replace Form elements in onSubmit()? ..or  
somewhere
close? (This is better as I can use the FeedbackPanel to convey  
messages

after the form has changed)

thanks
--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/What-already-redirecting-error-tp1890181p3216471.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: What already redirecting error?

2009-09-19 Thread Martin Makundi
This problem is solved. I was smart enough to use setResponsePage in
logic built into onBeforeRender.

Why onBeforeRender? It's a wizard panel whose content changes on every
render and when the wizard finally ends, there was a setResponsePage.

Fix?: use throw new RestartResponseException(NewPage.class);

**
Martin

2009/7/18 Martin Makundi martin.maku...@koodaripalvelut.com:
 Hi!

 You could try setting step debugging on your IDE and step through your code.

 Production code again... hindsight.

 However, this type of error is not specific to wicket. Just the other day I 
 was
  securing my site with Acegi and caused this to happen when I secured all
  pages, including my login.htm page - so, when Acegi noticed the unsecure
  request for a page, it redirected to the login.htm page, but that was 
 re-directing
 too.

 I will investigate this more on our test server.. If I can get it to
 repeat I will make a jira with quickstart (if it's not just my fault
 ;).

 **
 Martin


 
 Date: Sat, 18 Jul 2009 07:58:26 +0300
 Subject: Re: What already redirecting error?
 From: martin.maku...@koodaripalvelut.com
 To: users@wicket.apache.org

 None lead to my code, that's my point. The only thing I have used is
 setResponsePage().

 **
 Martin

 2009/7/17 Igor Vaynberg :
 pull the call hierarchy on
 org.apache.wicket.protocol.http.BufferedWebResponse.redirect and see
 what paths lead to your code.

 -igor

 On Fri, Jul 17, 2009 at 11:05 AM, Martin
 Makundi wrote:
 I don't have a clue where that occured...

 **
 Martin

 2009/7/17 Alex Objelean :

 Show us your code.

 Alex Objelean


 MartinM wrote:

 At least I do not know of any such redirects...

 **
 Martin

 2009/7/17 Igor Vaynberg :
 you are triggering a redirect after something else has already done so.

 -igor

 On Fri, Jul 17, 2009 at 1:38 AM, Martin
 Makundi wrote:
 Hi!

 What is this error and how can I avoid it? Don't even know why it 
 comes:

 2009-07-17 11:43:22,804 181242389 [btpool0-503] ERROR RequestCycle  -
 Already redirecting to '?wicket:interface=:0:9:::'. Cannot redirect
 more than once
 org.apache.wicket.WicketRuntimeException: Already redirecting to
 '?wicket:interface=:0:9:::'. Cannot redirect more than once
       at
 org.apache.wicket.protocol.http.BufferedWebResponse.redirect(BufferedWebResponse.java:101)
       at
 org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.respond(BookmarkablePageRequestTarget.java:257)
       at
 org.apache.wicket.request.AbstractRequestCycleProcessor.respond(AbstractRequestCycleProcessor.java:105)
       at 
 org.apache.wicket.RequestCycle.respond(RequestCycle.java:1258)
       at org.apache.wicket.RequestCycle.step(RequestCycle.java:1325)
       at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1419)
       at org.apache.wicket.RequestCycle.request(RequestCycle.java:545)
       at
 org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:456)
       at
 org.apache.wicket.protocol.http.WicketServlet.doPost(WicketServlet.java:160)

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




 --
 View this message in context: 
 http://www.nabble.com/What-already-redirecting-error--tp24530668p24538774.html
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org


 _
 Windows Live™ Hotmail®: Search, add, and share the web’s latest sports 
 videos. Check it out.
 http://www.windowslive.com/Online/Hotmail/Campaign/QuickAdd?ocid=TXT_TAGLM_WL_QA_HM_sports_videos_072009cat=sports
 -
 To unsubscribe, e

RE: What already redirecting error?

2009-07-18 Thread Russell Simpkins

Martin,
You could try setting step debugging on your IDE and step through your code. 
However, this type of error is not specific to wicket. Just the other day I was 
securing my site with Acegi and caused this to happen when I secured all pages, 
including my login.htm page - so, when Acegi noticed the unsecure request for a 
page, it redirected to the login.htm page, but that was re-directing too.
Russ


 Date: Sat, 18 Jul 2009 07:58:26 +0300
 Subject: Re: What already redirecting error?
 From: martin.maku...@koodaripalvelut.com
 To: users@wicket.apache.org

 None lead to my code, that's my point. The only thing I have used is
 setResponsePage().

 **
 Martin

 2009/7/17 Igor Vaynberg :
 pull the call hierarchy on
 org.apache.wicket.protocol.http.BufferedWebResponse.redirect and see
 what paths lead to your code.

 -igor

 On Fri, Jul 17, 2009 at 11:05 AM, Martin
 Makundi wrote:
 I don't have a clue where that occured...

 **
 Martin

 2009/7/17 Alex Objelean :

 Show us your code.

 Alex Objelean


 MartinM wrote:

 At least I do not know of any such redirects...

 **
 Martin

 2009/7/17 Igor Vaynberg :
 you are triggering a redirect after something else has already done so.

 -igor

 On Fri, Jul 17, 2009 at 1:38 AM, Martin
 Makundi wrote:
 Hi!

 What is this error and how can I avoid it? Don't even know why it comes:

 2009-07-17 11:43:22,804 181242389 [btpool0-503] ERROR RequestCycle  -
 Already redirecting to '?wicket:interface=:0:9:::'. Cannot redirect
 more than once
 org.apache.wicket.WicketRuntimeException: Already redirecting to
 '?wicket:interface=:0:9:::'. Cannot redirect more than once
   at
 org.apache.wicket.protocol.http.BufferedWebResponse.redirect(BufferedWebResponse.java:101)
   at
 org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.respond(BookmarkablePageRequestTarget.java:257)
   at
 org.apache.wicket.request.AbstractRequestCycleProcessor.respond(AbstractRequestCycleProcessor.java:105)
   at org.apache.wicket.RequestCycle.respond(RequestCycle.java:1258)
   at org.apache.wicket.RequestCycle.step(RequestCycle.java:1325)
   at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1419)
   at org.apache.wicket.RequestCycle.request(RequestCycle.java:545)
   at
 org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:456)
   at
 org.apache.wicket.protocol.http.WicketServlet.doPost(WicketServlet.java:160)

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




 --
 View this message in context: 
 http://www.nabble.com/What-already-redirecting-error--tp24530668p24538774.html
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org


_
Windows Live™ Hotmail®: Search, add, and share the web’s latest sports videos. 
Check it out.
http://www.windowslive.com/Online/Hotmail/Campaign/QuickAdd?ocid=TXT_TAGLM_WL_QA_HM_sports_videos_072009cat=sports
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: What already redirecting error?

2009-07-18 Thread Martin Makundi
Hi!

 You could try setting step debugging on your IDE and step through your code.

Production code again... hindsight.

 However, this type of error is not specific to wicket. Just the other day I 
 was
  securing my site with Acegi and caused this to happen when I secured all
  pages, including my login.htm page - so, when Acegi noticed the unsecure
  request for a page, it redirected to the login.htm page, but that was 
 re-directing
 too.

I will investigate this more on our test server.. If I can get it to
repeat I will make a jira with quickstart (if it's not just my fault
;).

**
Martin


 
 Date: Sat, 18 Jul 2009 07:58:26 +0300
 Subject: Re: What already redirecting error?
 From: martin.maku...@koodaripalvelut.com
 To: users@wicket.apache.org

 None lead to my code, that's my point. The only thing I have used is
 setResponsePage().

 **
 Martin

 2009/7/17 Igor Vaynberg :
 pull the call hierarchy on
 org.apache.wicket.protocol.http.BufferedWebResponse.redirect and see
 what paths lead to your code.

 -igor

 On Fri, Jul 17, 2009 at 11:05 AM, Martin
 Makundi wrote:
 I don't have a clue where that occured...

 **
 Martin

 2009/7/17 Alex Objelean :

 Show us your code.

 Alex Objelean


 MartinM wrote:

 At least I do not know of any such redirects...

 **
 Martin

 2009/7/17 Igor Vaynberg :
 you are triggering a redirect after something else has already done so.

 -igor

 On Fri, Jul 17, 2009 at 1:38 AM, Martin
 Makundi wrote:
 Hi!

 What is this error and how can I avoid it? Don't even know why it 
 comes:

 2009-07-17 11:43:22,804 181242389 [btpool0-503] ERROR RequestCycle  -
 Already redirecting to '?wicket:interface=:0:9:::'. Cannot redirect
 more than once
 org.apache.wicket.WicketRuntimeException: Already redirecting to
 '?wicket:interface=:0:9:::'. Cannot redirect more than once
       at
 org.apache.wicket.protocol.http.BufferedWebResponse.redirect(BufferedWebResponse.java:101)
       at
 org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.respond(BookmarkablePageRequestTarget.java:257)
       at
 org.apache.wicket.request.AbstractRequestCycleProcessor.respond(AbstractRequestCycleProcessor.java:105)
       at org.apache.wicket.RequestCycle.respond(RequestCycle.java:1258)
       at org.apache.wicket.RequestCycle.step(RequestCycle.java:1325)
       at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1419)
       at org.apache.wicket.RequestCycle.request(RequestCycle.java:545)
       at
 org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:456)
       at
 org.apache.wicket.protocol.http.WicketServlet.doPost(WicketServlet.java:160)

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




 --
 View this message in context: 
 http://www.nabble.com/What-already-redirecting-error--tp24530668p24538774.html
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org


 _
 Windows Live™ Hotmail®: Search, add, and share the web’s latest sports 
 videos. Check it out.
 http://www.windowslive.com/Online/Hotmail/Campaign/QuickAdd?ocid=TXT_TAGLM_WL_QA_HM_sports_videos_072009cat=sports
 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: What already redirecting error?

2009-07-17 Thread Igor Vaynberg
you are triggering a redirect after something else has already done so.

-igor

On Fri, Jul 17, 2009 at 1:38 AM, Martin
Makundimartin.maku...@koodaripalvelut.com wrote:
 Hi!

 What is this error and how can I avoid it? Don't even know why it comes:

 2009-07-17 11:43:22,804 181242389 [btpool0-503] ERROR RequestCycle  -
 Already redirecting to '?wicket:interface=:0:9:::'. Cannot redirect
 more than once
 org.apache.wicket.WicketRuntimeException: Already redirecting to
 '?wicket:interface=:0:9:::'. Cannot redirect more than once
       at 
 org.apache.wicket.protocol.http.BufferedWebResponse.redirect(BufferedWebResponse.java:101)
       at 
 org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.respond(BookmarkablePageRequestTarget.java:257)
       at 
 org.apache.wicket.request.AbstractRequestCycleProcessor.respond(AbstractRequestCycleProcessor.java:105)
       at org.apache.wicket.RequestCycle.respond(RequestCycle.java:1258)
       at org.apache.wicket.RequestCycle.step(RequestCycle.java:1325)
       at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1419)
       at org.apache.wicket.RequestCycle.request(RequestCycle.java:545)
       at 
 org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:456)
       at 
 org.apache.wicket.protocol.http.WicketServlet.doPost(WicketServlet.java:160)

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: What already redirecting error?

2009-07-17 Thread Martin Makundi
At least I do not know of any such redirects...

**
Martin

2009/7/17 Igor Vaynberg igor.vaynb...@gmail.com:
 you are triggering a redirect after something else has already done so.

 -igor

 On Fri, Jul 17, 2009 at 1:38 AM, Martin
 Makundimartin.maku...@koodaripalvelut.com wrote:
 Hi!

 What is this error and how can I avoid it? Don't even know why it comes:

 2009-07-17 11:43:22,804 181242389 [btpool0-503] ERROR RequestCycle  -
 Already redirecting to '?wicket:interface=:0:9:::'. Cannot redirect
 more than once
 org.apache.wicket.WicketRuntimeException: Already redirecting to
 '?wicket:interface=:0:9:::'. Cannot redirect more than once
       at 
 org.apache.wicket.protocol.http.BufferedWebResponse.redirect(BufferedWebResponse.java:101)
       at 
 org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.respond(BookmarkablePageRequestTarget.java:257)
       at 
 org.apache.wicket.request.AbstractRequestCycleProcessor.respond(AbstractRequestCycleProcessor.java:105)
       at org.apache.wicket.RequestCycle.respond(RequestCycle.java:1258)
       at org.apache.wicket.RequestCycle.step(RequestCycle.java:1325)
       at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1419)
       at org.apache.wicket.RequestCycle.request(RequestCycle.java:545)
       at 
 org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:456)
       at 
 org.apache.wicket.protocol.http.WicketServlet.doPost(WicketServlet.java:160)

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: What already redirecting error?

2009-07-17 Thread Alex Objelean

Show us your code.

Alex Objelean


MartinM wrote:
 
 At least I do not know of any such redirects...
 
 **
 Martin
 
 2009/7/17 Igor Vaynberg igor.vaynb...@gmail.com:
 you are triggering a redirect after something else has already done so.

 -igor

 On Fri, Jul 17, 2009 at 1:38 AM, Martin
 Makundimartin.maku...@koodaripalvelut.com wrote:
 Hi!

 What is this error and how can I avoid it? Don't even know why it comes:

 2009-07-17 11:43:22,804 181242389 [btpool0-503] ERROR RequestCycle  -
 Already redirecting to '?wicket:interface=:0:9:::'. Cannot redirect
 more than once
 org.apache.wicket.WicketRuntimeException: Already redirecting to
 '?wicket:interface=:0:9:::'. Cannot redirect more than once
       at
 org.apache.wicket.protocol.http.BufferedWebResponse.redirect(BufferedWebResponse.java:101)
       at
 org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.respond(BookmarkablePageRequestTarget.java:257)
       at
 org.apache.wicket.request.AbstractRequestCycleProcessor.respond(AbstractRequestCycleProcessor.java:105)
       at org.apache.wicket.RequestCycle.respond(RequestCycle.java:1258)
       at org.apache.wicket.RequestCycle.step(RequestCycle.java:1325)
       at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1419)
       at org.apache.wicket.RequestCycle.request(RequestCycle.java:545)
       at
 org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:456)
       at
 org.apache.wicket.protocol.http.WicketServlet.doPost(WicketServlet.java:160)

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org


 
 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org
 
 
 

-- 
View this message in context: 
http://www.nabble.com/What-already-redirecting-error--tp24530668p24538774.html
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: What already redirecting error?

2009-07-17 Thread Martin Makundi
I don't have a clue where that occured...

**
Martin

2009/7/17 Alex Objelean alex_objel...@yahoo.com:

 Show us your code.

 Alex Objelean


 MartinM wrote:

 At least I do not know of any such redirects...

 **
 Martin

 2009/7/17 Igor Vaynberg igor.vaynb...@gmail.com:
 you are triggering a redirect after something else has already done so.

 -igor

 On Fri, Jul 17, 2009 at 1:38 AM, Martin
 Makundimartin.maku...@koodaripalvelut.com wrote:
 Hi!

 What is this error and how can I avoid it? Don't even know why it comes:

 2009-07-17 11:43:22,804 181242389 [btpool0-503] ERROR RequestCycle  -
 Already redirecting to '?wicket:interface=:0:9:::'. Cannot redirect
 more than once
 org.apache.wicket.WicketRuntimeException: Already redirecting to
 '?wicket:interface=:0:9:::'. Cannot redirect more than once
       at
 org.apache.wicket.protocol.http.BufferedWebResponse.redirect(BufferedWebResponse.java:101)
       at
 org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.respond(BookmarkablePageRequestTarget.java:257)
       at
 org.apache.wicket.request.AbstractRequestCycleProcessor.respond(AbstractRequestCycleProcessor.java:105)
       at org.apache.wicket.RequestCycle.respond(RequestCycle.java:1258)
       at org.apache.wicket.RequestCycle.step(RequestCycle.java:1325)
       at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1419)
       at org.apache.wicket.RequestCycle.request(RequestCycle.java:545)
       at
 org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:456)
       at
 org.apache.wicket.protocol.http.WicketServlet.doPost(WicketServlet.java:160)

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




 --
 View this message in context: 
 http://www.nabble.com/What-already-redirecting-error--tp24530668p24538774.html
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: What already redirecting error?

2009-07-17 Thread Igor Vaynberg
pull the call hierarchy on
org.apache.wicket.protocol.http.BufferedWebResponse.redirect and see
what paths lead to your code.

-igor

On Fri, Jul 17, 2009 at 11:05 AM, Martin
Makundimartin.maku...@koodaripalvelut.com wrote:
 I don't have a clue where that occured...

 **
 Martin

 2009/7/17 Alex Objelean alex_objel...@yahoo.com:

 Show us your code.

 Alex Objelean


 MartinM wrote:

 At least I do not know of any such redirects...

 **
 Martin

 2009/7/17 Igor Vaynberg igor.vaynb...@gmail.com:
 you are triggering a redirect after something else has already done so.

 -igor

 On Fri, Jul 17, 2009 at 1:38 AM, Martin
 Makundimartin.maku...@koodaripalvelut.com wrote:
 Hi!

 What is this error and how can I avoid it? Don't even know why it comes:

 2009-07-17 11:43:22,804 181242389 [btpool0-503] ERROR RequestCycle  -
 Already redirecting to '?wicket:interface=:0:9:::'. Cannot redirect
 more than once
 org.apache.wicket.WicketRuntimeException: Already redirecting to
 '?wicket:interface=:0:9:::'. Cannot redirect more than once
       at
 org.apache.wicket.protocol.http.BufferedWebResponse.redirect(BufferedWebResponse.java:101)
       at
 org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.respond(BookmarkablePageRequestTarget.java:257)
       at
 org.apache.wicket.request.AbstractRequestCycleProcessor.respond(AbstractRequestCycleProcessor.java:105)
       at org.apache.wicket.RequestCycle.respond(RequestCycle.java:1258)
       at org.apache.wicket.RequestCycle.step(RequestCycle.java:1325)
       at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1419)
       at org.apache.wicket.RequestCycle.request(RequestCycle.java:545)
       at
 org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:456)
       at
 org.apache.wicket.protocol.http.WicketServlet.doPost(WicketServlet.java:160)

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




 --
 View this message in context: 
 http://www.nabble.com/What-already-redirecting-error--tp24530668p24538774.html
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: What already redirecting error?

2009-07-17 Thread Martin Makundi
None lead to my code, that's my point. The only thing I have used is
setResponsePage().

**
Martin

2009/7/17 Igor Vaynberg igor.vaynb...@gmail.com:
 pull the call hierarchy on
 org.apache.wicket.protocol.http.BufferedWebResponse.redirect and see
 what paths lead to your code.

 -igor

 On Fri, Jul 17, 2009 at 11:05 AM, Martin
 Makundimartin.maku...@koodaripalvelut.com wrote:
 I don't have a clue where that occured...

 **
 Martin

 2009/7/17 Alex Objelean alex_objel...@yahoo.com:

 Show us your code.

 Alex Objelean


 MartinM wrote:

 At least I do not know of any such redirects...

 **
 Martin

 2009/7/17 Igor Vaynberg igor.vaynb...@gmail.com:
 you are triggering a redirect after something else has already done so.

 -igor

 On Fri, Jul 17, 2009 at 1:38 AM, Martin
 Makundimartin.maku...@koodaripalvelut.com wrote:
 Hi!

 What is this error and how can I avoid it? Don't even know why it comes:

 2009-07-17 11:43:22,804 181242389 [btpool0-503] ERROR RequestCycle  -
 Already redirecting to '?wicket:interface=:0:9:::'. Cannot redirect
 more than once
 org.apache.wicket.WicketRuntimeException: Already redirecting to
 '?wicket:interface=:0:9:::'. Cannot redirect more than once
       at
 org.apache.wicket.protocol.http.BufferedWebResponse.redirect(BufferedWebResponse.java:101)
       at
 org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.respond(BookmarkablePageRequestTarget.java:257)
       at
 org.apache.wicket.request.AbstractRequestCycleProcessor.respond(AbstractRequestCycleProcessor.java:105)
       at org.apache.wicket.RequestCycle.respond(RequestCycle.java:1258)
       at org.apache.wicket.RequestCycle.step(RequestCycle.java:1325)
       at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1419)
       at org.apache.wicket.RequestCycle.request(RequestCycle.java:545)
       at
 org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:456)
       at
 org.apache.wicket.protocol.http.WicketServlet.doPost(WicketServlet.java:160)

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




 --
 View this message in context: 
 http://www.nabble.com/What-already-redirecting-error--tp24530668p24538774.html
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org