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
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
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
..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.
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
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
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
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
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
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
>>
>> 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
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?
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
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
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
?
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
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
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
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
> 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
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
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 :
22 matches
Mail list logo