Re: SwramWebApplication and session

2011-01-24 Thread jussi isokangas
Hi,
I solved it.

Your advise works with little parameter changes. Additionally I had to
change MySessio extends from WebSessio to SwampSessio.


Here my Application.class (VerkkokauppaSovellus)
*...*
 *@Override
  public Session newSession(Request request, Response response) {
return session =  new Sessio(request,VerkkokauppaSovellus.this);

  }
...*


and here Sessio.class

*package fi.harjoitustyo.verkkokauppa.web;

import org.apache.wicket.Request;
import org.apache.wicket.security.WaspSession;

*

*public class Sessio extends WaspSession{

private static final long serialVersionUID = 1L;
private Ostoskori ostoskori ;


public Sessio(Request request, VerkkokauppaSovellus sovellus){

super(sovellus,request);
ostoskori  = new Ostoskori();

}



public Ostoskori haeOstoskori()
  { return ostoskori;
  }

}

*and here Basepage*

public abstract class Sivupohja extends WebPage {

  @SuppressWarnings(unused)
  private static final Log log =
  LogFactory.getLog(Sivupohja.class);
  private static final long serialVersionUID = 1L;

  protected Ostoskori ostoskori = ((Sessio)
  getSession()).haeOstoskori();
  ...*

t. jussi





2011/1/21 Martin Makundi martin.maku...@koodaripalvelut.com

 Hi!

 I am not sure what you mean, but we have like this:

 /**
   * @see com.myapp.MyApplication#newSession(org.apache.wicket.Request,
 org.apache.wicket.Response)
   */
  @Override
  public Session newSession(Request request, Response response) {
  return session = new MySession(request, response);
  }

 **
 Martin

 2011/1/20 jussi isokangas jussi.isokan...@gmail.com:
  Hi,
 
  My application extends SwramWebApplication. Session doesn't accpet that
 for
  paramater. I need to use session for ShoppingCart.
  How to solve it?
 
  Regards Jussi
 

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




AjaxButton and opening popup

2011-01-24 Thread Altuğ Bilgin Altıntaş
Hi all;

Is it possible opening a new page at AjaxButton's onSubmit button ?

I've tried

