renderHead vs Behavior Constructor

2013-08-12 Thread Andun Sameera
Hi all, I have implemented a custom Behviour called WhiteboardBehavior extending the AbstractDefaultAjaxBehavior. In that class I have a static HashMap like this, private static ConcurrentHashMapInteger,Element elementMap=new ConcurrentHashMapInteger,Element(); In the constructor of my Behavior

Re: wicket-atmosphere EventBus.post throwing Null pointer exception sometime

2013-08-12 Thread Emond Papegaaij
Hi, I suggest you try upgrading wicket, wicket-atmosphere and atmosphere to more recent versions first. The version of wicket-atmosphere you are using is almost a year old. The most recent version is 0.12. Several bugs have been fixed since then. Best regards, Emond On Friday 09 August 2013

Re: Strange behavior on first page request with jetty from Start.class

2013-08-12 Thread Sven Meier
I've seen an initial delay too but I don't know the reason for it. Sven On 08/09/2013 02:41 PM, Per Newgro wrote: Hi, has someone seen the following behavior and can give me a hint? I do some changes on my project. Then i use the Start class (provided by quickstart) to start the embedded

Re: renderHead vs Behavior Constructor

2013-08-12 Thread Martin Grigorov
Hi, On Mon, Aug 12, 2013 at 9:22 AM, Andun Sameera andun...@gmail.com wrote: Hi all, I have implemented a custom Behviour called WhiteboardBehavior extending the AbstractDefaultAjaxBehavior. In that class I have a static HashMap like this, private static ConcurrentHashMapInteger,Element

Re: AbstractRequestCycleListener redirect

2013-08-12 Thread Martin Grigorov
Hi, Can you show us your code ? The response shouldn't be committed so early in the request cycle. On Sat, Aug 10, 2013 at 8:02 PM, Evgheni Emelianov e.emelia...@gmx.netwrote: Hi, i habe a question about redirects in AbstractRequestCycleListener, i have functionality in

ERROR Error detaching RequestHandler in StalePageException

2013-08-12 Thread Fergal Keating
Hi, Every few minutes on our site, we get the following error. 08/12/2013 07:13:53 [?] ERROR ? Error detaching RequestHandler org.apache.wicket.core.request.mapper.StalePageException We're running wicket 6.5.0 (as we were on previous release without the issue). The errors seem to be

Re: AbstractRequestCycleListener redirect

2013-08-12 Thread Evgheni Emelianov
here is the code: getRequestCycleListeners().add(new AbstractRequestCycleListener() { @Override public void onBeginRequest(RequestCycle cycle) { // some checks and settings before, if my application is locked, then redirect should happen

Re: AbstractRequestCycleListener redirect

2013-08-12 Thread Martin Grigorov
Hi, On Mon, Aug 12, 2013 at 1:30 PM, Evgheni Emelianov e.emelia...@gmx.netwrote: here is the code: getRequestCycleListeners().add(new AbstractRequestCycleListener() { @Override public void onBeginRequest(RequestCycle cycle) { // some checks and settings

Re: AbstractRequestCycleListener redirect

2013-08-12 Thread Evgheni Emelianov
i did, but the error comes event without, do you have any advice for me how i can implement redirect in this listener? Evgheni - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail:

Re: AbstractRequestCycleListener redirect

2013-08-12 Thread vineet semwal
try this approach.. throw your custom exception after the checks and catch the exception in onexception and then redirect .. On Mon, Aug 12, 2013 at 4:30 PM, Evgheni Emelianov e.emelia...@gmx.netwrote: i did, but the error comes event without, do you have any advice for me how i can implement

Re: AbstractRequestCycleListener redirect

2013-08-12 Thread Martin Grigorov
https://issues.apache.org/jira/browse/WICKET-4433 I remembered there is an open issue about this. On Mon, Aug 12, 2013 at 2:05 PM, vineet semwal vineetsemwa...@gmail.comwrote: try this approach.. throw your custom exception after the checks and catch the exception in onexception and then

Wicketsuff REST module.

2013-08-12 Thread Andrea Del Bene
Hi everybody, I've implemented a Wicket extension to create REST API/applications with our favorite web framework. I'm ready to push it into the Wicketstuff repo, but first I would be happy if someone of you could have a look to what I've done and share her/his experience with REST

Re: Wicketsuff REST module.

2013-08-12 Thread Martin Grigorov
Hey Andrea, So you actually implemented https://cwiki.apache.org/confluence/display/WICKET/Ideas+for+Wicket+7.0#IdeasforWicket7.0-ImplementJAXRSontopofWicketIResource ! :-) You don't use JAX-RS APIs (annotation classes) but this is OK, as far the same functionality can be achieved. Great job! If

Re: Wicketsuff REST module.

2013-08-12 Thread Cedric Gatay
Hi there, nice work Andrea, I will try to have a look at the code to see if it looks like what we've done at SRMvision. Regards, __ Cedric Gatay (@Cedric_Gatay http://twitter.com/Cedric_Gatay) http://code-troopers.com | http://www.bloggure.info | http://cedric.gatay.fr On Mon, Aug 12, 2013 at

wicketstuff-lazymodel and wicket-bean-validation

2013-08-12 Thread Gabriel Landon
Hi, I've been using wicketstuff-lazymodel for weeks now and I love it! Now I'm trying to use it with wicket-bean-validation, but I've got the following error : /Could not resolve Property from component: [TextField [Component id = code]]. Either specify the Property in the constructor or use a