Re: ForBean issues

2006-11-15 Thread Srinivas Yermal
Hi Gabriel, Thanks for the detailed steps. We tried this out, but it didnt work. The observation here was that only the first item in the collection has the user entered value while others in the collection dont have their values set. However I am happy to report that we have solved the issue.

Re: ForBean issues

2006-11-14 Thread Lutz Hühnken
I've been using Tapestry for a couple of month now and still haven't understood how to work with collections in forms correctly. What works well for me is the DefaultPrimaryKeyConverter. But it seems such an overhead, I have to populate it in the beginPageRender, and iterate it in the listener

RE: ForBean issues

2006-11-14 Thread Marcus.Schulte
I also just used a list as source and the index attribute, it seems Tapestry updates the items in place during rewind, which is fine. But I don't understand how I can avoid the items being serialized into hidden fields if I choose this approach. try, setting the For-component's volatile

Re: ForBean issues

2006-11-14 Thread Srinivas Yermal
Thanks so much for the response. I will try out the DefaultPrimaryKeyConverter and InvokeListener options. My comments inline - Anyway.. about your code: obviously, I can't tell you which is best. But I think you don't have to pass your items as a parameter to the listener method. Instead, the

Re: ForBean issues

2006-11-14 Thread Gabriel Lozano
Hey what I do is the following: 1. You have to initialize the collection somewhere. Yes, pageBeginRender is ok ( well, sorry for the tapestry gurus, but I have also done it that way ). And dont have to initialize it in the rewind phase. 2. What I do is to hide the collection in the form. Oh,

Re: ForBean issues

2006-11-12 Thread Srinivas Yermal
Can some tapestry savvy guys look at this and help us out here. Would really appreciate the effort. This is quite a big blocker for me at present. Thanks, Srini. On 11/10/06, Srinivas Yermal [EMAIL PROTECTED] wrote: BTW We currently use version 4.0.2. and run it on tomcat. I would also

Re: ForBean issues

2006-11-10 Thread Srinivas Yermal
BTW We currently use version 4.0.2. and run it on tomcat. I would also appreciate if somebody can point me to the rewind document if any. I have heard so many stories about common newbie rewind mistakes but couldnt find what they really are. Thanks again. Srini. On 11/10/06, Srinivas Yermal