hi guys, this is quite strange, but i noticed that actionlinks "sometimes" return unexpected results. i have a page containing lot of actionlinks changing/updating certain elements via ajax request/response. from java side it's nothing more than just returning a block or MultiZoneUpdate as a result of action. sounds simple. surprisingly it's enough to wait a few minutes, click the same (working correctly so far) action link to get an error saying that Tapestry was not expecting a Block in result but a String rather.
to be sure, I changed the way how I return a block, detecting first if i'm really answering to ajax request: return request.isXHR() ? myBlock : null; and guess what. i started receiving whole the page (instead of blocks) in ajax responses! that obviously resulted in blackbird message "reply is null". again, problem is not simply reproducible but i noticed it's enough to wait a few minutes to observe this strange behavior. it's also enough to click the link again to get a correct response. for sure it has nothing to do with my session expiration (set to 30 minutes) and I have no other "timeouting" mechanisms. could you please give me a hint what may be wrong here? thanks, m. -- View this message in context: http://www.nabble.com/actionliks-and-XHR-response-problem-tp25148353p25148353.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