Hello everybody! I am playing with tapestry 4.1.2 and the @EventListener annotation. I am using tomcat 5.5 and jdk 5.
I have a form, after submit this form using ajax I build a list in the server side, then I want to show this list in a For component to show all the found information. But I can't do this simple think, I am always getting this exception: You have clicked on a *stale link*.
Rewind of form AddCustomerPage/customerDetailsForm expected allocated id #14 to be 'foundCustomersLoop', but was 'editable4' (requested by component AddCustomerPage/customerDetailsTable.editable4). 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
To me seems the problem is related with the For component, the other component editable4 is just an Insert component. I've tried to define the 'foundCustomersLoop' in the Java file and in the .jwc, but in both cases I get the same exception. This is the definition in the java file : @Component(type="For", bindings={"source=listCustomersFound",
"value=currentCustomer"}) public abstract IComponent getFoundCustomersLoop();
And this is the definition in the .jwc file: <component id="foundCustomersLoop" type="For">
<binding name="source" value="listCustomersFound"/> <binding name="value" value="currentCustomer"/> </component>
Everything is inside a dojo Dialog, but don't know if this affects in any way. I've searched this problem in the mailing list and didn't seen anything, I will really appreciate any hint! -- Robert Ramírez Vique Computer Science Engineer