Re: Inter-Component Validation (or how to marry two strangers)

2010-09-22 Thread Igor Vaynberg
gt; Hi, > > thanks for the reply, > well.. good question, this would propably be the validator, i need to check > the validity of the personal data fields before the form gets submitted. > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/Inter-

Re: Inter-Component Validation (or how to marry two strangers)

2010-09-22 Thread splitshade
Hi, thanks for the reply, well.. good question, this would propably be the validator, i need to check the validity of the personal data fields before the form gets submitted. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Inter-Component-Validation-or-how-to-marry

Re: Inter-Component Validation (or how to marry two strangers)

2010-09-22 Thread nino martinez wael
d expose the inner components from Panel B and Panel A to a > FormValidator, OR .. > > Everything looks like a Hack, is there a really clean way how to solve this > in Wicket? > > Thanks in advance for ANY hints and help > > > -- > View this message in context: > http://

Re: Inter-Component Validation (or how to marry two strangers)

2010-09-22 Thread Igor Vaynberg
Panel B and Panel A to a > FormValidator, OR .. > > Everything looks like a Hack, is there a really clean way how to solve this > in Wicket? > > Thanks in advance for ANY hints and help > > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabb

Inter-Component Validation (or how to marry two strangers)

2010-09-22 Thread splitshade
42946.n4.nabble.com/Inter-Component-Validation-or-how-to-marry-two-strangers-tp2550675p2550675.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.or

Re: bigdecimal validation

2010-09-18 Thread James Carman
n the Wicket jar (in /org/apache/wicket). >>>>>> Make a similar properties file for your own application, and in the >>>>>> same package as your application class with your own IConverter >>>>>> property. >>>>>> >>>>>

Re: bigdecimal validation

2010-09-18 Thread Cemal Bayramoglu
James, We have just never before had to do this for specific type conversions (as opposed to for validation message which we specify and internationalize on almost every system we build), and I solved fachoch's problem by looking through the Wicket source code first rather than at its Ja

Re: bigdecimal validation

2010-09-18 Thread Cemal Bayramoglu
ext   of   type bigdecimal  validates user entered value to check if >>> it is bigdecimal and it gives error message 'xxx' is not a valid >>> bigddecimal, can I customize this message >>> &

Re: bigdecimal validation

2010-09-18 Thread Igor Vaynberg
gt;>>>> in Application.properties in the Wicket jar (in /org/apache/wicket). >>>>> Make a similar properties file for your own application, and in the >>>>> same package as your application class with your own IConverter >>>>> property. >

Re: bigdecimal validation

2010-09-17 Thread James Carman
erty. >>>> >>>> Regards - Cemal >>>> jWeekend >>>> Training, Consulting, Development >>>> http://jWeekend.com >>>> >>>> >>>> On 17 September

Re: bigdecimal validation

2010-09-17 Thread Igor Vaynberg
ting, Development >>> http://jWeekend.com >>> >>> >>> On 17 September 2010 22:21, fachhoch wrote: >>>> >>>> input text   of   type bigdecimal  validates user entered value to check if >>>> i

Re: bigdecimal validation

2010-09-17 Thread James Carman
or message 'xxx' is not a valid >>> bigddecimal, can I customize this message >>> >>> -- >>> View this message in context: >>> http://apache-wicket.1842946.n4.nabble.com/bigdecimal-validation-tp2544469p2544469.html >>> Sent from the Us

Re: bigdecimal validation

2010-09-17 Thread Igor Vaynberg
pe bigdecimal  validates user entered value to check if >> it is bigdecimal and it gives error message 'xxx' is not a valid >> bigddecimal, can I customize this message >> >> -- >> View this message in context: >> http://apache-wicket.1842946.n4.nabble.co

Re: bigdecimal validation

2010-09-17 Thread Cemal Bayramoglu
;>> >>> this change will apply only for bigdecimal ? >>> I want customized only for bigdecimal >>> -- >>> View this message in context: >>> http://apache-wicket.1842946.n4.nabble.com/bigdecimal-validation-tp2544469p2544526.html >>> Sent from the

Re: bigdecimal validation

2010-09-17 Thread Cemal Bayramoglu
2, fachhoch wrote: >> >> this change will apply only for bigdecimal ? >> I want customized only for bigdecimal >> -- >> View this message in context: >> http://apache-wicket.1842946.n4.nab

Re: bigdecimal validation

