Re: wicket-bean-validation 10.0.0-M1-SNAPSHOT not available?

2023-01-03 Thread Francesco Chicchiriccò
https://repository.apache.org/service/local/repo_groups/snapshots-group/content/org/apache/wicket/wicket-bean-validation/10.0.0-M1-SNAPSHOT/wicket-bean-validation-10.0.0-M1-20221118.110647-167.pom > > Both seem to be there. > > > On Tue, Jan 3, 2023 at 9:35 AM Francesco Chicchiriccò > wro

Re: wicket-bean-validation 10.0.0-M1-SNAPSHOT not available?

2023-01-03 Thread Martin Grigorov
-validation/10.0.0-M1-SNAPSHOT/wicket-bean-validation-10.0.0-M1-20221118.110647-167.pom Both seem to be there. On Tue, Jan 3, 2023 at 9:35 AM Francesco Chicchiriccò wrote: > Forgot to add that the same happens with wicket-devutils. > > Regards. > > On 2023/01/03 07:33:36 Francesco Chi

Re: wicket-bean-validation 10.0.0-M1-SNAPSHOT not available?

2023-01-02 Thread Francesco Chicchiriccò
t seems however, that > > org.apache.wicket:wicket-bean-validation:10.0.0-M1-SNAPSHOT > > is not available from > > https://repository.apache.org/ > > while the module seems to be regularly present in the source tree at > > https://github.com/apache/wicket/tree/master/wicket-bean-validatio

wicket-bean-validation 10.0.0-M1-SNAPSHOT not available?

2023-01-02 Thread Francesco Chicchiriccò
Hi there, I am working to upgrade our Wicket apps to Spring Boot 3 and found that 10.0.0-M1-SNAPSHOT plays nicely with it. It seems however, that org.apache.wicket:wicket-bean-validation:10.0.0-M1-SNAPSHOT is not available from https://repository.apache.org/ while the module seems

Re: Validation message parameters and internationalization

2019-01-28 Thread Martin Grigorov
sto Reinaldo Barreiro < > reier...@gmail.com> > wrote: > > > Hi, > > > > On Mon, Jan 28, 2019 at 1:04 PM Maxim Solodovnik > > wrote: > > > > > Hello Zbynek, > > > > > > In our project we are customizing validation messages as follows

Re: Validation message parameters and internationalization

