You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by "GT Project IRIS - CANARIA, Clemen R." <zc...@smtp.globetel.com.ph> on 2004/09/20 13:13:28 UTC

form rewind error

Hi all,

 

 

I got this error:

 

You have clicked on a stale link. 

Rewind of form editpricing/$Form$0 expected allocated id #1 to be
'$TextField', but was '$Submit' (requested by component
editpricing/$Submit). 

This is most likely the result of using your browser's back button, but
can also be an application error. 

You may continue by returning to the application's home page
<http://localhost:7001/inpowered/app?service=home> .

 

 

 

How can I fix this?

 

Thanks in advance.

**************************************************************************************
This e-mail message (including attachments, if any) is intended for the use of the individual or the entity to whom it is addressed and may contain information that is privileged, proprietary, confidential and exempt from disclosure.  If you are not the intended recipient, you are notified that any dissemination, distribution or copying of this communication is strictly prohibited.  If you have received this communication in error, please notify the sender and delete this E-mail message immediately.
**************************************************************************************

Re: form rewind error

Posted by Norbert Sándor <pr...@hotmail.com>.
Maybe your session expires.
Try to set a 

 <session-config>
  <session-timeout>15</session-timeout>
 </session-config>

in your web.xml.

Norbi

----- Original Message ----- 
From: "john mcteague" <jo...@gmail.com>
To: "Tapestry users" <ta...@jakarta.apache.org>
Sent: Monday, September 20, 2004 2:34 PM
Subject: Re: form rewind error


> Im also seeing a Stale Link error that I cant resolve. It only appears
> if I leave the page idle for a few minutes and then click on a submit
> link or button. If I navigate about the app normally, I receive no
> such error.
> 
> The stale link error reports that every link inside my navigation
> links component (which is inside my border component) is no longer
> present. There is no conditional logic surrounding  the links within
> the component, or even surrounding the navigation links component
> itself.
> 
> What would be causing this?
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org


Re: form rewind error

Posted by Bryan Lewis <br...@maine.rr.com>.
I've seen similar behavior (almost a year ago, so excuse my partial memory).
It wasn't related to session timeout, but to garbage collection of a
mis-defined parameter.

I had this line in my border component's template:

    <span jwcid="@Shell" title="ognl:'MyAppName ' + title" ...>

If I let the app sit for a while and then clicked on a menu link, I got:

    Unable to resolve expression ''MyAppName ' + title'

Most of the problem was my bug.  I'd defined 'title' redundantly as a
component parameter as well as an instance variable in my page class.
Perhaps that defeated Tapestry's mechanisms for remembering the parameter.

You might look at each parameter and property in your border component.
Moving the expression from the html to the page spec or java helped me.


----- Original Message ----- 
From: "john mcteague" <jo...@gmail.com>
To: "Tapestry users" <ta...@jakarta.apache.org>
Sent: Monday, September 20, 2004 8:34 AM
Subject: Re: form rewind error


> Im also seeing a Stale Link error that I cant resolve. It only appears
> if I leave the page idle for a few minutes and then click on a submit
> link or button. If I navigate about the app normally, I receive no
> such error.
>
> The stale link error reports that every link inside my navigation
> links component (which is inside my border component) is no longer
> present. There is no conditional logic surrounding  the links within
> the component, or even surrounding the navigation links component
> itself.
>
> What would be causing this?
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org


Re: form rewind error

Posted by john mcteague <jo...@gmail.com>.
Im also seeing a Stale Link error that I cant resolve. It only appears
if I leave the page idle for a few minutes and then click on a submit
link or button. If I navigate about the app normally, I receive no
such error.

The stale link error reports that every link inside my navigation
links component (which is inside my border component) is no longer
present. There is no conditional logic surrounding  the links within
the component, or even surrounding the navigation links component
itself.

What would be causing this?

---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org


Re: form rewind error

Posted by Cyril Godefroy <cy...@ecomposite.fr>.
You probably have a conditional or something of that kind in your form, 
or a non-persistent property, which makes that when you send back the 
form to the server, the server creates a page in memory which is not 
the one you've seen.

Think about your request/response loop, maybe using FormConditional 
from Contrib might help you.

Buy Tapestry in action, read page 129 and keep it on the right hand 
side (the left if you're left-handed).;-)

On Sep 20, 2004, at 1:13 PM, GT Project IRIS - CANARIA, Clemen R. wrote:

> Hi all,
>
>
> I got this error:
>
> You have clicked on a stale link.
>
> Rewind of form editpricing/$Form$0 expected allocated id #1 to be
> '$TextField', but was '$Submit' (requested by component
> editpricing/$Submit).
>
> This is most likely the result of using your browser's back button, but
> can also be an application error.
>
> You may continue by returning to the application's home page
> <http://localhost:7001/inpowered/app?service=home> .
>
> How can I fix this?
>
> Thanks in advance.