Re: DropDownChoice with RequiredTextField

2013-08-28 Thread Vignesh Palanisamy
ad a CompoundPropertyModel form. > > In that form i had added RequiredTextField and a DropDownChoice. > > While changing the dropdownchoice, RequiredtestField have to change. > > > > for that, I had mark SetOutputMarkUpId true to the RequiredTestField and > > add aja

Re: DropDownChoice with RequiredTextField

2013-08-27 Thread James Selvakumar
Try calling form.modelChanged() before you add the component to the ajax target. On Mon, Aug 12, 2013 at 9:37 AM, Vignesh Palanisamy wrote: > Hi, > > i had a CompoundPropertyModel form. > In that form i had added RequiredTextField and a DropDownChoice. > While changing the

DropDownChoice with RequiredTextField

2013-08-11 Thread Vignesh Palanisamy
Hi, i had a CompoundPropertyModel form. In that form i had added RequiredTextField and a DropDownChoice. While changing the dropdownchoice, RequiredtestField have to change. for that, I had mark SetOutputMarkUpId true to the RequiredTestField and add ajaxFormUpdatingBehaviour to the

RE: AJAX Button does not submit form if RequiredTextField is empty

2010-06-18 Thread vov
..that make convertInput() method public -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/AJAX-Button-does-not-submit-form-if-RequiredTextField-is-empty-tp2259981p2260054.html Sent from the Wicket - User mailing list archive at Nabble.com.

RE: AJAX Button does not submit form if RequiredTextField is empty

2010-06-18 Thread Stefan Lindner
http://wicket.apache.org/docs/1.4/org/apache/wicket/markup/html/form/Form.html -Ursprüngliche Nachricht- Von: vov [mailto:vov...@mail.ru] Gesendet: Freitag, 18. Juni 2010 12:11 An: users@wicket.apache.org Betreff: AJAX Button does not submit form if RequiredTextField is empty Form

AJAX Button does not submit form if RequiredTextField is empty

2010-06-18 Thread vov
Form form = new Form("form"); form.add(new RequiredTextField("filed")); final TextField textField; form.add(textField = new TextField("filed2", new Model())); form.add(new AjaxButton("button") { @Override protecte

Re: RequiredTextField

2009-12-30 Thread Josh Glassman
or >> using the constructor that takes the class type arg >> >> -igor >> >> On Wed, Dec 30, 2009 at 12:52 PM, Josh Glassman wrote: >>> Hi all, >>> >>> I am having a problem with Ajax updates from a >>> RequiredTextField.  I get a

Re: RequiredTextField

2009-12-30 Thread Igor Vaynberg
lassman wrote: >> Hi all, >> >> I am having a problem with Ajax updates from a >> RequiredTextField.  I get a ClassCastException when the model >> object is updated, because the convertedInput value is a String.  I am >> using a custom model, and I suspect I am miss

Re: RequiredTextField

2009-12-30 Thread Igor Vaynberg
with Ajax updates from a > RequiredTextField.  I get a ClassCastException when the model > object is updated, because the convertedInput value is a String.  I am > using a custom model, and I suspect I am missing something here > because it works if a PropertyModel is used.  Unfort

Wicket cannot setValue for the RequiredTextField

2009-01-20 Thread Mo Wu
Dear experts, I am writing auto-test code for wicket application I developed. In one webpage, there is one "form", and the "form" contains several RequiredTextField (e.g. "id" and "alias"). In my test, I try to set the value for the Requ

Re: how to customize error message of requiredtextfield inside listview

2008-10-09 Thread freak182
>> >> Hello, >> >> My problem is how to customize error message of requiredtextfield inside >> listview? here is the scenario: i have a requiredtextfield in the >> listview, >> of course the listview is inside the form. actually it is dynamic >> quest

Re: how to customize error message of requiredtextfield inside listview

2008-10-09 Thread Igor Vaynberg
Required=${label} is required textfield.setlabel(new model("question "+item.getindex())); -igor On Thu, Oct 9, 2008 at 2:16 AM, freak182 <[EMAIL PROTECTED]> wrote: > > Hello, > > My problem is how to customize error message of requiredtextfield inside > listview?

how to customize error message of requiredtextfield inside listview

2008-10-09 Thread freak182
Hello, My problem is how to customize error message of requiredtextfield inside listview? here is the scenario: i have a requiredtextfield in the listview, of course the listview is inside the form. actually it is dynamic question & answer that came from DB. now if the user did not answer

Re: ListView + SubmitLink + RequiredTextField

2008-04-25 Thread Maurice Marrink
View this message in context: > http://www.nabble.com/ListView-%2B-SubmitLink-%2B--RequiredTextField-tp16895761p16895761.html > Sent from the Wicket - User mailing list archive at Nabble.com. > > > - > To unsubscribe

Re: ListView + SubmitLink + RequiredTextField

2008-04-25 Thread Martijn Dashorst
ext: > http://www.nabble.com/ListView-%2B-SubmitLink-%2B--RequiredTextField-tp16895761p16895761.html > Sent from the Wicket - User mailing list archive at Nabble.com. > > > - > To unsubscribe, e-mail: [EMAIL PRO

ListView + SubmitLink + RequiredTextField

2008-04-25 Thread nanotech
? Thanks, RG -- View this message in context: http://www.nabble.com/ListView-%2B-SubmitLink-%2B--RequiredTextField-tp16895761p16895761.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail

Ajax problem with RequiredTextField in IE6/7

2008-03-16 Thread Marcus Mattila
Martijn, you're right. Probably not so thankful to fix bugs if people then uses old versions and complain :). Ok, I tried in 1.3.2 and get the same problem with IE. Problem seems to be Ajax. Before changing language in my app, everything works fine and inputting data to a field generates the follow

Re: RequiredTextField

2007-10-26 Thread Lars Hoss
Ok, I will apply a filter to my eyes. But yeah, maybe you should add a note or depcrate this class in the JavaDocs. Yours, Lars > RequiredTextField is a relic of an older time. It should be deprecated > for future Wicket versions. > > Making a field required is now as simpl

Re: RequiredTextField

2007-10-26 Thread Martijn Dashorst
RequiredTextField is a relic of an older time. It should be deprecated for future Wicket versions. Making a field required is now as simple as calling setRequired(true). There will never again be a RequiredFooComponent Martijn On 10/26/07, Lars Hoss <[EMAIL PROTECTED]> wrote: > Hi al

Re: RequiredTextField

2007-10-26 Thread Lars Hoss
> My personal opinion is that RequiredTextField component can be removed > from > the core.. it's implementation is trivial. Well, that was my point actually :-) Yours, Lars - To unsubscribe, e-mail: [EMAIL

Re: RequiredTextField

2007-10-26 Thread Alex Objelean
I think you can create these components yourself, by extending TextArea, PasswordTextField etc... My personal opinion is that RequiredTextField component can be removed from the core.. it's implementation is trivial. Alex Lars Hoss wrote: > > Hi all! > > If there is

RequiredTextField

2007-10-26 Thread Lars Hoss
Hi all! If there is RequiredTextField shouldn't be there a RequiredPasswordTextField, RequiredTextArea and so on as well? But then again there's FrontComponent.setRequired(boolean). Wouldn't it be more consistent to have one way of marking a field as required? Just wondering :