2019-01-28 Thread Maxim Solodovnik
Yes, ResourceModel seems to be much better to use in this case Not the best example :( On Mon, 28 Jan 2019 at 18:24, Ernesto Reinaldo Barreiro wrote: > Hi, > > On Mon, Jan 28, 2019 at 1:04 PM Maxim Solodovnik > wrote: > > > Hello Zbynek, > > > > In our proj

Re: Validation message parameters and internationalization

2019-01-28 Thread Ernesto Reinaldo Barreiro
Hi, On Mon, Jan 28, 2019 at 1:04 PM Maxim Solodovnik wrote: > Hello Zbynek, > > In our project we are customizing validation messages as follows: > > Markup: > > > > Java: > add(new > > RequiredTextField("wicketid").setLabel(Model.of(getString(&qu

Re: Validation message parameters and internationalization

2019-01-28 Thread Maxim Solodovnik
Hello Zbynek, In our project we are customizing validation messages as follows: Markup: Java: add(new RequiredTextField("wicketid").setLabel(Model.of(getString("label_key"; This way lots of built-in validation messages will be "auto-customized" not sure if

Re: Validation message parameters and internationalization

2019-01-28 Thread Martin Grigorov
at 11:44 AM Zbynek Vavros wrote: > So I am using localized version of validation message for required fields > > Required=My custom message for field '${label}' > > but the resulting message contains field ID as parameters and result is > i.e. > > "My custom message fo

Re: Validation message parameters and internationalization

2019-01-28 Thread Florian Lacreuse
 : So I am using localized version of validation message for required fields Required=My custom message for field '${label}' but the resulting message contains field ID as parameters and result is i.e. "My custom message for field 'password'" since the whole page is not in English I

Validation message parameters and internationalization

2019-01-28 Thread Zbynek Vavros
So I am using localized version of validation message for required fields Required=My custom message for field '${label}' but the resulting message contains field ID as parameters and result is i.e. "My custom message for field 'password'" since the whole page is not in English I

Re: customize the validation message for Form setMaxSize()

2018-10-16 Thread extraquoo
yes ,i find the key. thanks -- Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum-f1842947.html - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail:

Re: customize the validation message for Form setMaxSize()

2018-10-04 Thread Martin Grigorov
am using setMaxSize() to limit the file upload size. > Looks like the validation message is default to "Upload must be less than > " > Is there any way to customize this validation message ? > > -- > Sent from: > http://apache-wicket.1842946

customize the validation message for Form setMaxSize()

2018-10-03 Thread extraquoo
Hi , i am using setMaxSize() to limit the file upload size. Looks like the validation message is default to "Upload must be less than " Is there any way to customize this validation message ? -- Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum-f18

Re: AjaxRequestTarget not updating after validation

2017-11-02 Thread Sven Meier
Hi, your code didn't make it into the mailing list, but I've checked it on Nabble: I don't see anything wrong and your example should work as you expect it. Check your markup for misplaced open/close tags, maybe something is misinterpreted by Chrome when you update part of the page. Or

AjaxRequestTarget not updating after validation

2017-11-02 Thread SeldonCrisis
Hello everyone, I am experiencing some strange behavior in Wicket when attempting to submit a Form through ajax... I have a custom panel (*FileUploadPanel* which extends *Panel*) that I created. It is used to upload files, but it is more robust than a FileUploadField. I have also added a

Re: Validation messages from properties file not working.

2017-08-24 Thread Entropy
g("CaptchaRequired")); > > Regards > Sven > > > Am 23.08.2017 um 19:18 schrieb Entropy: > > > Yeah, it's definitely related to the component that the > > ComponentFeedbackPanel relates to. If I use a TextField, it finds the > > message per

Re: Validation messages from properties file not working.

2017-08-23 Thread Sven Meier
extField, it finds the message perfectly. I change it to a web markup container or hiddenfield, and it fails to find the message. Same name, same code doing the validation and the adding of the validation key. I tried a TextField with visibility set to false and that didn't even show the error (w

Re: Validation messages from properties file not working.

2017-08-23 Thread Entropy
Yeah, it's definitely related to the component that the ComponentFeedbackPanel relates to. If I use a TextField, it finds the message perfectly. I change it to a web markup container or hiddenfield, and it fails to find the message. Same name, same code doing the validation and the adding

Re: Validation messages from properties file not working.

2017-08-23 Thread Entropy
what we do with all of our > > messages. We fed a WebMarkupContainer (WMC) that is around the CFP in > as > > the Component for the CFP to relate to. We add the validation message > to > > that WMC, and the error DOES show. > > > > However, for some reason it's not finding the

Re: Validation messages from properties file not working.

2017-08-23 Thread Martin Grigorov
MC) that is around the CFP in as > the Component for the CFP to relate to. We add the validation message to > that WMC, and the error DOES show. > > However, for some reason it's not finding the validation key from the > property file. Every other error done the same way DOES, so i ha

Validation messages from properties file not working.

2017-08-22 Thread Entropy
in as the Component for the CFP to relate to. We add the validation message to that WMC, and the error DOES show. However, for some reason it's not finding the validation key from the property file. Every other error done the same way DOES, so i have to guess that it's because we are binding to the WMC

Re: AjaxButton not calling onError after required validation fail

2017-08-01 Thread Entropy
ames that a casual inspection by every pair of eyes that tried to help him missed the difference. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/AjaxButton-not-calling-onError-after-required-validation-fail-tp4678346p4678393.html Sent from the Users forum mailing

Re: AjaxButton not calling onError after required validation fail

2017-07-31 Thread Martin Grigorov
actually IS there, there's just nothing > in it. > > -- > View this message in context: http://apache-wicket.1842946. > n4.nabble.com/AjaxButton-not-calling-onError-after- > required-validation-fail-tp4678346p4678384.html > Sent from the Users forum mailing list archive at Nabble

Re: AjaxButton not calling onError after required validation fail

2017-07-31 Thread Entropy
-not-calling-onError-after-required-validation-fail-tp4678346p4678384.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail

Re: AjaxButton not calling onError after required validation fail

2017-07-31 Thread Martin Grigorov
> Yes, form.onError() seems to be called. But with no ajax target, how can I > add the right feedback panel components to the target? > > -- > View this message in context: http://apache-wicket.1842946. > n4.nabble.com/AjaxButton-not-calling-onError-after- > required-va

Re: AjaxButton not calling onError after required validation fail

2017-07-31 Thread Entropy
, form.onError() seems to be called. But with no ajax target, how can I add the right feedback panel components to the target? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/AjaxButton-not-calling-onError-after-required-validation-fail-tp4678346p4678362.html Sent from

Re: AjaxButton not calling onError after required validation fail

2017-07-28 Thread Martin Grigorov
gt; .setOutputMarkupId(true) > .setOutputMarkupPlaceholderTag(true) > ); > > -- > View this message in context: http://apache-wicket.1842946. > n4.nabble.com/AjaxButton-not-calling-onError-after- > required-validation-fail-tp46

AjaxButton not calling onError after required validation fail

2017-07-28 Thread Entropy
message target.add(radioWmc2Step1); }; } .setOutputMarkupId(true) .setOutputMarkupPlaceholderTag(true) ); -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/AjaxButton-not-calling-onE

Re: Form validation and model objects not getting updated on failure

2017-06-28 Thread Martin Grigorov
Hi, You can do this by adding OnChangeAjaxBehavior("change") to each and every form component. This way they will send their values to the server as soon as they are edited. If the value is valid then it will be stored in the model, if not - only this form component will render its invalid

Form validation and model objects not getting updated on failure

2017-06-27 Thread Lon Varscsak
Hey there, so I have a form with many textfields all of which have validators on them. In a situation where I’m creating a “new” record, all the fields are blank. I also have a DropDownChoice object with an AjaxFormSubmitBehavior (“change”) attached. If the user clicks “save” prematurely,

Re: Modal dialog, form validation in AjaxBootstrapTabbedPanel

2017-05-08 Thread Ernesto Reinaldo Barreiro
ul hints related to a ClassCastException and to > a > > missing call to tabbedPanel.setOutputMarkupId(true) . > > > > Thank you for quick response. > > > > Regards, > > Ulrich Knaack > > > > > > > -Ursprüngliche N

Re: Modal dialog, form validation in AjaxBootstrapTabbedPanel

2017-05-08 Thread Martin Grigorov
> -Ursprüngliche Nachricht- > > Von: Martin Grigorov [mailto:mgrigo...@apache.org] > > Gesendet: Mittwoch, 3. Mai 2017 15:04 > > An: users@wicket.apache.org > > Betreff: Re: Modal dialog, form validation in AjaxBootstrapTabbedPanel > > > > Hi, > > &g

Re: Modal dialog, form validation in AjaxBootstrapTabbedPanel

2017-05-08 Thread Knaack, Ulrich
> Von: Martin Grigorov [mailto:mgrigo...@apache.org] > Gesendet: Mittwoch, 3. Mai 2017 15:04 > An: users@wicket.apache.org > Betreff: Re: Modal dialog, form validation in AjaxBootstrapTabbedPanel > > Hi, > > I think I see the problem. > When using AjaxBootstrapTabbe

Re: Modal dialog, form validation in AjaxBootstrapTabbedPanel - solved

2017-05-08 Thread Knaack, Ulrich
> Von: Martin Grigorov [mailto:mgrigo...@apache.org] > Gesendet: Mittwoch, 3. Mai 2017 15:04 > An: users@wicket.apache.org > Betreff: Re: Modal dialog, form validation in AjaxBootstrapTabbedPanel > > Hi, > > I think I see the problem. > When using AjaxBootstrapTabbe

Re: Modal dialog, form validation in AjaxBootstrapTabbedPanel

2017-05-03 Thread Martin Grigorov
/bootstrap-core/src/main/java/de/agilecoders/wicket/core/markup/html/bootstrap/tabs/ClientSideBootstrapTabbedPanel.java instead. It will switch the tabs via JavaScript and make the validation once you use the submit button. If this doesn't help you then I'll try to take a look at your application after

Re: AjaxButton submits despite form validation failure?

2017-03-28 Thread Entropy
AbstractFormValidator and he is going that way. The only odd part is that it seems like we've done this before and not had this problem. But we haven't gone looking, so can't be sure. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/AjaxButton-submits-despite-form-validation

Re: AjaxButton submits despite form validation failure?

2017-03-28 Thread Martin Grigorov
common > pitfall that someone will recognize instantly. > > -- > View this message in context: http://apache-wicket.1842946. > n4.nabble.com/AjaxButton-submits-despite-form- > validation-failure-tp4677463.html > Sent from the Users forum mailing list archive at Nabble.com. > >

AjaxButton submits despite form validation failure?

2017-03-27 Thread Entropy
: http://apache-wicket.1842946.n4.nabble.com/AjaxButton-submits-despite-form-validation-failure-tp4677463.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org

Re: Form Validation / Field visibility

2016-11-03 Thread Marcel Barbosa Pinto
endentFormComponents() should only return > visible components. > > Have fun > Sven > > > Am 03.11.2016 um 21:40 schrieb Marcel Barbosa Pinto: > >> Hello, >> >> I have a form which has some fields with validation attached to them. >> When the user authenti

Re: Form Validation / Field visibility

2016-11-03 Thread Sven Meier
: Hello, I have a form which has some fields with validation attached to them. When the user authenticates I hide some form elements. When the form is submitted I receive a Warn log entry: o.a.wicket.markup.html.form.Form - IFormValidator in form `form` depends on a component that has been removed

Form Validation / Field visibility

2016-11-03 Thread Marcel Barbosa Pinto
Hello, I have a form which has some fields with validation attached to them. When the user authenticates I hide some form elements. When the form is submitted I receive a Warn log entry: o.a.wicket.markup.html.form.Form - IFormValidator in form `form` depends on a component that has been

Re: Approach to changing value in input field before validation

2016-07-26 Thread Lon Varscsak
Well, the user is entering a part number (SKU) and there are times where we’ve specified replacement SKUs. If I find only 1, then I want to replace and continue, but if I don’t, I want to continue the existing validation and maybe it finds a valid part or maybe it gives the user a message

Re: Approach to changing value in input field before validation

2016-07-26 Thread Martin Grigorov
Hi, I find it confusing that the user enters "A" and if the validation fails (s)he sees "B". Me, as a user, I'd ask myself: I've entered "A", why it tells me that "B" is incorrect?! Maybe a better way is to use better error feedback messages than repl

Re: Approach to changing value in input field before validation

2016-07-26 Thread Lon Varscsak
Okay, that works. Do you think my approach to use a converter is appropriate or should I do it in another place (like validation)? Thanks for your input, Lon On Mon, Jul 25, 2016 at 9:46 PM, Martin Makundi < martin.maku...@koodaripalvelut.com> wrote: > We have made an utility method

Re: Approach to changing value in input field before validation

2016-07-25 Thread Martin Makundi
you doing that?”, > but I have this need regardless and here’s what it is… :D > > User inputs “VALUEA”, I want to look up something in the database for > “VALUEA”, and if conditions are met, replace that with “VALUEB” and > continue with validation for the new value. However, the on

Approach to changing value in input field before validation

2016-07-25 Thread Lon Varscsak
Okay, so I have a need…I’m sure I’m going to get “why are you doing that?”, but I have this need regardless and here’s what it is… :D User inputs “VALUEA”, I want to look up something in the database for “VALUEA”, and if conditions are met, replace that with “VALUEB” and continue with validation

Re: Resource caching - validation of user entered version

2016-05-31 Thread Daniel Stoch
Thanks for fast answer :) -- Daniel On Tue, May 31, 2016 at 4:54 PM, Martin Grigorov <mgrigo...@apache.org> wrote: > Hi, > > The version is intended to be used by the browser for client side caching, > not by Wicket. That's why it is just stripped off by Wicket withou

Re: Resource caching - validation of user entered version

2016-05-31 Thread Martin Grigorov
Hi, The version is intended to be used by the browser for client side caching, not by Wicket. That's why it is just stripped off by Wicket without any validation. Actually if Wicket rejects it then you won't be able to update your resources in new application versions. Martin Grigorov Wicket

Resource caching - validation of user entered version

2016-05-31 Thread Daniel Stoch
Hi, By default Wicket (6.x) uses IResourceCachingStrategy which generates resource urls like this one: http://host/myapp/wicket/resource/com.mycompany.BootstrapBehavior/js/timepicker/bootstrap-timepicker-ver-1E0DAFB24FE33C93370DE13BF6FFE77F.js But as a user I can generate almost any version

Re: Wicket Validation

2016-05-19 Thread Lon Varscsak
2016 00:23, Lon Varscsak wrote: > > > > > >> Hey guys, > > >> > > >> I have some business logic where when the set method is called, it > first > > >> validates the value. In finding a “bad” value, it then throws a > custom >

Re: Wicket Validation

2016-05-19 Thread Ernesto Reinaldo Barreiro
> > > > > > On 19.05.2016 00:23, Lon Varscsak wrote: > > > >> Hey guys, > >> > >> I have some business logic where when the set method is called, it first > >> validates the value. In finding a “bad” value, it then throws a custom >

Re: Wicket Validation

2016-05-19 Thread Lon Varscsak
Hey Martin, well the exception is being thrown during the form submit processing, but it just ends up as a big error on the page. On Thu, May 19, 2016 at 12:00 AM, Martin Grigorov <mgrigo...@apache.org> wrote: > Hi, > > Wicket cares about validation errors only during form su

Re: Wicket Validation

2016-05-19 Thread Lon Varscsak
ates the value. In finding a “bad” value, it then throws a custom >> validation exception. We use this pattern all over the place. >> >> Is there some way to handle this situation so that it’s a val

Re: Wicket Validation

2016-05-19 Thread Sven Meier
, it then throws a custom validation exception. We use this pattern all over the place. Is there some way to handle this situation so that it’s a valid wicket validation error? Thanks for any tips. -Lon (Wicket Newb :D

Re: Wicket Validation

2016-05-19 Thread Martin Grigorov
Hi, Wicket cares about validation errors only during form submit processing. In your case you could throw ConversionException during the 'convertInput' phase. I.e. in the beginning of the form submit processing Wicket will try to convert the String input to the backend object (e.g. a String

Wicket Validation

2016-05-18 Thread Lon Varscsak
Hey guys, I have some business logic where when the set method is called, it first validates the value. In finding a “bad” value, it then throws a custom validation exception. We use this pattern all over the place. Is there some way to handle this situation so that it’s a valid wicket

Re: when a Form validation fails, components don't refresh correctly

2016-05-11 Thread Sven Meier
Hi, calling myTextField.clearInput() would be the recommended solution. Have fun Sven On 11.05.2016 17:31, marco di gasbarro wrote: Hey All, I'm dealing with a user interaction problem after a failed Form validation. In fact I have a Form with two components: a DropDownChoice and a TextField

when a Form validation fails, components don't refresh correctly

2016-05-11 Thread marco di gasbarro
Hey All, I'm dealing with a user interaction problem after a failed Form validation. In fact I have a Form with two components: a DropDownChoice and a TextField. The DropDownChoice has an AjaxFormComponentUpdatingBehavior attached, which modifies the TextField's model object and then adds

Antwort: Re: Form: Validation of JSR-303 Class Level Constraints

2015-11-30 Thread Eugen Berenstein
Hi Martin, Yes but the 42Lines library did contain ValidationForm which allowed validation of class level constraints. This component is missing in the merged library. If it has been removed for some reason, is there another way to do class level validation? Eugen Berenstein Hi

Form: Validation of JSR-303 Class Level Constraints

2015-11-27 Thread Eugen Berenstein
Hi, I need to apply cross field constraints to an object with JSR-303. As I understand class level constraints are the correct tool for this. Is there a way in Wicket 7 or 8 to apply these on a Form's model object? I have tried the 42lines:wicket-bean-validation library but the release 1.1

Re: Form: Validation of JSR-303 Class Level Constraints

2015-11-27 Thread Martin Grigorov
Hi, 42Lines Bean Validation has been merged to Wicket since 6.x The code is at https://github.com/apache/wicket/tree/master/wicket-bean- validation Examples: http://examples7x.wicket.apache.org/bean-validation/ Documentation: https://ci.apache.org/projects/wicket/guide/7.x/guide/forms2

Re: form AjaxFormComponentUpdatingBehavior validation

2015-02-18 Thread Sven Meier
) When the entire form is submitted (via an AjaxButton) the ajaxFormComponentUpdatingBehavior.onEvent() is called then the formComponent.validate() is called and then when the form.validate() is called formComponent.validate() is called again. Could it possible to avoid this double validation ? Do I

form AjaxFormComponentUpdatingBehavior validation

2015-02-18 Thread Francois Meillet
() is called formComponent.validate() is called again. Could it possible to avoid this double validation ? Do I have to override AjaxFormComponentUpdatingBehavior.onEvent() ? ... or there is a simple way to do this ? 2) is it possible to remove a formComponent's validator just after the button.submit

Re: form AjaxFormComponentUpdatingBehavior validation

2015-02-18 Thread Francois Meillet
and then when the form.validate() is called formComponent.validate() is called again. Could it possible to avoid this double validation ? Do I have to override AjaxFormComponentUpdatingBehavior.onEvent() ? ... or there is a simple way to do this ? 2) is it possible to remove

Re: form AjaxFormComponentUpdatingBehavior validation

2015-02-18 Thread Sven Meier
an AjaxButton) the ajaxFormComponentUpdatingBehavior.onEvent() is called then the formComponent.validate() is called and then when the form.validate() is called formComponent.validate() is called again. Could it possible to avoid this double validation ? Do I have to override

