Re: Form-Validators and invisible form components

2014-07-25 Thread Martin Grigorov
Hi, Please file a ticket. I agree that Wicket can use Behavior#isEnabled(Component) to decide whether to call I(Form)Validator#validate(). To workaround it you can use normal IValidator added to the always visible form component and pass manually the one that may be invisible. This way you have

Problem adding CSS resources in Wicket 6

2014-07-25 Thread Lorne Malvo
I have a problem adding CSS resources to Wicket pages in Wicket 6. In my page class, I override renderHead() like this: @Override public void renderHead(IHeaderResponse response) { response.render( CssHeaderItem.forReference( new CssResourceReference( MyFantasticPage.class,

Re: Problem adding CSS resources in Wicket 6

2014-07-25 Thread Sven Meier
Hi, you should read http://wicket.apache.org/guide/guide/resources.html#resources_3 to understand the 'extra noise'. If you really don't want a version identifier appended, you can use NoOpResourceCachingStrategy. See IResourceSettings#setCachingStrategy(). Regards Sven On 07/26/2014