AW: EqualInputValidator for PasswortTextfield

2014-03-31 Thread Collinson, Alasdair
Hi! In such a case the error with the key "EqualInputValidator" is used; the Application_de.properties-file defines the message you see. You could override that in your local properties file. However you probably want to use the EqualPasswordInputValidator anyway which is a specialisation of th

Disabled Validators

2015-04-29 Thread Collinson, Alasdair
Hi! In a component I'm developing, there's an AbstractRangeValidator which should only be used under certain conditions. Since this is also a Behavior I would have expected overriding Behavior#isEnabled(Component) would deactivate the validator whenever we return false here. However, in FormCo

AW: Disabled Validators

2015-04-29 Thread Collinson, Alasdair
icket/blob/b4f69ac3492506c9841ad5c7cfc16a163d1df3d3/wicket-core/src/main/java/org/apache/wicket/markup/html/form/FormComponent.java#L525 2. https://issues.apache.org/jira/browse/WICKET-3214 Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Wed, Apr 29, 2015 at 11:18 AM, Collinson

AW: Disabled Validators

2015-04-29 Thread Collinson, Alasdair
() method. Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Wed, Apr 29, 2015 at 2:51 PM, Collinson, Alasdair < alasdair.collin...@senacor.com> wrote: > Hi Martin! > > Thanks for the reply, I've created a JIRA Ticket. [1] I guess we'll have > t

Recreating Select Choices produces weird error handling

2015-11-09 Thread Collinson, Alasdair
Hello everyone! I've been experiencing a weird behavior with Wicket (version 6.19.0, though I think it should be the same with a newer version). The problem is this: When I have a Select (from wicket-extensions) to which I add a SelectOptions which has "recreateOptions" set to true, the method

AW: Recreating Select Choices produces weird error handling

2015-11-10 Thread Collinson, Alasdair
ect Choices produces weird error handling Hi Alasdair, see https://issues.apache.org/jira/browse/WICKET-5606 I must admit that the 'fix' isn't easy to find. Have fun Sven On 09.11.2015 19:16, Collinson, Alasdair wrote: > Hello everyone! > > > I've been experiencing a w

AW: Styling tags

2013-08-27 Thread Collinson, Alasdair
I would go a completely different route: add an AttributeModifier [1]. It should look something like this: Label label = new Label("label", Model.of("Text")); label.add(new AttributeModifier("class", Model.of("cssClassName"))); This is explained in more detail in the wicket-guide [2], Chapter 4

AW: AW: Styling tags

2013-08-27 Thread Collinson, Alasdair
It does. Here's a quick example, adapted from a quickstart: package com.mycompany; import org.apache.wicket.AttributeModifier; import org.apache.wicket.request.mapper.parameter.PageParameters; import org.apache.wicket.markup.html.basic.Label; import org.apache.wicket.markup.html.WebPage; import o

AW: AW: AW: Styling tags

2013-08-27 Thread Collinson, Alasdair
> I don't agree: I can't see any tags in your markup. I don't need to > remove my tags (and I don't want to), I need to dynamically add a > class="cssClassName" to them instead. Sorry, my mistake - I didn't modify the markup enough. Luckily, whether it's a wicket:container or a label doesn't

AW: Wicket merchandise

2013-09-19 Thread Collinson, Alasdair
+1 for Sven Meier, though I think he should get the bib. ;-) -Ursprüngliche Nachricht- Von: nino martinez wael [mailto:nino.martinez.w...@gmail.com] Gesendet: Mittwoch, 18. September 2013 21:11 An: users@wicket.apache.org Betreff: Wicket merchandise Hi Guys long time no see.. Apparently