Re: form AjaxFormComponentUpdatingBehavior validation

2015-02-18 Thread Francois Meillet
) the ajaxFormComponentUpdatingBehavior.onEvent() is called then the formComponent.validate() is called and then when the form.validate() is called formComponent.validate() is called again. Could it possible to avoid this double validation ? Do I have to override

Re: Wierd Validation

2015-01-24 Thread Tobias Soloschenko
it all right away. So they can enter the record in a sort of scratch way, leaving fields blank initially. But, if they enter something, we will apply full validation. However, we want to tell the user that the field is required...but save it anyway. So imagine the user fills out 50

Wierd Validation

2015-01-23 Thread Entropy
, leaving fields blank initially. But, if they enter something, we will apply full validation. However, we want to tell the user that the field is required...but save it anyway. So imagine the user fills out 50% of the fields, sees errors on blur for format failures, then hits save. The form

Re: validation in form component panels in RefreshingView

2015-01-22 Thread lucast
Thank you, Martin, I have used ReuseIfModelsEqualStrategy and the validation message side of it work but now I have a different problem. When I navigate away from the form panel, update the list of objects and navigate back to the FormComponentPanel that holds the RefreshingView, only one item

Re: validation in form component panels in RefreshingView

2015-01-22 Thread Martin Grigorov
Hi, On Thu, Jan 22, 2015 at 3:16 PM, lucast lucastol...@hotmail.com wrote: Thank you, Martin, I have used ReuseIfModelsEqualStrategy and the validation message side of it work but now I have a different problem. When I navigate away from the form panel, update the list of objects

Re: validation in form component panels in RefreshingView

2015-01-22 Thread lucast
the sense of perspective, but I cannot see what I am doing wrong. Kind regards, Lucas -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/validation-in-form-component-panels-in-RefreshingView-tp4669068p4669088.html Sent from the Users forum mailing list archive

Re: validation in form component panels in RefreshingView

2015-01-22 Thread lucast
and I find it most puzzling. Any tips, or hints in the right direction will be much appreciated. Thanks, once more, Lucas -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/validation-in-form-component-panels-in-RefreshingView-tp4669068p4669090.html Sent from the Users

validation in form component panels in RefreshingView

2015-01-21 Thread lucast
field FieldDecorators. If I use RepeatingView, error messages are displayed as intended. But my list is dynamic. How can I get the proper validation message displayed inside the form component panel, used in a RefreshingView? Thanks in advance, Lucas -- View this message in context: http

Re: validation in form component panels in RefreshingView

2015-01-21 Thread Martin Grigorov
on the text field FieldDecorators. If I use RepeatingView, error messages are displayed as intended. But my list is dynamic. How can I get the proper validation message displayed inside the form component panel, used in a RefreshingView? Thanks in advance, Lucas -- View this message

String length validation and windows line breaks

2014-07-12 Thread Thomas Heigl
Hey all, Recenty, probably after moving to Wicket 6.16, we see some strange behavior for TextAreas. We have been using a JavaScript library to limit the number of characters a user can enter in a textbox for years. Now we started getting validation exceptions on the server that the user entered

Re: String length validation and windows line breaks

2014-07-12 Thread Martin Grigorov
wrote: Hey all, Recenty, probably after moving to Wicket 6.16, we see some strange behavior for TextAreas. We have been using a JavaScript library to limit the number of characters a user can enter in a textbox for years. Now we started getting validation exceptions on the server that the user

Re: How can I display modal dialog only if validation is sucessful?

2014-05-23 Thread Bruce Lombardi
. So I can't stop the pop-up from showing if the questions were not answered correctly. Does anyone know a way I can display the modal dialog only after validation has run? Thanks, Bruce - To unsubscribe, e

Re: How can I display modal dialog only if validation is sucessful?

2014-05-22 Thread Francois Meillet
seems to run as soon as the button is clicked - before onSubmit or onValidate runs on the server. So I can't stop the pop-up from showing if the questions were not answered correctly. Does anyone know a way I can display the modal dialog only after validation has run? Thanks

How can I display modal dialog only if validation is sucessful?

2014-05-21 Thread Bruce Lombardi
dialog only after validation has run? Thanks, Bruce

Re: AjaxTabbedPanel and validation for all tabs

2014-05-17 Thread mscoon
of class Form of the AjaxTabbedPanel but one could as well submit a form containing the AjaxTabbedPanel) - My own validation utility that validates objects using wicket's validation framework. This is more or less an object that allows the developer to attach validators to class properties

