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
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
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
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
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
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
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
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
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
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]&
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
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
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.
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
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
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
16 matches
Mail list logo