Hello,
I have a modal window that is used to create a contact and needs to submit
data to the server once submit button is called.
The submit button is defined as follows:
SUBMIT
contact_form.add(new Button("contact_submitbutton").add(new
AjaxFormSubmitBehavior(contact_form, "onclick") {
Do you have an feedback panel on the model? If don't, add one and see if
your form don't pass in some validation like on required field.
On Tue, Jan 26, 2010 at 4:07 PM, Anna Simbirtsev wrote:
> Hello,
>
> I have a modal window that is used to create a contact and needs to submit
> data to the s
I have, but maybe its incorrect.
contact_form.add(new FeedbackPanel("popup_feedback", new
ContainerFeedbackMessageFilter(contact_form) ));
On Tue, Jan 26, 2010 at 1:32 PM, Pedro Santos wrote:
> Do you have an feedback panel on the model? If don't, add one and see if
> your form don't pass in
Take a look at the AjaxButton if you need an asynchronous submit, and
implement your onError handlers with:
target.addComponent( myFeedbackPanelThatMabyWillShowSomeMessageIfGetUpdated
);
On Tue, Jan 26, 2010 at 4:34 PM, Anna Simbirtsev wrote:
> I have, but maybe its incorrect.
>
>
>
> contact_f
Thanks, now in my feedback it displays errors that all required fields are
empty. But the problem is, that even if I put the values in those fields it
still does not see them and gives the same errors in the feedback panel.
On Tue, Jan 26, 2010 at 1:41 PM, Pedro Santos wrote:
> Take a look at th
Even using AjaxButton? Can you send the code?
On Tue, Jan 26, 2010 at 4:55 PM, Anna Simbirtsev wrote:
> Thanks, now in my feedback it displays errors that all required fields are
> empty. But the problem is, that even if I put the values in those fields it
> still does not see them and gives the
I changed it to use AjaxButton instead of AjaxFormSubmitBehavior and it
still does not see the values.
SUBMIT
FeedbackPanel contact_feedback = new FeedbackPanel("popup_feedback", new
ContainerFeedbackMessageFilter(contact_form));
contact_feedback.setOutputMarkupId(true);
contact_form.add(new Re
I have to add that its all done inside a modal window.
Create Contact
On Tue, Jan 26, 2010 at 2:26 PM, Anna Simbirtsev wrote:
> I changed it to use AjaxButton instead of AjaxFormSubmitBehavior and it
> still does not see the values.
>
> wicket:id="contact_submitbutton" class="button"/>SUBMIT
How can you make sure that contact_data references to the same data on your
contact_form model? I guess that is why you having troubles. For instance,
you are creating the text field using
new RequiredTextField("contact_id")
it leads me guess you are using a CompoundPropertyModel on
your contac
I tried changing it to:
System.out.println("Inside contact link's onError is called:" +
contact_form.getModelObject().getContactId());
It prints null.:(
On Wed, Jan 27, 2010 at 5:28 AM, Pedro Santos wrote:
> How can you make sure that contact_data references to the same data on your
> contact_f
Hi Everyone
I'm trying to upload a file using AjaxFormSubmitBehavior .
When i submit the form , the defined onSubmit() method is not being called. Can
anyone tell me why this is happening ?
Code given below:
Java code is :
Form f = new Form("f");
f.setOutp
file uploads using ajax are not supported
-igor
On Jan 10, 2008 4:59 PM, Haritha Juturu <[EMAIL PROTECTED]> wrote:
> Hi Everyone
> I'm trying to upload a file using AjaxFormSubmitBehavior .
> When i submit the form , the defined onSubmit() method is not being called.
>
e
> I'm trying to upload a file using AjaxFormSubmitBehavior .
> When i submit the form , the defined onSubmit() method is not being
> called. Can anyone tell me why this is happening ?
> Code given below:
> Java code is :
> Form f = new Form("f");
>
13 matches
Mail list logo