Re: AjaxTabbedPanel and validation for all tabs

2014-05-16 Thread Paul Bors
My recommendation would be to use bean validation and Ajax to update the UI. On Tuesday, May 6, 2014, mscoon msc...@gmail.com wrote: Hi all, I have a complex form for editing existing objects. I am planning to use AjaxTabbedPanel with adapted ajax links for the tabs to submit the current

Re: AjaxTabbedPanel and validation for all tabs

2014-05-15 Thread Tom Götz
The easiest solution I can think of. Why do you want to avoid that? Cheers, -Tom On 06.05.2014, at 16:13, mscoon msc...@gmail.com wrote: Is there a way to solve this? Client side tabs are a solution I guess but one I'd like to avoid if possible.

AjaxTabbedPanel and validation for all tabs

2014-05-06 Thread mscoon
wicket validators to execute because the request will only contain post data for the active tab. Is there a way to solve this? Client side tabs are a solution I guess but one I'd like to avoid if possible. I did consider moving my validation logic to a server side validation method. The problem here

Re: Validation not working in Model Window on Dynamic rows addition

2014-03-19 Thread Martin Grigorov
. New row is added between 161 - 192 lines of code which is called at line 118 in the uploaded file. Thanks Venky -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Validation-not-working-in-Model-Window-on-Dynamic-rows-addition-tp4665011p4665013.html Sent from

