Hello,
1) I have a custom validator that implements INullAcceptingValidator.
2) A TextField component in my form has validator (1) attached to it and
is setRequired(false).
3) When I submit my form with the text input empty, the validator does NOT
get called. It only gets called if there is
Maybe org.apache.wicket.markup.html.form.FormComponent.isInputNullable()
which is overridden by
org.apache.wicket.markup.html.form.AbstractTextComponent.isInputNullable()
On Fri, Jun 3, 2011 at 12:00 PM, Alexandros Karypidis akary...@yahoo.gr wrote:
Hello,
1) I have a custom validator that
Hello again,
I'm in a weird place. I've stepped through the code and located my problem
in:
http://svn.apache.org/repos/asf/wicket/releases/wicket-1.5-RC4.2/wicket-core/src/main/java/org/apache/wicket/markup/html/form/FormComponent.java
At line 1383, the method validateValidators() visits
Yes. It looks like a bug
On Fri, Jun 3, 2011 at 12:47 PM, Alexandros Karypidis akary...@yahoo.gr wrote:
Hello again,
I'm in a weird place. I've stepped through the code and located my problem
in:
BTW, I just located where the adapter is instantiated. Again, in:
http://svn.apache.org/repos/asf/wicket/releases/wicket-1.5-RC4.2/wicket-core/src/main/java/org/apache/wicket/markup/html/form/FormComponent.java
You will find in line 465:
add((Behavior)new ValidatorAdapter(validator));
Ok, I'll open a JIRA and refer to this thread. Fix seems easy enough.
On Fri, 03 Jun 2011 12:50:40 +0300, Martin Grigorov mgrigo...@apache.org
wrote:
Yes. It looks like a bug
On Fri, Jun 3, 2011 at 12:47 PM, Alexandros Karypidis
akary...@yahoo.gr wrote:
Hello again,
I'm in a weird
https://issues.apache.org/jira/browse/WICKET-3767
On Fri, 03 Jun 2011 12:56:06 +0300, Alexandros Karypidis
akary...@yahoo.gr wrote:
Ok, I'll open a JIRA and refer to this thread. Fix seems easy enough.
On Fri, 03 Jun 2011 12:50:40 +0300, Martin Grigorov
mgrigo...@apache.org wrote: