But what if you have a page with a For component that doesn't have a Form 
component?

Thanks,
Rob

-----Original Message-----
From: Kent Tong [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, September 27, 2005 9:12 AM
To: tapestry-user@jakarta.apache.org
Subject: Re: Re: Datasqueezers and strategies

Rob Dennett <rob_dennett <at> tmit1.org> writes:

> Does your book cover this in more detail?  

It has an example on the use of a converter. It doesn't talk about
keyExpression because I consider it a less clean solution. It doesn't
talk about data squeezers at all because I prefer passing keys over
whole objects back and forth between the server and the browser (but 
some people prefer the latter because it's simpler).

> Also, what do you do if you have a For component outside of a form?

Either use a Hidden component in the Form so that you'll know which
row you're talking about, or set the "direct" parameter of the Form
to false so that the whole page including the For component is rewound, 
not just the Form itself.

--
Author of a book for learning Tapestry (http://www.agileskills2.org/EWDT)


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-- 
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.11.6/111 - Release Date: 9/23/2005
 

-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.11.6/111 - Release Date: 9/23/2005
 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to