Component.isVisibleInHierarchy() - expensive or not?

2013-10-03 Thread Marios Skounakis
Hi all, I have a form with a few hundred components and I am calling isVisibleInHierarchy for each one of them twice. The reason I am doing this is because I am running some validations in onValidateModelObjects() and I want them skip validations for invisible components in some cases. None of

Re: Problems with Autocomplete in 6.11.0

2013-10-03 Thread manuelbarzi
followed your patch, Jan, but the indicator was not hiding when deleting the input value (backspace key). so forced to hide the indicator on auto complete hiding [1]. for the moment it works, until the issue is solved in the original component. [1] wicket-autocomplete.js function

Session expired controll - timeout redirect

2013-10-03 Thread sidorczukp
Hi, I set up session expiration in web.xml: session-config session-timeout1/session-timeout tracking-modeCOOKIE/tracking-mode /session-config and set up: getApplicationSettings().setPageExpiredErrorPage( SignInPage.class ); but it doesn't work: When tomcat session expired

CryptoMapper and mounted pages.

2013-10-03 Thread Roman Grigoriadi
Hello Wicket users! I am trying to make a CryptoMapper working for a mounted page, in a way, that the URL in browser would be unencrypted, but all the other stuff like ListenerInterface links urls will be encrypted. I am using a wicket 1.5.10, but I tried to reproduce it on a quickstart project

Re: Problems with Autocomplete in 6.11.0

2013-10-03 Thread Andrea Del Bene
Thank you for your feedbacks, I'm working on a patch! followed your patch, Jan, but the indicator was not hiding when deleting the input value (backspace key). so forced to hide the indicator on auto complete hiding [1]. for the moment it works, until the issue is solved in the original

Dynamic markup loading caching in base page

2013-10-03 Thread Bas Gooren
Hi *, We built an app which has a base page, and several child pages which inherit from the base page. The app is themeable, and one of the requirements of the app is/was that these themes should be manageable. This means we have a set of themes which can be changed on-the-fly. To add

Re: Dynamic markup loading caching in base page

2013-10-03 Thread Bas Gooren
Sorry, I forgot to add that this is a wicket 1.5 app. As a quick follow-up, after looking at the InheritedMarkupMarkupLoader, I see that it delegates loading of the parent (base page) markup to the MarkupFactory. I think that means that our current setup should work, when it doesn't. Met

Re: Error in authentication

2013-10-03 Thread Gabriel Landon
Did you check that your are using the same version for both jar? pom.xml : properties *wicket.version6.11.0/wicket.version* /properties dependency groupIdorg.apache.wicket/groupId artifactId*wicket-core*/artifactId

Re: Error in authentication

2013-10-03 Thread Francois Meillet
Hi, java.lang.NoSuchMethodError: org.apache.wicket.authroles.authentication.AuthenticatedWebSession.authenticate(Ljava/lang/String;Ljava/lang/String;) means that you call the method with string arrays. The signature is public abstract boolean authenticate(final String username, final

Re: Dynamic markup loading caching in base page

2013-10-03 Thread Bas Gooren
Another hour of debugging revealed the problem... The MarkupCache method loadMarkupAndWatchForChanges has code which shortcuts our custom cache key: // get the location String String locationString = markupResourceStream.locationAsString(); if (locationString ==

Re: Error in authentication

2013-10-03 Thread MartinoSuperman
Hi, Thanks!!! I changed the version of wicket-auth-roles to 6.0.0. That is the version I use in my wicket-core. But now, I am getting a different. Now a warning: WARNING: Couldn't resolve model type of Model:classname=[org.apache.wicket.model.PropertyModel]:nestedModel=[]:expression=[username]