Re: Zone error after I have updated to Tapestry 5.2.6

2011-09-08 Thread Taha Hafeez
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 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 p

Re: Zone error after I have updated to Tapestry 5.2.6

2011-09-08 Thread Jonathan Barker
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

Re: Zone error after I have updated to Tapestry 5.2.6

2011-09-08 Thread Javicha
no, that's not the error. All is well defined. I have declared the zone: And the actionlinks refer to this zone: href="#" t:type="ActionLink" t:id="previousPatientLink" t:zone="searchPatientResultZone" href="#" t:type="ActionLink" t:id="nextPatientLin

Re: Zone error after I have updated to Tapestry 5.2.6

2011-09-08 Thread Lenny Primak
I don't see a zone parameter in your code. I started tapestry with 5.2, so I don't know upgrade issues, but I do know that the element which has zone.getBody() returning from it has to have a zone= parameter in its tml. On Sep 8, 2011, at 12:27 PM, Javicha wrote: > no, that's not the error. All i

Re: Zone error after I have updated to Tapestry 5.2.6

2011-09-08 Thread Javicha
no, that's not the error. All is well defined. I have declared the zone: And the actionlinks refer to this zone: # ${message:link-previous}

Re: Zone error after I have updated to Tapestry 5.2.6

2011-09-08 Thread Lenny Primak
my guess you are missing zone= parameter in one of your tml files. On Sep 8, 2011, at 11:20 AM, Javicha wrote: > Hi! > > I was working with Tapestry 5.1.0.5 and everithing worked fine. I updated to > Tapestry 5.2.6 because new project needs, and now I have problems with > actionlinks. > > The c

Zone error after I have updated to Tapestry 5.2.6

2011-09-08 Thread Javicha
Hi! I was working with Tapestry 5.1.0.5 and everithing worked fine. I updated to Tapestry 5.2.6 because new project needs, and now I have problems with actionlinks. The case is the following: I use paging for searches. In the search result page, I have two actionlinks (previous and next links) th