his out.
>
>> -Original Message-
>> From: Filip S. Adamsen [mailto:[EMAIL PROTECTED]
>> Sent: 22 May 2008 10:52
>> To: Tapestry users
>> Subject: Re: Updating a zone as a result of a form submission
>>
>> Hi Andy,
>>
>> Form has a zone
ound to the select box.
return lor;
}
Object onAction(String st) {
results.resort(st);
return lor;
}
The form submit does the resort, but refreshes the entire page. I
just can't figure this out.
-----Original Message-----
From: Filip S.
Message-
> From: Filip S. Adamsen [mailto:[EMAIL PROTECTED]
> Sent: 22 May 2008 12:30
> To: Tapestry users
> Subject: Re: Updating a zone as a result of a form submission
>
> How is your zone defined?
>
> Also, check if the form is really submitted using an XMLHttpRequest.
figure this out.
-Original Message-
From: Filip S. Adamsen [mailto:[EMAIL PROTECTED]
Sent: 22 May 2008 10:52
To: Tapestry users
Subject: Re: Updating a zone as a result of a form submission
Hi Andy,
Form has a zone parameter, if you bind it the zone will be updated when
the form has been submitted.
s the resort, but refreshes the entire page. I just can't
figure this out.
> -Original Message-
> From: Filip S. Adamsen [mailto:[EMAIL PROTECTED]
> Sent: 22 May 2008 10:52
> To: Tapestry users
> Subject: Re: Updating a zone as a result of a form submission
>
&g
Hi Andy,
Form has a zone parameter, if you bind it the zone will be updated when
the form has been submitted.
Just make sure to check Request#isXHR to see if it's actually an
Ajaz-request before you return a block/component or Tapestry will bark.
The solution, then, is to just do a normal re
Is it possible to update a zone as a result of a form submission, rather than
having the entire page refresh?
I have a form with a select box and submit button to change the sorting of a
list of search results, and when I return a zone from the event handler method
onSubmit() the entire page is