depends on the volatile attribute of the loop component and if
your loop is inside a form.

by default it is set to "true", meaning that every item of the loop
is serialized to a hidden field of the form component. on submit
tapestry will deserialize the objects again.

also if you have a ValueEncoder for your object you wont have
this error either, assuming it returns a simple value... such as a String
or Long  :)

g,
kris






Leon Derks <[EMAIL PROTECTED]> 
19.05.2008 13:50
Bitte antworten an
"Tapestry users" <users@tapestry.apache.org>


An
Tapestry users <users@tapestry.apache.org>
Kopie

Thema
Error serializing component action for component Gears:loop:







Hello

I did get the error :Error serializing component action for component 
Gears:loop:

When I add "implements Serializable" to my Gear class everything works 
fine.

But I have also other objects that I looped throught with a 
t:type="loop" but these objects didn't need an "implements Serializable".

So what makes it that my Gear object needs an "implements Serializable" ?

All my other objects are extending BaseEntity and the Gear is extending 
Product (which again extends BaseEntity).

Leon

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


Reply via email to