 PopupSettings popupSettings = new PopupSettings();
 popupSettings.setTarget(' + url + ');
 target.appendJavascript(popupSettings.getPopupJavaScript());

but it doesn't work.

Also

throw new RestartResponseAtInterceptPageException(new RedirectPage(url);

works but it opens popup in the same tab not a new window.


Any suggestions ?

Thanks.

-- 
*Altuğ*
** http://www.kodcu.com


Re: AjaxButton and opening popup

2011-01-24 Thread Martin Grigorov
target.appendJavascript(window.open('+ url +', 'someName'););

2011/1/24 Altuğ Bilgin Altıntaş alt...@gmail.com

 Hi all;

 Is it possible opening a new page at AjaxButton's onSubmit button ?

 I've tried

  PopupSettings popupSettings = new PopupSettings();
  popupSettings.setTarget(' + url + ');
  target.appendJavascript(popupSettings.getPopupJavaScript());

 but it doesn't work.

 Also

 throw new RestartResponseAtInterceptPageException(new RedirectPage(url);

 works but it opens popup in the same tab not a new window.


 Any suggestions ?

 Thanks.

 --
 *Altuğ*
 ** http://www.kodcu.com



Re: AjaxButton and opening popup

2011-01-24 Thread Altuğ Bilgin Altıntaş
Thanks Martin.

2011/1/24 Martin Grigorov mgrigo...@apache.org

 target.appendJavascript(window.open('+ url +', 'someName'););

 2011/1/24 Altuğ Bilgin Altıntaş alt...@gmail.com

  Hi all;
 
  Is it possible opening a new page at AjaxButton's onSubmit button ?
 
  I've tried
 
   PopupSettings popupSettings = new PopupSettings();
   popupSettings.setTarget(' + url + ');
   target.appendJavascript(popupSettings.getPopupJavaScript());
 
  but it doesn't work.
 
  Also
 
  throw new RestartResponseAtInterceptPageException(new RedirectPage(url);
 
  works but it opens popup in the same tab not a new window.
 
 
  Any suggestions ?
 
  Thanks.
 
  --
  *Altuğ*
  ** http://www.kodcu.com
 




-- 
*Altuğ*
*www.kodcu.com* http://www.kodcu.com**


How to make DateTimeField default to PM

2011-01-24 Thread Jim Pinkham
I wanted to have my DateTimeField (That's the wicket-extensions component
with a date text field, button to open calendar, and hours/minutes fields
with optional AM_PM choice) default to PM instead of AM for new dates
because I noticed most dates in this part of my app are evening dates.

I came up with this; maybe it helps someone, or let me know if you have a
better way:

FormComponentDate dateField = new DateTimeField(eventOn) {
private static final long serialVersionUID = 1L;

// amOrPmChoice is final, so we have a little kludge to
default new item's eventOn date to PM
// TODO: find a less clever way
@Override
protected void onBeforeRender() {
Date d = (Date)getDefaultModelObject();
if (d == null) { // user hasn't entered a date (yet)
Calendar c = Calendar.getInstance();
c.set(Calendar.HOUR_OF_DAY, 18);  // anything after
noon would work
IModelDate dm = (IModelDate) getDefaultModel();
dm.setObject(c.getTime());
super.onBeforeRender();   // initializes
amOrPmChoice as side-effect
dm.setObject(null);
}
super.onBeforeRender();
}

@Override
protected DateTextField newDateTextField(final String id,
final PropertyModelDate dateFieldModel) {
return DateTextField.forDatePattern(id, dateFieldModel,
MM/dd/);
}
};
Cheers,
-- Jim.


Re: Ajax Response xml showing in browser

2011-01-24 Thread Igor Vaynberg
please attach a quickstart that reproduce it to a jira issue.

-igor

On Sun, Jan 23, 2011 at 10:40 PM, Jeffrey Schneller
jeffrey.schnel...@envisa.com wrote:
 Got an odd issue occurring where the Ajax Response xml is showing in the
 browser rather than modifying the DOM of the page as it usually does.
 The scenario is the following:



 My Login page is abstract and has an abstract method called
 onLoginSuccess.

 When the login is successful we call onLoginSuccess.





 Abstract Class called LoginLink which extends AjaxLink

 LoginLink has an abstract method called onSuccess() and
 onAlreadyLoggedIn()

 The Login page is constructed and has it's abstract method
 onLoginSuccess defined to call onSuccess()

 The onClick method of LoginLink does a setResponsePage to my Login page
 if not already logged in and calls onAlreadyLoggedIn() if the user is
 already logged into the site.



 I have a page called Page1 which contains a LoginLink.

 The onSuccess() method is defined to setResponsePage() to the page I
 ultimately need to go to say Page2.

 The onAlreadyLoggedIn() method is defined to setResponsePage() to the
 page I ultimately need to go to say Page2.



 On Page2, there are AjaxButtons to submit forms.  If any button is
 clicked I get the AjaxResponse xml showing in the browser window.



 Any ideas on how to solve this?   Is there another way of doing this
 interaction with built in wicket components.



 Thanks.



 Jeff







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



Re: Ajax Response xml showing in browser

2011-01-24 Thread Jeremy Thomerson
Perhaps this thread will help:
http://apache-wicket.1842946.n4.nabble.com/Ajax-response-render-as-source-in-the-browser-tt3028722.html

-- 
Jeremy Thomerson
http://wickettraining.com
*Need a CMS for Wicket?  Use Brix! http://brixcms.org*

On Mon, Jan 24, 2011 at 9:48 AM, Igor Vaynberg igor.vaynb...@gmail.comwrote:

 please attach a quickstart that reproduce it to a jira issue.

 -igor

 On Sun, Jan 23, 2011 at 10:40 PM, Jeffrey Schneller
 jeffrey.schnel...@envisa.com wrote:
  Got an odd issue occurring where the Ajax Response xml is showing in the
  browser rather than modifying the DOM of the page as it usually does.
  The scenario is the following:
 
 
 
  My Login page is abstract and has an abstract method called
  onLoginSuccess.
 
  When the login is successful we call onLoginSuccess.
 
 
 
 
 
  Abstract Class called LoginLink which extends AjaxLink
 
  LoginLink has an abstract method called onSuccess() and
  onAlreadyLoggedIn()
 
  The Login page is constructed and has it's abstract method
  onLoginSuccess defined to call onSuccess()
 
  The onClick method of LoginLink does a setResponsePage to my Login page
  if not already logged in and calls onAlreadyLoggedIn() if the user is
  already logged into the site.
 
 
 
  I have a page called Page1 which contains a LoginLink.
 
  The onSuccess() method is defined to setResponsePage() to the page I
  ultimately need to go to say Page2.
 
  The onAlreadyLoggedIn() method is defined to setResponsePage() to the
  page I ultimately need to go to say Page2.
 
 
 
  On Page2, there are AjaxButtons to submit forms.  If any button is
  clicked I get the AjaxResponse xml showing in the browser window.
 
 
 
  Any ideas on how to solve this?   Is there another way of doing this
  interaction with built in wicket components.
 
 
 
  Thanks.
 
 
 
  Jeff
 
 
 
 
 
 

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




wicket examples very slow

2011-01-24 Thread fachhoch

I was trying to see wicket examples   

http://www.wicket-library.com/wicket-examples/

its very slow I tried on Friday ,again today   its very slow , I tried in
different browsers.It did not help.
   
-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/wicket-examples-very-slow-tp3234627p3234627.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: wicket examples very slow

2011-01-24 Thread Jeremy Thomerson
On Mon, Jan 24, 2011 at 12:23 PM, fachhoch fachh...@gmail.com wrote:


 I was trying to see wicket examples

 http://www.wicket-library.com/wicket-examples/

 its very slow I tried on Friday ,again today   its very slow , I tried in
 different browsers.It did not help.


Run them locally:

svn co https://svn.apache.org/repos/asf/wicket/branches/wicket-1.4.x
cd wicket-1.4.x/
mvn install
# if you want to load the code in Eclipse to put debug points, etc, run mvn
eclipse:eclipse
cd wicket-examples
mvn jetty:run

Browse to http://localhost:8080/wicket-examples/

-- 
Jeremy Thomerson
http://wickettraining.com
*Need a CMS for Wicket?  Use Brix! http://brixcms.org*


Re: wicket examples very slow

2011-01-24 Thread Martin Grigorov
On Mon, Jan 24, 2011 at 7:48 PM, Jeremy Thomerson jer...@wickettraining.com
 wrote:

 On Mon, Jan 24, 2011 at 12:23 PM, fachhoch fachh...@gmail.com wrote:

 
  I was trying to see wicket examples
 
  http://www.wicket-library.com/wicket-examples/
 
  its very slow I tried on Friday ,again today   its very slow , I tried in
  different browsers.It did not help.
 

 Run them locally:

 svn co https://svn.apache.org/repos/asf/wicket/branches/wicket-1.4.x
 cd wicket-1.4.x/
 mvn install
 # if you want to load the code in Eclipse to put debug points, etc, run
 mvn
 eclipse:eclipse
 cd wicket-examples
 mvn jetty:run

 Browse to http://localhost:8080/wicket-examples/

 except the fact that this is 1.5 demo

I'm looking what is wrong


 --
 Jeremy Thomerson
 http://wickettraining.com
 *Need a CMS for Wicket?  Use Brix! http://brixcms.org*



Re: wicket examples very slow

2011-01-24 Thread Martin Grigorov
Each request fails with

WARN  - ServletWebRequest  - Error parsing request body for post
parameters; Fallback to ServletRequest#getParameters().
java.net.SocketTimeoutException: Read timed out
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:129)
at
org.apache.coyote.http11.InternalInputBuffer.fill(InternalInputBuffer.java:747)
at
org.apache.coyote.http11.InternalInputBuffer$InputStreamInputBuffer.doRead(InternalInputBuffer.java:777)
at
org.apache.coyote.http11.InternalInputBuffer.doRead(InternalInputBuffer.java:710)
at org.apache.coyote.Request.doRead(Request.java:427)
at
org.apache.catalina.connector.InputBuffer.realReadBytes(InputBuffer.java:283)
at
org.apache.catalina.connector.InputBuffer.realReadChars(InputBuffer.java:329)
at
org.apache.tomcat.util.buf.CharChunk.substract(CharChunk.java:382)
at
org.apache.catalina.connector.InputBuffer.read(InputBuffer.java:351)
at
org.apache.catalina.connector.CoyoteReader.read(CoyoteReader.java:80)
at org.apache.wicket.util.io.Streams.readString(Streams.java:192)
at
org.apache.wicket.protocol.http.servlet.ServletWebRequest.generatePostParameters(ServletWebRequest.java:251)
at
org.apache.wicket.protocol.http.servlet.ServletWebRequest.getPostRequestParameters(ServletWebRequest.java:294)
at
org.apache.wicket.protocol.http.servlet.ServletWebRequest.access$000(ServletWebRequest.java:60)
at
org.apache.wicket.protocol.http.servlet.ServletWebRequest$1.getParameterValue(ServletWebRequest.java:318)
at
org.apache.wicket.request.parameter.CombinedRequestParametersAdapter.getParameterValue(CombinedRequestParametersAdapter.java:71)
at
org.apache.wicket.request.http.WebRequest.isAjax(WebRequest.java:124)
at
org.apache.wicket.protocol.http.servlet.ServletWebRequest.getClientUrl(ServletWebRequest.java:124)
at
org.apache.wicket.request.cycle.RequestCycle.newUrlRenderer(RequestCycle.java:143)
at
org.apache.wicket.request.cycle.RequestCycle.getUrlRenderer(RequestCycle.java:167)
at
org.apache.wicket.request.handler.render.WebPageRenderer.respond(WebPageRenderer.java:191)


It is either the JVM (1.5.0_22) or Tomcat (5.5.?) ...

On Mon, Jan 24, 2011 at 7:51 PM, Martin Grigorov mgrigo...@apache.orgwrote:

 On Mon, Jan 24, 2011 at 7:48 PM, Jeremy Thomerson 
 jer...@wickettraining.com wrote:

 On Mon, Jan 24, 2011 at 12:23 PM, fachhoch fachh...@gmail.com wrote:

 
  I was trying to see wicket examples
 
  http://www.wicket-library.com/wicket-examples/
 
  its very slow I tried on Friday ,again today   its very slow , I tried
 in
  different browsers.It did not help.
 

 Run them locally:

 svn co https://svn.apache.org/repos/asf/wicket/branches/wicket-1.4.x
 cd wicket-1.4.x/
 mvn install
 # if you want to load the code in Eclipse to put debug points, etc, run
 mvn
 eclipse:eclipse
 cd wicket-examples
 mvn jetty:run

 Browse to http://localhost:8080/wicket-examples/

 except the fact that this is 1.5 demo

 I'm looking what is wrong


 --

 Jeremy Thomerson
 http://wickettraining.com
 *Need a CMS for Wicket?  Use Brix! http://brixcms.org*





The component(s) below failed to render (BasePage components are not rendering)

2011-01-24 Thread Teddy C

Using the Wicket Phonebook as a base, I am having problem dispalyng the
EditContactPage. To the BasePage I add user and role and a Session to save
the login user and role. The listContactPage wich extends the BasePage works
fine. The EditContactPage which also extends the Basepage, is mot able to
display the EditContactPage, failing to render the Components that are
defined in the BasePage.

I would appreciate if someone has any idea of a  solution to this problem.

BasePage.Html
html
head
titleWicket Phonebook/title
link rel=stylesheet type=text/css href=styles.css/

/head
body
div
Login Name:

/div
div
Login Role: 

/div
div wicket:id=status class=status[[status 
messages]]/div
wicket:child/
/body
/html

ListContactpage:
html xmlns:wicket
wicket:extend
form wicket:id=filter-form
input type=hidden name=tracker wicket:id=focus-tracker/
table wicket:id=cars cellspacing=0 cellpadding=2 class=grid
/table
[call to focus restore script]
input wicket:id=delete-selected value=PROCEED TO APPROVAL STAGE
type=submit/
/form

/wicket:extend
/html

EditContactPage:
html xmlns:wicket
wicket:extend
form wicket:id=contactForm
table cellspacing=0 cellpadding=2
tr
tdwicket:message
key=passenger[passenger]/wicket:message/tdtdlabel
wicket:id=passenger size=30//td
/tr
tr
tdwicket:message
key=costcenter[costcenter]/wicket:message/tdtdinput type=text
wicket:id=costcenter size=5 maxlength=6//td
/tr
tr
tdwicket:message 
key=car_no[car_no]/wicket:message/tdtdlabel
wicket:id=car_no size=30//td
/tr
tr
tdwicket:message 
key=pu_addr[pu_addr]/wicket:message/tdtdlabel
wicket:id=pu_addr size=30//td
/tr
tr
tdwicket:message
key=dest_addr[dest_addr]/wicket:message/tdtdlabel
wicket:id=dest_addr size=30//td
/tr
tr
tdwicket:message key=rate[rate]/wicket:message/tdtdlabel
wicket:id=rate size=30//td
/tr
tr
tdwicket:message key=toll[toll]/wicket:message/tdtdlabel
wicket:id=toll size=30//td
/tr
tr
tdwicket:message key=wait[wait]/wicket:message/tdtdlabel
wicket:id=wait size=30//td
/tr
tr
tdwicket:message key=stops[stops]/wicket:message/tdtdlabel
wicket:id=stops size=30//td
/tr
tr
tr
tdwicket:message key=other[other]/wicket:message/tdtdlabel
wicket:id=other size=30//td
/tr
tr
tr
tdwicket:message 
key=wc2pct[wc2pct]/wicket:message/tdtdlabel
wicket:id=wc2pct size=30//td
/tr
tr
tr
tdwicket:message key=total[total]/wicket:message/tdtdlabel 
wicket:id=total size=10//td
/tr
tr
tdnbsp;/tdtdinput type=submit wicket:id=save value=[save]
input type=submit wicket:id=cancel value=[cancel]//td
/tr
/table
/form
/wicket:extend
/html

ERROR:
WicketMessage: The component(s) below failed to render. A common problem is
that you have added a component in code but forgot to reference it in the
markup (thus the component will never be rendered).1. [MarkupContainer
[Component id = status]]2. [Component id = Name]3. [Component id = Role]Root
cause:org.apache.wicket.WicketRuntimeException: The component(s) below
failed to render. A common problem is that you have added a component in
code but forgot to reference it in the markup (thus the component will never
be rendered).1. [MarkupContainer [Component id = status]]2. [Component id =
Name]3. [Component id = Role] at
org.apache.wicket.Page.checkRendering(Page.java:1182) at
org.apache.wicket.Page.renderPage(Page.java:922) at
org.apache.wicket.protocol.http.WebRequestCycle.redirectTo(WebRequestCycle.java:167)

at
org.apache.wicket.request.target.component.PageRequestTarget.respond(PageRequestTarget.java:58)

at
org.apache.wicket.request.AbstractRequestCycleProcessor.respond(AbstractRequestCycleProcessor.java:105)

at
org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1258)  
  
at org.apache.wicket.RequestCycle.step(RequestCycle.java:1329) at
org.apache.wicket.RequestCycle.steps(RequestCycle.java:1428) at
org.apache.wicket.RequestCycle.request(RequestCycle.java:545) at
org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:479)
at
org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:312)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

