This might help

http://tawus.wordpress.com/2011/04/16/tapestry-magic-2-ajax-with-graceful-degradation/



On Fri, Sep 9, 2011 at 11:28 AM, Jonathan Barker
<jonathan.theit...@gmail.com> wrote:
> The error looks a lot like what you get when you are expecting an Ajax
> request (and so return a Block), but instead get a regular page request
> where you would want to return null or a Page. As a general practice, try to
> allow for graceful degradation in the absence of javascript by doing the
> check " if (request.isXHR()) " before returning a block or zone body. I've
> been surprised a couple of times.
>
> I hope that helps.
>
> Regards,
> Jonathan
>
>
> On Thu, Sep 8, 2011 at 12:31 PM, Javicha <javilan...@gmail.com> wrote:
>
>> no, that's not the error. All is well defined.
>>
>> I have declared the zone:
>>
>> <t:zone t:id="searchPatientResultZone">
>>
>> And the actionlinks refer to this zone:
>>
>>
>> href="#" t:type="ActionLink" t:id="previousPatientLink"
>> t:zone="searchPatientResultZone"
>>
>> href="#" t:type="ActionLink" t:id="nextPatientLink"
>> t:zone="searchPatientResultZone"
>>
>>
>>
>> As I said before, this worked before the upgrade.
>> I have not changed any .java and .tml files.
>>
>> --
>> View this message in context:
>> http://tapestry.1045711.n5.nabble.com/Zone-error-after-I-have-updated-to-Tapestry-5-2-6-tp4782821p4783107.html
>> Sent from the Tapestry - User mailing list archive at Nabble.com.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
>> For additional commands, e-mail: users-h...@tapestry.apache.org
>>
>>
>
>
> --
> Jonathan Barker
> ITStrategic
>



-- 
Regards

Taha Hafeez Siddiqi (tawus)
http://tawus.wordpress.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to