You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Leon Derks <le...@cumquat.nl> on 2008/05/19 13:50:44 UTC

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: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


RE: Error serializing component action for component Gears:loop:

Posted by Cordenier Christophe <Ch...@atosorigin.com>.
Hello

You can take a look at the 'volatile' parameter of loop component.
Default is false.

Christophe.

-----Message d'origine-----
De : Leon Derks [mailto:leon.derks@cumquat.nl]
Envoyé : lundi 19 mai 2008 13:51
À : Tapestry users
Objet : 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: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org




Ce message et les pièces jointes sont confidentiels et réservés à l'usage exclusif de ses destinataires. Il peut également être protégé par le secret professionnel. Si vous recevez ce message par erreur, merci d'en avertir immédiatement l'expéditeur et de le détruire. L'intégrité du message ne pouvant être assurée sur Internet, la responsabilité du groupe Atos Origin ne pourra être recherchée quant au contenu de ce message. Bien que les meilleurs efforts soient faits pour maintenir cette transmission exempte de tout virus, l'expéditeur ne donne aucune garantie à cet égard et sa responsabilité ne saurait être recherchée pour tout dommage résultant d'un virus transmis.

This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive this e-mail in error, please notify the sender immediately and destroy it. As its integrity cannot be secured on the Internet, the Atos Origin group liability cannot be triggered for the message content. Although the sender endeavours to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable for any damages resulting from any virus transmitted.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


RE: Error serializing component action for component Gears:loop:

Posted by Kristian Marinkovic <kr...@porsche.co.at>.
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 <le...@cumquat.nl> 
19.05.2008 13:50
Bitte antworten an
"Tapestry users" <us...@tapestry.apache.org>


An
Tapestry users <us...@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: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org