at
org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198)

at
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)

at

Re: The component(s) below failed to render (BasePage components are not rendering)

2011-01-24 Thread Martin Sachs
hi,

i dont see problems in the markup. Can u please post some
java-components ? Do you have called super. ... -methodes (e.g.
onInitialize)

martin

Am 24.01.2011 20:19, schrieb Teddy C:
 Using the Wicket Phonebook as a base, I am having problem dispalyng the
 EditContactPage. To the BasePage I add user and role and a Session to save
 the login user and role. The listContactPage wich extends the BasePage works
 fine. The EditContactPage which also extends the Basepage, is mot able to
 display the EditContactPage, failing to render the Components that are
 defined in the BasePage.

 I would appreciate if someone has any idea of a  solution to this problem.

 BasePage.Html
 html
   head
   titleWicket Phonebook/title
   link rel=stylesheet type=text/css href=styles.css/
   
   /head
   body
   div
   Login Name:
   
   /div
   div
   Login Role: 
   
   /div
   div wicket:id=status class=status[[status 
 messages]]/div
   wicket:child/
   /body
 /html

 ListContactpage:
 html xmlns:wicket
 wicket:extend
 form wicket:id=filter-form
   input type=hidden name=tracker wicket:id=focus-tracker/
   table wicket:id=cars cellspacing=0 cellpadding=2 class=grid
   /table
   [call to focus restore script]
   input wicket:id=delete-selected value=PROCEED TO APPROVAL STAGE
 type=submit/
 /form

 /wicket:extend
 /html

 EditContactPage:
 html xmlns:wicket
 wicket:extend
 form wicket:id=contactForm
 table cellspacing=0 cellpadding=2
 tr
   tdwicket:message
 key=passenger[passenger]/wicket:message/tdtdlabel
 wicket:id=passenger size=30//td
 /tr
 tr
   tdwicket:message
 key=costcenter[costcenter]/wicket:message/tdtdinput type=text
 wicket:id=costcenter size=5 maxlength=6//td
 /tr
 tr
   tdwicket:message 
 key=car_no[car_no]/wicket:message/tdtdlabel
 wicket:id=car_no size=30//td
 /tr
 tr
   tdwicket:message 
 key=pu_addr[pu_addr]/wicket:message/tdtdlabel
 wicket:id=pu_addr size=30//td
 /tr
 tr
   tdwicket:message
 key=dest_addr[dest_addr]/wicket:message/tdtdlabel
 wicket:id=dest_addr size=30//td
 /tr
 tr
   tdwicket:message key=rate[rate]/wicket:message/tdtdlabel
 wicket:id=rate size=30//td
 /tr
 tr
   tdwicket:message key=toll[toll]/wicket:message/tdtdlabel
 wicket:id=toll size=30//td
 /tr
 tr
   tdwicket:message key=wait[wait]/wicket:message/tdtdlabel
 wicket:id=wait size=30//td
 /tr
 tr
   tdwicket:message key=stops[stops]/wicket:message/tdtdlabel
 wicket:id=stops size=30//td
 /tr
 tr
 tr
   tdwicket:message key=other[other]/wicket:message/tdtdlabel
 wicket:id=other size=30//td
 /tr
 tr
 tr
   tdwicket:message 
 key=wc2pct[wc2pct]/wicket:message/tdtdlabel
 wicket:id=wc2pct size=30//td
 /tr
 tr
 tr
   tdwicket:message key=total[total]/wicket:message/tdtdlabel 
 wicket:id=total size=10//td
 /tr
 tr
   tdnbsp;/tdtdinput type=submit wicket:id=save value=[save]
   input type=submit wicket:id=cancel value=[cancel]//td
 /tr
 /table
 /form
 /wicket:extend
 /html

 ERROR:
 WicketMessage: The component(s) below failed to render. A common problem is
 that you have added a component in code but forgot to reference it in the
 markup (thus the component will never be rendered).1. [MarkupContainer
 [Component id = status]]2. [Component id = Name]3. [Component id = Role]Root
 cause:org.apache.wicket.WicketRuntimeException: The component(s) below
 failed to render. A common problem is that you have added a component in
 code but forgot to reference it in the markup (thus the component will never
 be rendered).1. [MarkupContainer [Component id = status]]2. [Component id =
 Name]3. [Component id = Role] at
 org.apache.wicket.Page.checkRendering(Page.java:1182) at
 org.apache.wicket.Page.renderPage(Page.java:922) at
 org.apache.wicket.protocol.http.WebRequestCycle.redirectTo(WebRequestCycle.java:167)
 
 at
 org.apache.wicket.request.target.component.PageRequestTarget.respond(PageRequestTarget.java:58)
 
 at
 org.apache.wicket.request.AbstractRequestCycleProcessor.respond(AbstractRequestCycleProcessor.java:105)
 
 at
 org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1258)
 
 at org.apache.wicket.RequestCycle.step(RequestCycle.java:1329) at
 org.apache.wicket.RequestCycle.steps(RequestCycle.java:1428) at
 org.apache.wicket.RequestCycle.request(RequestCycle.java:545) at
 org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:479)
 at
 org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:312)  
   
 at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
 
 at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 
 at