2010-09-17 Thread Cemal Bayramoglu
will apply only for bigdecimal ? > I want customized only for bigdecimal > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/bigdecimal-validation-tp2544469p2544526.html > Sent from the Users forum mai

Re: bigdecimal validation

2010-09-17 Thread fachhoch
this change will apply only for bigdecimal ? I want customized only for bigdecimal -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/bigdecimal-validation-tp2544469p2544526.html Sent from the Users forum mailing list archive at Nabble.com

Re: bigdecimal validation

2010-09-17 Thread Cemal Bayramoglu
this message > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/bigdecimal-validation-tp2544469p2544469.html > Sent from the Users forum mailing list archive at Nabble.com. > > -

bigdecimal validation

2010-09-17 Thread fachhoch
input text of type bigdecimal validates user entered value to check if it is bigdecimal and it gives error message 'xxx' is not a valid bigddecimal, can I customize this message -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/bigdecimal-

Re: Conditional Validation (Save versus Submit)

2010-09-15 Thread Richard Nichols
id process(IFormSubmittingComponent submittingComponent) { draftMode = !(submittingComponent == submitButton); super.process(submittingComponent); } This is necessary since we need to update the flag prior to validation being run. This does mean that you can't use Wicke

Re: Conditional Validation (Save versus Submit)

2010-09-15 Thread Igor Vaynberg
my validations, but still update the underlying model objects so i > can persist them in a partially completed state, then have the full > validation run when the Submit button is clicked. > > If I call setDefaultFormProcessing(false) then the underlying model isn't > updated

Conditional Validation (Save versus Submit)

2010-09-15 Thread Clint Checketts
I have a form with 2 buttons: Save and Submit. If the user hits Save I want to bypass my validations, but still update the underlying model objects so i can persist them in a partially completed state, then have the full validation run when the Submit button is clicked. If I call

RE: DropDownChoice - performing extra validation before model changed

2010-09-14 Thread Chris Colman
Cool, thanks Ernesto. >-Original Message- >From: Ernesto Reinaldo Barreiro [mailto:reier...@gmail.com] >Sent: Tuesday, 14 September 2010 6:28 PM >To: users@wicket.apache.org >Subject: Re: DropDownChoice - performing extra validation before model >changed > >AjaxR

Re: DropDownChoice - performing extra validation before model changed

2010-09-14 Thread Ernesto Reinaldo Barreiro
AjaxRequestTarget .get() will return it your are in a middle of an AJAX request. Ernesto On Tue, Sep 14, 2010 at 10:24 AM, Chris Colman wrote: > I am trying to open up a message box inside the IValidator's validate > method but I need an AjaxRequestTarget to open the MessageBox. > > Is there any

RE: DropDownChoice - performing extra validation before model changed

2010-09-14 Thread Chris Colman
I am trying to open up a message box inside the IValidator's validate method but I need an AjaxRequestTarget to open the MessageBox. Is there anyway to get an AjaxRequestTarget in the validate method? Regards, Chris - To unsubsc

Re: DropDownChoice - performing extra validation before model changed

2010-09-13 Thread Jeremy Thomerson
On Mon, Sep 13, 2010 at 10:33 PM, Chris Colman wrote: > So both form and component validators will have access to the value? > > Yes -- Jeremy Thomerson http://www.wickettraining.com

RE: DropDownChoice - performing extra validation before model changed

2010-09-13 Thread Chris Colman
So both form and component validators will have access to the value? Chris >-Original Message- >From: Igor Vaynberg [mailto:igor.vaynb...@gmail.com] >Sent: Tuesday, 14 September 2010 12:55 PM >To: users@wicket.apache.org >Subject: Re: DropDownChoice - performing extra va

Re: DropDownChoice - performing extra validation before model changed

2010-09-13 Thread Igor Vaynberg
rely on the Feedback > panel to show an error message). > > DropDownChoice doesn't seem to have any methods to get the currently > selected item (or null if none is selected). > > The only way seems to be checking the model but that would not be > updated until after the v

DropDownChoice - performing extra validation before model changed

2010-09-13 Thread Chris Colman
item (or null if none is selected). The only way seems to be checking the model but that would not be updated until after the validation process is complete (I would tnink). Any ideas? - To unsubscribe, e-mail: users-uns

Re: AjaxButton OnSubmit Validation Overridden

