IRequestparameters with OpenID

2012-04-04 Thread singh13
Hi there I am creating an OpeniD provider using wicket 1.5.4 and openid4java. On a part of my login page I have the following: public LoginPage(PageParameters page){ super(page); if(page.isEmpty()){ getRequestCycle().scheduleRequestHandlerA

Re: java.lang.IllegalStateException: Can't call write(CharSequence) after write(byte[]) has been called.

2012-03-06 Thread singh13
Hi, thanks for the reply. I tried that but unfortunately I still get the same error. Resetting it did not alter anything. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/java-lang-IllegalStateException-Can-t-call-write-CharSequence-after-write-byte-has-been-called-tp

Re: java.lang.IllegalStateException: Can't call write(CharSequence) after write(byte[]) has been called.

2012-03-05 Thread singh13
Hi, thanks for the reply. I tried that but unfortunately I still get the same error. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/java-lang-IllegalStateException-Can-t-call-write-CharSequence-after-write-byte-has-been-called-tp4416819p4446728.html Sent from the Use

Re: java.lang.IllegalStateException: Can't call write(CharSequence) after write(byte[]) has been called.

2012-03-04 Thread singh13
Sorry for another reply but can anybody give me an example solution. Thanks -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/java-lang-IllegalStateException-Can-t-call-write-CharSequence-after-write-byte-has-been-called-tp4416819p190.html Sent from the Users forum

Re: java.lang.IllegalStateException: Can't call write(CharSequence) after write(byte[]) has been called.

2012-03-02 Thread singh13
I have looked at the DownloadLink class. Would you suggest that i use something like this: getRequestCycle().scheduleRequestHandlerAfterCurrent ? I am passing my response to my discovery method as follows: OpenIDService.sendDiscoveryResponse((WebResponse)getResponse()); -- View this message in c

Re: java.lang.IllegalStateException: Can't call write(CharSequence) after write(byte[]) has been called.

2012-02-29 Thread singh13
Hi there, I am not too sure what you mean about DownloadLink. I am not using download link in any part of my code. To link to the provider page i am just using a normal link. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/java-lang-IllegalStateException-Can-t-call-w

java.lang.IllegalStateException: Can't call write(CharSequence) after write(byte[]) has been called.

2012-02-24 Thread singh13
Hi there I am using OpenID4java to implement an OpenID relying party and a provider. Whenever I try to access the provider page I get this exception in my console java.lang.IllegalStateException: Can't call write(CharSequence) after write(byte[]) has been called. In this method I am creating an