Re: Validation not working in Model Window on Dynamic rows addition

2014-03-19 Thread wicket_new_user
Yes, it is just experiment. Also, when the Addrow is clicked, the validation is not getting fired and the form is getting null, as i'm clueless why it is not working only in ModelWindow and how it is working in regular page. Thanks Venky -- View this message in context: http://apache-wicket

Validation not working in Model Window on Dynamic rows addition

2014-03-18 Thread wicket_new_user
Best regards Venky -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Validation-not-working-in-Model-Window-on-Dynamic-rows-addition-tp4665011.html Sent from the Users forum mailing list archive at Nabble.com

Re: Validation not working in Model Window on Dynamic rows addition

2014-03-18 Thread wicket_new_user
is added between 161 - 192 lines of code which is called at line 118 in the uploaded file. Thanks Venky -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Validation-not-working-in-Model-Window-on-Dynamic-rows-addition-tp4665011p4665013.html Sent from the Users forum

Re: wicketstuff-lazymodel and wicket-bean-validation

2013-08-16 Thread Gabriel Landon
org.wicketstuff.lazymodel.LazyColumnTest Regards, Gabriel. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/wicketstuff-lazymodel-and-wicket-bean-validation-tp4660857p4660935.html Sent from the Users forum mailing list archive at Nabble.com

