Please do a search on the tapestry mail archives for stale links http://marc.theaimsgroup.com/?l=tapestry-user
I think you will find what you need. Hint you will probably end up using the ListEdit component if you are using Tapestry 3.0.x or the For component doing tapestry 4. On 10/29/05, Muralidhar Y. <[EMAIL PROTECTED]> wrote: > > Stale link comes when the components does not match in winding and > rewinding. I don't know exactly what the situation is but component > "forEach" is not designed to be used in the forms.you can use "FormTable" > component from contrib. you also can use "forEach" in forms but some care > has to be taken. If you can post all the component configurations you did > for your html it would be helpful to determine the exact problem. > > 'criteriaScore' is the name given by you for some component. When > rewinding > that means when you are submitting the form your page is requesting for > the > component 'finish' before the 'criteriaScore' component renders. The > components has to be rendered in the same sequence while winding and > rewinding. > > > > > > Muralidhar Y > Software Engineer, > Adastrum technologies-Nikai groups, > EmiratesGroup-I.T Division, > Dubai, UAE. > Mobile : 00971-50-2256149. > http://www.adastrumtech.com > http://www.mercator.aero > (Keep Smiling. Be happy All The Time.) > > -----Original Message----- > From: Yezdi RoadKing [mailto:[EMAIL PROTECTED] > Sent: 30 October 2005 08:20 > To: [email protected] > Subject: Stale Link Issues > > Hi, > > I am creating a form dynamically based on a database query using foreach > component. The form renders ok. > But, i get a stalelink exception when i do a form submit. The intent of > form > submission is just to update the database with the new values. The HTML > generated for the hidden field, when the form is rendered is as follows... > > <input type="hidden" name="Form0" > > value="criteriaScore,criteriaRemark,criteriaScore$0,criteriaRemark$0,criteri > aScore$1,criteriaRemark$1,finish,cancel"/> > > The exception message is as follows... > > Rewind of form GradeTable/gradeform expected allocated id #1 to be > 'criteriaScore', but was 'finish' > (requested by component GradeTable/finish). > > > The component finish is the form submit listener. > > I am new to web development and Tapestry. Could anyone let me know how i > could do the form submission and also to get the queryparameters, as they > keep changing each time based on the query. > > Thanks > Yezdi. > > > > > __________________________________ > Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- What profits a man if he gains the whole world yet loses his soul?
