Re: Best way to set up a handler for 'Internal error'

2012-12-26 Thread vineet semwal
hi, add your IRequestCycleListener which onexception checks if it's the exception you want to log/mail ,if it's then do so. On Wed, Dec 26, 2012 at 3:45 AM, Chris Colman chr...@stepaheadsoftware.com wrote: When running in production mode and an error occurs Wicket will display 'Internal

AW: Are Wicket models loaded concurrently ?

2012-12-26 Thread Siefart, Olaf
Hi, A dashboard with unrelated web services is exactly the usecase of our christmas project (https://github.com/osiefart/wicket-christmas). @Hendy: I would not start the execution immediately upon model creation. I would choose a Visitor - onConfigure - Solution. Then it is possible to check

RE: Best way to set up a handler for 'Internal error'

2012-12-26 Thread Chris Colman
hi, add your IRequestCycleListener which onexception checks if it's the exception you want to log/mail ,if it's then do so. Ah! That looks like what I need! Thanks. On Wed, Dec 26, 2012 at 3:45 AM, Chris Colman chr...@stepaheadsoftware.com wrote: When running in production mode and an error

How to resolve right path for variable images (with Jetty)

2012-12-26 Thread Delange
In my webapplication a user can upload images. They are displayed on other pages. When I start the application with Jetty from the Eclipse directory, all images are stored directly under the project folder. But when I want to display them, they must be under src/main/webapp/ The is caused by the

Select2 - Wicket 1.4.18

2012-12-26 Thread xe0nre
Hello, I have a quick question about the Select2 component created by Igor.I tried to integrated it in my project (witch uses wicket 1.4.18) and could not do it...just received errors. When i tried it with wicket 1.5 i had no problem. So my question is: Can the select2 component be integrated in

Re: Select2 - Wicket 1.4.18

2012-12-26 Thread Igor Vaynberg
it can, but it needs to be ported to that version of wicket. -igor On Wed, Dec 26, 2012 at 6:06 AM, xe0nre mvlupan.s...@gmail.com wrote: Hello, I have a quick question about the Select2 component created by Igor.I tried to integrated it in my project (witch uses wicket 1.4.18) and could not

CSS for subpanel tabs

2012-12-26 Thread appwicket
Hi, I'm using panels contains tabbed panels and each tab contains few sub-tabbedpanels. I load my css in my page and it works fine for the tabs and the sub tabs in first tab. However the CSS doesn't work for other subtabs in other tabs. (I got CSS from Wicket - jQuery UI

Cookies and RestartResponseException

2012-12-26 Thread Alexandros Karypidis
Hi, I am using CookieUtils to store a cookie. Here's the catch though: after setting the cookie, I want to redirect the user to a new page, so that is followed immediately by a RestartResponseException: new CookieUtils().save(some-key, some-value) throw new

Re: Cookies and RestartResponseException

2012-12-26 Thread Sven Meier
Use NonResettingRestartException Sven On 12/26/2012 07:11 PM, Alexandros Karypidis wrote: Hi, I am using CookieUtils to store a cookie. Here's the catch though: after setting the cookie, I want to redirect the user to a new page, so that is followed immediately by a

Re: Cookies and RestartResponseException

2012-12-26 Thread Alexandros Karypidis
So simple... I spent the last 8 minutes (i.e. till I received your reply) playing with a custom PageProvider, trying to set the cookie in getPageInstance(), (only to find that it doesn't matter since the 3xx redirect ends up retrieving the page from the default page provider anyway). Thx!

Re: Select2 - Wicket 1.4.18

2012-12-26 Thread xe0nre
Hmm...so at this point only wicket 1.5 and 6 are supported ? Oh...and that Igor for this component :) Nice work -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Select2-Wicket-1-4-18-tp4655059p4655065.html Sent from the Users forum mailing list archive at

Re: Select2 - Wicket 1.4.18

2012-12-26 Thread Igor Vaynberg
yes, only 1.5 and 6 are supported. -igor On Wed, Dec 26, 2012 at 11:14 AM, xe0nre mvlupan.s...@gmail.com wrote: Hmm...so at this point only wicket 1.5 and 6 are supported ? Oh...and that Igor for this component :) Nice work -- View this message in context:

Re: Are Wicket models loaded concurrently ?

2012-12-26 Thread Hendy Irawan
I think I just found a bug ... LoadableDetachableModel is potentially non-threadsafe. I experience weird behavior, my concurrent models are chained (i.e. calls other models getObject()), and my concurrent models extend LoadableDetachableModel. The weird behavior is that sometimes (!!) the models

Re: Are Wicket models loaded concurrently ?

2012-12-26 Thread Igor Vaynberg
the bug is that something does not serialize access to the page. the contract on models and components is that they always run in a single-threaded environment. this is what allows the user code to be simple and free of any synchronization logic. so whatever push/pull/whatever framework you are

Re: Example of wicket atmosphere with channel

2012-12-26 Thread Emond Papegaaij
I presume you are refering to WICKET-4879, There are no examples of the new API yet, but the changes are not that big. I did not really implement channels, but made the changes that would allow you to implement channels. It is now possible to post an event to a single client (rather than all

Re: Wicket Atmosphere does not run in Firefox 17

2012-12-26 Thread Emond Papegaaij
It seems you hosting provider does not support websockets. For some reason, in Chrome the downgrade to 'streaming' works fine, but in Firefox it does not. Firefox keeps trying to establish a ws connection, which fails over and over again. I think this is a problem in Atmosphere. You could try

Re: CSS for subpanel tabs

2012-12-26 Thread Per Newgro
Hello John Doe, did you try a css selector by class instead of id? PS: Posting without any name is not very respectful. Posting such commonly phrased questions (my xyz is not working - tell me why) oftenly stay unanswered. Please provide some code (java, html, css) and i bet you get good

Use existing Wicket Application for Android Application

2012-12-26 Thread Arun Chauhan
I want to make a Android Application of grocery stores. I have an existing Wicket Application deployed on server which I want to use in my Android Application for request handling. Is it compatible to use wicket application for android part. There are 2 ways: Use existing Wicket Application for