2010-07-22 Thread Nivedan Nadaraj
46.n4.nabble.com/Re-AjaxButton-OnSubmit-Validation-Overridden-tp2298251p2298343.html > Sent from the Wicket - User mailing list archive at Nabble.com. > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org

Re: AjaxButton OnSubmit Validation Overridden

2010-07-22 Thread vov
Hi, Read http://www.wicketframework.org/apidocs/wicket/markup/html/form/Form.html about nested forms. Also your can put your ListMultipleChoice and buttons to separate Panel -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Re-AjaxButton-OnSubmit-Validation-Overridden

Re: AjaxButton OnSubmit Validation Overridden

2010-07-22 Thread Nivedan Nadaraj
efore for the > Cancel operation. Just did not occur to me. > Cheers > > > > On Thu, Jul 22, 2010 at 3:41 PM, MattyDE wrote: > >> >> you could Try to set >> >>/** >> * Sets the defaultFormProcessing property. When false (default

Re: AjaxButton OnSubmit Validation Overridden

2010-07-22 Thread Nivedan Nadaraj
fault is > true), > all validation and > * form updating is bypassed and the onSubmit method of that button > is > called directly, and the > * onSubmit method of the parent form is not called. A common use > for this > is to create a cancel >

Re: AjaxButton OnSubmit Validation Overridden

2010-07-22 Thread MattyDE
you could Try to set /** * Sets the defaultFormProcessing property. When false (default is true), all validation and * form updating is bypassed and the onSubmit method of that button is called directly, and the * onSubmit method of the parent form is not

Re: AjaxButton OnSubmit Validation Overridden

2010-07-22 Thread Nivedan Nadaraj
I have an WebMarkupContainer that contains a ListMultipleChoice control with Add and Add buttons. These buttons are of type AjaxButton. When I select some items form the ListMultipleChoice control and hit Add or Add ALL, it triggers the form validation for the 'required fields' and in this case I have

Re: validation and #updateModel

2010-07-21 Thread Ray Weidner
Update: I was able to confirm my theory below. It was specifically MultiFileUploadField's validation of file size via Form#setMaxSize that was causing the problem. Again, I question the value of this method if this is the result. It sounds like you have to put attachment uploading in it

Re: validation and #updateModel

2010-07-20 Thread Ray Weidner
Form#setMaxSize. What you said earlier, about how only fields that failed validation should fail to be retained in the form, got me to thinking: since this restriction is set in the Form object, does that block the model update for ALL fields? That would make sense, but it would also make thi

Re: validation and #updateModel

2010-07-20 Thread Jeremy Thomerson
Only the fields that failed conversion or validation should > be > > blank. > > > See, that throws me off, too. Yes, the supposedly valid fields are not > being preserved after submit and fail validation. I would have thought > that > they should have been preserved, L

Re: validation and #updateModel

2010-07-20 Thread Ray Weidner
> > Back to the original question, when you say "all changes to the form > are lost" - do you mean that the form rerenders with absolutely no values > filled out? Only the fields that failed conversion or validation should be > blank. See, that throws me off, too.

Re: validation and #updateModel

2010-07-20 Thread Jeremy Thomerson
ible. the sequence is basically > > * load entity - model > * call setters - form component models > * flush/close session - somewhere > Right, which is why I said in the second paragraph: Only the fields that failed conversion or validation should be blank. > Others should have

Re: validation and #updateModel

2010-07-20 Thread Igor Vaynberg
On Tue, Jul 20, 2010 at 12:53 AM, Jeremy Thomerson wrote: > Typically, I use LDM's for every place that I am viewing data, and a regular > serializable model for places that I'm editing data.  You must be able to > persist changes across requests (without persisting to the long-term > storage), wh

Re: validation and #updateModel

2010-07-20 Thread Jeremy Thomerson
ing data. You must be able to persist changes across requests (without persisting to the long-term storage), which means that you'll need to be able to serialize things. Back to the original question, when you say "all changes to the form are lost" - do you mean that the form rerender

Re: validation and #updateModel

2010-07-20 Thread Ray Weidner
> solve. I have a form with a model that is a LoadableDetachableModel > > wrapped > > in a CompoundPropertyModel. I wouldn't expect that to be unusual. > > However, > > when a form submit is failing validation for , all changes to the form > are > > lost

Re: validation and #updateModel

2010-07-20 Thread Jeremy Thomerson
undPropertyModel. I wouldn't expect that to be unusual. > However, > when a form submit is failing validation for , all changes to the form are > lost. I'm guessing that the LoadableDetachableModel, when combined with > the > blocked update to the model, is causing thi

validation and #updateModel

2010-07-19 Thread Ray Weidner
Hi all, I have what I would think to be a fairly common usecase that I'd like to solve. I have a form with a model that is a LoadableDetachableModel wrapped in a CompoundPropertyModel. I wouldn't expect that to be unusual. However, when a form submit is failing validation for , all

Re: Reset values after submit with validation error in table components

2010-07-11 Thread Igor Vaynberg
terator(int first, int count) { >        return takeBackPallet.getRollInfoList().iterator(); >    } > >    public int size() { >        return takeBackPallet.getRollInfoList().size(); >    } > >    public IModel model(TakeBackPalletRollInfo > object) { >        return new

Reset values after submit with validation error in table components

2010-07-11 Thread Branislav Kalas
kPalletRollInfo object) { return new Model(object); } } After form submit, when validation error occurs (like not filled required field) on some field which is not in table, values in table resets to it's initial values.

Re: extending AbstractFormValidator as a validation adapter

2010-07-02 Thread Igor Vaynberg
validation is needed because you cant stuff "abc" into an Integer field, so it cannot be turned off completely. if you dont add any validators and dont call setrequired then you should be good to go because the only remaining bit wicket will do before pushing into your models is type ch

Re: extending AbstractFormValidator as a validation adapter

2010-07-01 Thread Ray Weidner
Thanks for your reply, Jeremy. I just got around to reading it. I had been under the impression that I'd have to call something from the #onSubmit to trigger the feedback, but I tried it out based on your suggestion, and it fits the bill. This "deferred validation" is actually p

Re: extending AbstractFormValidator as a validation adapter

2010-06-29 Thread Jeremy Thomerson
> Igor (or anyone else who knows the answer), > > There is one problem with my implementation of the FormValidator in the > code > that I included earlier. It performs validation using the Form's model > object, which is a problem because the input hasn't been mapped ont

Re: extending AbstractFormValidator as a validation adapter

2010-06-29 Thread Ray Weidner
Igor (or anyone else who knows the answer), There is one problem with my implementation of the FormValidator in the code that I included earlier. It performs validation using the Form's model object, which is a problem because the input hasn't been mapped onto it at this stage of

Re: extending AbstractFormValidator as a validation adapter

2010-06-29 Thread Ray Weidner
t writing already has its own validation > > logic, but I would like to integrate its results into the existing Wicket > > form validation so as to unify the feedback. To this end, I'm trying to > > extend AbstractFormValidator to wrap my system's logic. > > >

Re: extending AbstractFormValidator as a validation adapter

2010-06-28 Thread Igor Vaynberg
On Mon, Jun 28, 2010 at 9:27 PM, Ray Weidner wrote: > Hi all, > > The application that I'm current writing already has its own validation > logic, but I would like to integrate its results into the existing Wicket > form validation so as to unify the feedback.  To this end, I&

extending AbstractFormValidator as a validation adapter

2010-06-28 Thread Ray Weidner
Hi all, The application that I'm current writing already has its own validation logic, but I would like to integrate its results into the existing Wicket form validation so as to unify the feedback. To this end, I'm trying to extend AbstractFormValidator to wrap my system's log

Re: Validation

2010-06-15 Thread Jeremy Thomerson
On Tue, Jun 15, 2010 at 5:24 PM, Brian Mulholland wrote: > The two are added to the same component, but have no direct > relationship to each other. It IS true that the non-working one is > added 2nd. However in the test where I am trying to get control to > the 2nd one, I typed input that did n

Re: Validation

2010-06-15 Thread Brian Mulholland
The two are added to the same component, but have no direct relationship to each other. It IS true that the non-working one is added 2nd. However in the test where I am trying to get control to the 2nd one, I typed input that did not evoke a message from the first validator. But could you elabor

Re: Validation

2010-06-15 Thread Jeremy Thomerson
On Tue, Jun 15, 2010 at 4:57 PM, Brian Mulholland wrote: > I have two validations on a textbox. One is extended from the > EmailValidation class that comes with wicket and works fine. The > other is an extension of AbstractValidator. That one never gets > called. It never gets to the onValidat

Re: Easy fast question, prope rties ´file for validation....

2010-06-15 Thread Victor_Trapiello
message in context: http://apache-wicket.1842946.n4.nabble.com/Easy-fast-question-properties-file-for-validation-tp2256542p2256611.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail

Validation

2010-06-15 Thread Brian Mulholland
I have two validations on a textbox. One is extended from the EmailValidation class that comes with wicket and works fine. The other is an extension of AbstractValidator. That one never gets called. It never gets to the onValidate(). Why would one validator get invoked and function perfectly w

Re: Easy fast question, prope rties ´file for validation....

2010-06-15 Thread Victor_Trapiello
t.. what¿? cheersss -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Easy-fast-question-properties-file-for-validation-tp2256542p2256573.html Sent from the Wicket - User mailing list archive at Nabble.com. ---

Easy fast question, properties ´file for validation....

2010-06-15 Thread Victor_Trapiello
ket.1842946.n4.nabble.com/Easy-fast-question-properties-file-for-validation-tp2256542p2256542.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Re: Validation Messages

2010-06-07 Thread Igor Vaynberg
first call setlabel on your formcomponent with the value that you want to show up, then in the error message template use ${label} variable. -igor On Mon, Jun 7, 2010 at 10:54 AM, Brian Mulholland wrote: > This is probably a stupid question, but when I set up a validation > like require

Validation Messages

2010-06-07 Thread Brian Mulholland
This is probably a stupid question, but when I set up a validation like required or a custom validator, I want the "label" in the message to reflect a value other than the Id of the component. How can I set that to a value I'd prefer? B

Re: Simple Validation question...

2010-05-18 Thread Victor_Trapiello
this message in context: http://apache-wicket.1842946.n4.nabble.com/Simple-Validation-question-tp2221798p2221979.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr

Re: Simple Validation question...

2010-05-18 Thread Victor_Trapiello
laboration! -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Simple-Validation-question-tp2221798p2221939.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: user

Re: Simple Validation question...

2010-05-18 Thread Martin Makundi
Why not use accurate iban validator? http://www.google.fi/search?q=iban+validation+formula ** Martin 2010/5/19 Victor_Trapiello : > > True my friend, > > IBAN example: CY1700200128001200527600 > > but still I have the same doubt imagen it has only numbers, should I do a &

Re: Simple Validation question...

2010-05-18 Thread Igor Vaynberg
use patternvalidator that can check based on a regex -igor On Tue, May 18, 2010 at 2:14 PM, Victor_Trapiello wrote: > > True my friend, > > IBAN example: CY1700200128001200527600 > > but still I have the same doubt imagen it has only numbers, should I do a > custom vali

Re: Simple Validation question...

2010-05-18 Thread Victor_Trapiello
True my friend, IBAN example: CY1700200128001200527600 but still I have the same doubt imagen it has only numbers, should I do a custom validation saying that in this string I do not want find A or B or C. WHAT A WASTE OF TIME ISN´T IT¿? Thank you very much for your cooperation

Re: Simple Validation question...

2010-05-18 Thread Martin Makundi
is too big to store it and validate with the > integer class... > > Discuss!! > > Thank you very much guys!! > > Victor Trapiello > www.trapiello.net > > > > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/Simple-V

Simple Validation question...

2010-05-18 Thread Victor_Trapiello
in context: http://apache-wicket.1842946.n4.nabble.com/Simple-Validation-question-tp2221798p2221798.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apac

Re: dynamic forms retrieve a component for validation

2010-05-17 Thread Igor Vaynberg
che-wicket.1842946.n4.nabble.com/dynamic-forms-retrieve-a-component-for-validation-tp2219721p2219721.html > Sent from the Wicket - User mailing list archive at Nabble.com. > > - > To unsubscribe, e-mail: users-unsub

Re: dynamic forms retrieve a component for validation

2010-05-17 Thread fachhoch
.nabble.com/dynamic-forms-retrieve-a-component-for-validation-tp2219721p2219839.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional

dynamic forms retrieve a component for validation

2010-05-17 Thread fachhoch
component? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/dynamic-forms-retrieve-a-component-for-validation-tp2219721p2219721.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsu

Re: How to perform form validation with ajax before user submits the form

2010-05-17 Thread Erich W Schreiner
validation with ajax before user submits the form On 1) Why not call AjaxRequestTarget.get().addComponent(yourFeedbackPanel)? Ernesto On Mon, May 17, 2010 at 1:17 PM, Erich W Schreiner wrote: > Dear all, > > I would like to perform form validation using Ajax before the user actually

Re: How to perform form validation with ajax before user submits the form

2010-05-17 Thread Ernesto Reinaldo Barreiro
On 1) Why not call AjaxRequestTarget.get().addComponent(yourFeedbackPanel)? Ernesto On Mon, May 17, 2010 at 1:17 PM, Erich W Schreiner wrote: > Dear all, > > I would like to perform form validation using Ajax before the user actually > submits the form, similar to Ajax-based fiel

How to perform form validation with ajax before user submits the form

2010-05-17 Thread Erich W Schreiner
Dear all, I would like to perform form validation using Ajax before the user actually submits the form, similar to Ajax-based field validation. I have added an implementation of AbstractFormValidator to the form, and an Ajax behavior that sends the current data to the server triggered by the

RE: Strict XHTML validation

2010-04-30 Thread orange80
Hi, I just came across this same issue... I was just wondering why the wicket:id attributes wouldn't pass validation? Isn't that what this "xmlns:wicket" is for? Thanks! Jamie -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Str

Re: How to put a validation error message near its field?

2010-03-27 Thread David Chang
Jame, thanks for quick reply on a Saturday evening.. Exactly what I want. Best, David --- On Sat, 3/27/10, James Carman wrote: > From: James Carman > Subject: Re: How to put a validation error message near its field? > To: users@wicket.apache.org > Date: Saturday, March 27, 20

Re: How to put a validation error message near its field?

2010-03-27 Thread James Carman
http://wicket.apache.org/docs/1.4/org/apache/wicket/markup/html/panel/ComponentFeedbackPanel.html On Sat, Mar 27, 2010 at 10:11 PM, David Chang wrote: > FeedbackPanel is great in in terms of gathering messages in a central > place. But I saw many great sites have messages near their fields. > > H

How to put a validation error message near its field?

2010-03-27 Thread David Chang
FeedbackPanel is great in in terms of gathering messages in a central place. But I saw many great sites have messages near their fields. How can we do this in Wicket? Thank in advance for any info or pointer! Regards. -

Re: Feedback and field validation

2010-03-25 Thread alexander.elsholz
. When I move to a different field, this >> > feedback >> > message is no longer in the session. Can somebody explain that? >> > >> > Thanks, >> > Anna >> > >> > >> >> -- >> View this message in context: >> htt

Re: Feedback and field validation

2010-03-25 Thread Anna Simbirtsev
a different field, this > > feedback > > message is no longer in the session. Can somebody explain that? > > > > Thanks, > > Anna > > > > > > -- > View this message in context: > http://old.nabble.com/Feedback-and-field-validation-tp27924233p28022371.html >

Re: Feedback and field validation

2010-03-24 Thread alexander.elsholz
ger in the session. Can somebody explain that? > > Thanks, > Anna > > -- View this message in context: http://old.nabble.com/Feedback-and-field-validation-tp27924233p28022371.html Sent from the Wicket - User mailing list archive at Nabble.com. -

Re: how to clear validation error

2010-03-24 Thread Nikola Šaub
> >>> Thanks for your help but I don't understand. I even got the source code >>> for >>> http://www.wicket-library.com/wicket-examples/signin/?wicket:bookmarkablePage=:org.apache.wicket.examples.signin.SignInand >>> when I run this in my environmen

Feedback and field validation

2010-03-16 Thread Anna Simbirtsev
Hi, I validate fields using AjaxFormComponentUpdatingBehavior("onblur"). When I am on field 1, and data is invalid, it displays feedback message, and I can see this message in session. When I move to a different field, this feedback message is no longer in the session. Can somebody explain that?

Re: Form validation without a form component

2010-03-09 Thread scotthendo
suggested. >> >>  - Tristan >> >> >> Martijn Dashorst wrote: >>> >>> You might try to return an empty array.. >>> >>> Martijn >>> >> >> -- >&g

Re: expecting different behavior from form validation - potential bug?

2010-02-11 Thread Riyad Kalla
Antoine, I think this was discussed 3 days ago in the thread titled "Form#anyComponentError change in 1.4 breaks validation" (Russel Morrisey), basically noting that in a recent release of Wicket, the form "onError" behavior was changed to checking for errors on ANY component

Re: Hook Before Form Validation on a Button

2010-02-11 Thread Igor Vaynberg
make your button setusedefaultformprocessing(false) and trigger validation of the form yourself. -igor On Thu, Feb 11, 2010 at 10:28 AM, Tony Wu wrote: > For form submission I can override onSubmit to do my own processing, but is > there anything I can override that happens BEFORE th

Hook Before Form Validation on a Button

2010-02-11 Thread Tony Wu
For form submission I can override onSubmit to do my own processing, but is there anything I can override that happens BEFORE the form validation? I need to for example, based on which Button they press, .setRequired(false) on some components before the form processing kicks in. I tried @Override

Re: expecting different behavior from form validation - potential bug?

2010-02-11 Thread Igor Vaynberg
please create a quickstart and attach it to jira -igor On Thu, Feb 11, 2010 at 6:53 AM, Antoine van Wel wrote: > hi, > > In a nested form the onValidate() is overridden. > It sets an error message on a component inside this form - so not on > the form itself. > > However the submit on the form i

expecting different behavior from form validation - potential bug?

2010-02-11 Thread Antoine van Wel
hi, In a nested form the onValidate() is overridden. It sets an error message on a component inside this form - so not on the form itself. However the submit on the form itself is executed as if no error exists. What I see when debugging is that hasErrorMessages on the inside nested form returns

Re: Form validation without a form component

2010-02-11 Thread Antoine van Wel
gt; Martijn >> > > -- > View this message in context: > http://www.nabble.com/Form-validation-without-a-form-component-tp22682572p22866535.html > Sent from the Wicket - User mailing list archive at Nabble.com. > > > --

RE: Form#anyComponentError change in 1.4 breaks validation

2010-02-09 Thread Russell Morrisey
-Original Message- From: Igor Vaynberg [mailto:igor.vaynb...@gmail.com] Sent: Monday, February 08, 2010 10:00 PM To: users@wicket.apache.org Subject: Re: Form#anyComponentError change in 1.4 breaks validation yes, that would definately help, as well as a testcase. -igor On Mon, Feb 8, 2010 at 6

Re: Form#anyComponentError change in 1.4 breaks validation

2010-02-08 Thread Igor Vaynberg
ssionse.com | www.missionse.com > 304 West Route 38, Moorestown, NJ 08057 > > -Original Message- > From: Igor Vaynberg [mailto:igor.vaynb...@gmail.com] > Sent: Monday, February 08, 2010 1:20 PM > To: users@wicket.apache.org > Cc: Juergen Donnerstag > Subject: Re:

RE: Form#anyComponentError change in 1.4 breaks validation

2010-02-08 Thread Russell Morrisey
PM To: users@wicket.apache.org Cc: Juergen Donnerstag Subject: Re: Form#anyComponentError change in 1.4 breaks validation Juergen, do you remember what the problem was taking out the instanceof checks for Form and FormComponent? i dont see why they were added or why removing them would cause

Re: Form#anyComponentError change in 1.4 breaks validation

2010-02-08 Thread Igor Vaynberg
27;s > child hierarchy were checked for component.hasErrorMessage() during form > validation; any error registered against a component would cause a validation > failure. In the new version, only instances of Form or FormComponent are > checked; errors registered against other components are ignored.

Form#anyComponentError change in 1.4 breaks validation

2010-02-08 Thread Russell Morrisey
uring form validation; any error registered against a component would cause a validation failure. In the new version, only instances of Form or FormComponent are checked; errors registered against other components are ignored. Example use case: We have a customized inmethod DataGrid (excellent

RE: Validation errors

2010-01-21 Thread Riccardo Trombini
Great thank you very much ! -Original Message- From: Stefan Droog [mailto:sdr...@educator.eu] Sent: Donnerstag, 21. Januar 2010 17:13 To: users@wicket.apache.org Subject: RE: Validation errors Try form.error(getString("error.SolrConnectionFault")); -Original Message

RE: Validation errors

2010-01-21 Thread Stefan Droog
Try form.error(getString("error.SolrConnectionFault")); -Original Message- From: Riccardo Trombini [mailto:riccardo.tromb...@csnc.ch] Sent: Thursday, January 21, 2010 5:09 PM To: users@wicket.apache.org Subject: Validation errors Hi I have problems with FormValidation.

Validation errors

2010-01-21 Thread Riccardo Trombini
Hi I have problems with FormValidation. Everything works perfect till Wicket has to promt the Errormessages. Something with the localization went wrong, instead of the message I receive : "[ValidationError message=[null], keys=[error.SolrConnectionFault], variables=[null]]" I use a Feedbac

<    1   2   3   4   5   6   7   8   9   10   >