Re: @For component printing the an object representation in the .html

2007-10-26 Thread Andreas Andreou
On 10/26/07, Norman Franke <[EMAIL PROTECTED]> wrote: > The old @Foreach (Tapestry 4.0.x) did NOT do this, and I wish there > was an option to do this with @For. The old @Foreach is really just @For with volatile set to true -- Andreas Andreou - [EMAIL PROTECTED] - http://blog.andyhot.gr Tapest

Re: @For component printing the an object representation in the .html

2007-10-26 Thread Mateus Lucio dos Santos
Hi Norman, thanks for the tips! Studying a little bit the whole web app architecture I think I can use the volatile attribute, since the data always come from a database and I believe it´s never modified between form rendering and submission (that's the most difficult thing to analyze), my coll

Re: @For component printing the an object representation in the .html

2007-10-26 Thread Norman Franke
This really bugged me as well, since can easily add 100K to your page. First, it only seems to happen inside a @Form component, as best as I can tell from reading the docs. You can provide a "keyExpression" to have it serialize the value of the object's attribute, e.g. it's primary key for

RE: Re: For Component Question

2006-12-14 Thread Ashish Kheterpal
Sorry, did not switch the message format. Ashish -Original Message- From: Ashish Kheterpal [mailto:[EMAIL PROTECTED] Sent: Thursday, December 14, 2006 1:33 PM To: Tapestry users Subject: RE: Re: For Component Question Also, attaching the html, if it is not viewable in the

RE: Re: For Component Question

2006-12-14 Thread Ashish Kheterpal
Original Message- From: Ashish Kheterpal [mailto:[EMAIL PROTECTED] Sent: Thursday, December 14, 2006 1:21 PM To: Tapestry users Subject: RE: Re: For Component Question Hi, This is what I want to be able to do with # of columns as a parameter and the #rows being determined at runt

RE: Re: For Component Question

2006-12-14 Thread Ashish Kheterpal
For" Components. Is it? Thanks, - Ashish -Original Message- From: Ashish Kheterpal [mailto:[EMAIL PROTECTED] Sent: Thursday, December 14, 2006 1:21 PM To: Tapestry users Subject: RE: Re: For Component Question Hi, This is what I want to be able to do with # of columns as a par

RE: Re: For Component Question

2006-12-14 Thread Ashish Kheterpal
ache.org Subject: Re: For Component Question Oh, and there is contrib:Table of course: http://tapestry.apache.org/tapestry4.1/tapestry-contrib/componentreferen ce/table.html A. Ashish Kheterpal schrieb: > I am new to Tapestry and want to display a collection of items

Re: For Component Question

2006-12-13 Thread Andy Pahne
Oh, and there is contrib:Table of course: http://tapestry.apache.org/tapestry4.1/tapestry-contrib/componentreference/table.html A. Ashish Kheterpal schrieb: I am new to Tapestry and want to display a collection of items in a table with the ability to control the number of rows and columns t

Re: For Component Question

2006-12-13 Thread Andy Pahne
Yes, there's the For component. See http://tapestry.apache.org/tapestry4.1/components/general/for.html In order to control the number of rows I would filter the collection before I pass it to the For component. Andy Ashish Kheterpal schrieb: I am new to Tapestry and want to display a

Re: For component ConcurrentModificationException during rewind.

2006-10-17 Thread Patrick Moore
nd I hadn't even considered it! Gareth - Original Message From: Christian Haselbach <[EMAIL PROTECTED]> To: Tapestry users Sent: Monday, 16 October, 2006 2:14:57 PM Subject: Re: For component ConcurrentModificationException during rewind. Zitat von Gareth <[EMAIL PROTECTED]&

Re: For component ConcurrentModificationException during rewind.

2006-10-17 Thread Gareth
Christian Thanks, I'll give that a shot. That sounds much easier, and I hadn't even considered it! Gareth - Original Message From: Christian Haselbach <[EMAIL PROTECTED]> To: Tapestry users Sent: Monday, 16 October, 2006 2:14:57 PM Subject: R

Re: For component ConcurrentModificationException during rewind.

2006-10-16 Thread Christian Haselbach
Zitat von Gareth <[EMAIL PROTECTED]>: > I have gotten around the problem by, in the listener for "onDelete", I flag > the row for deletion, and then in the "PageBeginRender" method, I check to > see that it is not rewinding - i.e. it is about to start rendering the > response, and if the deletion

RE: For component and Validation Deligate

2006-08-23 Thread Firas Adiler
Hello Simon, I assume you've subclassed org.apache.tapestry.form.validator.Validator? The "false" field is passed as a parameter to the method: validate(IFormComponent formField, ValidationMessages messages, Object object) But you don't need to worry about passing it to the validation delegate.

Re: @For component

2006-08-03 Thread Rui Pacheco
I was following the example from the Foreach documentation for Tapestry 4.0.2. But I ended up removing that entry from the page specification altogether, it worked perfectly without it. On 8/3/06, Mul <[EMAIL PROTECTED]> wrote: On 8/3/06, Rui Pacheco <[EMAIL PROTECTED]> wrote: > > Hi all > > I

Re: @For component

2006-08-03 Thread Mul
On 8/3/06, Rui Pacheco <[EMAIL PROTECTED]> wrote: Hi all I'm trying to pass a List from my class to my template, but I can't seem to find the proper way to do it. My list is named inventionList. I defined my @For this way: () I defined the List in my component definition this way: t

Re: @For component

2006-08-03 Thread Rui Pacheco
BTW, I'm using Tap 4.1 -- View this message in context: http://www.nabble.com/%40For-component-tf2046280.html#a5634599 Sent from the Tapestry - User forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additi