Re: wicketstuff-lazymodel and wicket-bean-validation

2013-08-16 Thread Sven Meier
, Gabriel. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/wicketstuff-lazymodel-and-wicket-bean-validation-tp4660857p4660935.html Sent from the Users forum mailing list archive at Nabble.com

RE: Forcing Form Validation from another Form's onValidate()

2013-08-15 Thread eugenebalt
Looking further at my code, I see that the custom validators from the inner form DO get called; but the one that doesn't get called is .setRequired(true). There is one component in the inner form which is setRequired(true). And that validation is bypassed for some reason, although all the other

RE: Forcing Form Validation from another Form's onValidate()

2013-08-15 Thread eugenebalt
.nabble.com/Forcing-Form-Validation-from-another-Form-s-onValidate-tp4660895p4660918.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional

Forcing Form Validation from another Form's onValidate()

2013-08-14 Thread eugenebalt
I have a Panel (P1) which contains its own form (P1_F1). The P1 panel also contains another panel inside itself, P1_A, which has its own inner form (let's call it P1_A_F1). Whenever the P_F1's validation is called, I also have to call the P1_A_F1 form validation. It doesn't get called

RE: Forcing Form Validation from another Form's onValidate()

2013-08-14 Thread Paul Bors
@wicket.apache.org Subject: Forcing Form Validation from another Form's onValidate() I have a Panel (P1) which contains its own form (P1_F1). The P1 panel also contains another panel inside itself, P1_A, which has its own inner form (let's call it P1_A_F1). Whenever the P_F1's validation is called, I

RE: Forcing Form Validation from another Form's onValidate()

2013-08-14 Thread eugenebalt
In the final HTML, my form is flattened out, there is only Form. In my Wicket markup, the structure is: PANEL - FORM - SecondPanel - SecondForm The main PANEL's FORM is being submitted, and validated. But the SecondForm validation never gets called. -- View this message in context: http

RE: Forcing Form Validation from another Form's onValidate()

2013-08-14 Thread Paul Bors
://wicket.apache.org/learn/books/freeguide.html In my Wicket markup, the structure is: PANEL - FORM - SecondPanel - SecondForm The main PANEL's FORM is being submitted, and validated. But the SecondForm validation never gets called. So you want to validate the inner nested form when submitting the outer parent

Re: wicketstuff-lazymodel and wicket-bean-validation

2013-08-14 Thread Sven Meier
(), fieldName); } return null; } } -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/wicketstuff-lazymodel-and-wicket-bean-validation-tp4660857p4660872.html Sent from the Users forum mailing list archive at Nabble.com

Re: wicketstuff-lazymodel and wicket-bean-validation

2013-08-13 Thread Sven Meier
: Hi, I've been using wicketstuff-lazymodel for weeks now and I love it! Now I'm trying to use it with wicket-bean-validation, but I've got the following error : /Could not resolve Property from component: [TextField [Component id = code]]. Either specify the Property in the constructor or use

Re: wicketstuff-lazymodel and wicket-bean-validation

2013-08-13 Thread Gabriel Landon
to use them... Any help on this would be nice also :-). Gabriel. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/wicketstuff-lazymodel-and-wicket-bean-validation-tp4660857p4660871.html Sent from the Users forum mailing list archive at Nabble.com

Re: wicketstuff-lazymodel and wicket-bean-validation

2013-08-13 Thread Gabriel Landon
new Property(((IObjectClassAwareModel?) lazyModel.getTarget()).getObjectClass(), fieldName); } return null; } } -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/wicketstuff-lazymodel-and-wicket-bean-validation-tp4660857p4660872

  1   2   3   4   5   6   7   8   9   10   >