Re: guestbook application with database update

2012-06-25 Thread Jeremy Thomerson
All list moderators do. I just emails to users-unsubscribe-jaffa.wify= gmail@wicket.apache.org and users-deny-subscribe-jaffa.wify= gmail@wicket.apache.org which I think will block this guy. More info: http://www.apache.org/dev/committers.html#problem_posts -- Jeremy Thomerson http://wi

Re: Check component onSubmit behavior selects all

2012-06-25 Thread praslisa
I have the exact same issue. Can anyone help? As soon as I load the page I get all the checks checked. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Check-component-onSubmit-behavior-selects-all-tp4650124p4650222.html Sent from the Users forum mailing list archive a

Re: Check component onSubmit behavior selects all

2012-06-25 Thread praslisa
I have the exact same issue. Can anyone help? As soon as I load the page I get all the checks checked. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Check-component-onSubmit-behavior-selects-all-tp4650124p4650221.html Sent from the Users forum mailing list archive at

Re: Wicket Page constructor getting called twice

2012-06-25 Thread Martin Grigorov
Right, can lead to such behavior. Newer versions of Wicket (1.5+) have a preconfigured IResponseFilter which notifies you about such problem in DEV mode. You can also use CSS like: a[src = ""] {color:red;} to see them easily. No matter what is the configured render strategy Wicket will call the p

Re: Wicket Page constructor getting called twice

2012-06-25 Thread Nick Heudecker
I've only seen this type of behavior if I have an empty element or something similar. On Mon, Jun 25, 2012 at 11:45 AM, Ian Marshall wrote: > Hello All, > > My web application uses the default request cycle render strategy > IRequestCycleSettings.RenderStrategy.REDIRECT_TO_BUFFER. > > An exter

Wicket Page constructor getting called twice

2012-06-25 Thread Ian Marshall
Hello All, My web application uses the default request cycle render strategy IRequestCycleSettings.RenderStrategy.REDIRECT_TO_BUFFER. An external web site calls a web page on my web application using a URL with page parameters (all of which I set before I hand over to the external web site). I fi

Re: modify Date in model from 3 inputs?

2012-06-25 Thread Sven Meier
See org.apache.wicket.extensions.yui.calendar.TimeField for inspiration. Sven On 06/25/2012 06:47 PM, Dan12321 wrote: Hi, I have got 3 html elements: day, month, year. In model class I have got attribute "java.util.Date sameDate;". This date should be created from elements day, month, year.

Re: modify Date in model from 3 inputs?

2012-06-25 Thread Richard W. Adams
It is possible, and very common. In fact, if you set up your model correctly, you don't have to change it at all. Wicket does it for you. From: Dan12321 To: users@wicket.apache.org Date: 06/25/2012 11:47 AM Subject:modify Date in model from 3 inputs? Hi, I have got 3 html

modify Date in model from 3 inputs?

2012-06-25 Thread Dan12321
Hi, I have got 3 html elements: day, month, year. In model class I have got attribute "java.util.Date sameDate;". This date should be created from elements day, month, year. I would like to ask, if there is possible: when I change input or select, I want to change Date in model. Is it possible?

Re: Unnecessary 302 redirects in Wicket 1.5

2012-06-25 Thread sylvain
Hi, In order to avoid redirect, we add this code in our application class : setPageRendererProvider(new IPageRendererProvider() { @Override public PageRenderer get(final RenderPageRequestHandler context) { return

Re: logout

2012-06-25 Thread Tom Eugelink
Ok. I also have a logout page, call signout in the before-render, and then use the exception thing to immediately forward to another page. Maybe actually showing the logout page is the trick (better a page and autologin all the time). What do you do on the logout page to force the logout? Tom

Re: logout

2012-06-25 Thread Stefan Moises
Hi Tom, we are using wicket auth and we can only logout if we use a dedicated Signout page (with template) - if we only logout (and e.g. try to forward right to the homepage with setResponsePage()) it doesn't work and the user always stays logged in as you describe it. We'd love to get rid of

Re: logout

2012-06-25 Thread Martin Grigorov
wicket-auth-roles is actually an example of IAuthenticationStrategy and IAuthorizationStrategy interfaces. Most of the people that use it actually just see how it works and copy/paste the related parts of it and later extend them with their specific business logic. afaik it uses "rememberMe" cooki

Re: logout

2012-06-25 Thread Tom Eugelink
Ok. The actual problem I have is that wicket auth keeps logging in automatically. This is a side effect of a.o. BASIC authentication (not sure if that is used in this case, but the behavior is similar) which sends the login credentials with every request, even if you have logged out in the mean

Re: getRelativePathPrefixToWicketHandler

2012-06-25 Thread Martijn Dashorst
On Thu, Jun 21, 2012 at 10:00 PM, Martin Grigorov wrote: > There is no such method even in Wicket 1.5. > From which version do you migrate ? According to my quick google search: 1.3.7 and 1.4.17 have this method. To answer the OP's question, what do you need that method for? Martijn --

Re: logout

2012-06-25 Thread Martin Grigorov
Hi Tom, I agree with your vision. But since Wicket is a framework around the Servlet API we call HttpSession.invalidate(). This triggers some web container internal workings and at some point Wicket is called back (see javax.servlet.http.HttpSessionListener/HttpSessionBindingListener) and Wicket c

Re: Suppress Ajax ComponentNotFoundException

2012-06-25 Thread W Mazur
I would try to add WindowClosedCallback to Modal Window and remove behavior(s) in that callback (unless you are going to reuse that ModalWindow). Another option: try to override Behavior's canCallListenerInterface() Regards Wlodek 2012/6/25 Alex Grant : > I have a problem that shows up intermit

Re: interesting issues with Wicket and Javassist

2012-06-25 Thread Martin Grigorov
Hi, On Fri, Jun 22, 2012 at 6:36 PM, Andrew Geery wrote: > I've recently run across a couple of issues where a proxy'ed class (using > Javassist from Hibernate) has messed up Wicket.  When a class is proxy'ed > by Javassist, the class you have (say, Person) isn't really a Person class > but somet