You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Henri Dupre <he...@gmail.com> on 2005/04/06 18:46:49 UTC
No Implementation of persistent property setter??
I'm having a strange bug with my application... I'm not sure if it is a bug
or if I don't understand properly Tapestry flow:
I have a piece of code that does
SelLieuLivraison slieu = (SelLieuLivraison) cycle.getPage
("SelLieuLivraison");
slieu.setTransporteur(this);
the page "SelLieuLivraison" is a page with a persistent property
<property-specification name="transporteur" type="
actualis.web.objects.livraison.Transporteur" persistent="yes"/>
My page class has these two abstract methods
public abstract void setTransporteur(Transporteur transporteur);
public abstract Transporteur getTransporteur();
and when I hit this part of code I get this exception
Method 'public abstract void
actualis.web.tapestry.pages.SelLieuLivraison.setTransporteur(
actualis.web.objects.livraison.Transporteur)' (declared in class
actualis.web.tapestry.pages.SelLieuLivraison) has no implementation in class
actualis.web.tapestry.pages.SelLieuLivraison (or enhanced subclass
actualis.web.tapestry.pages.SelLieuLivraison$Enhance_51).
Does anyone have a clue about what is happening there? I think it was
working properly before I set the property to persistent but I need to have
it persistent.
Henri.
Re: No Implementation of persistent property setter??
Posted by Bryan Lewis <br...@maine.rr.com>.
Hmm... it looks okay. Check that your page class is also declared abstract,
as in:
public abstract class SelLieuLivraison extends BasePage
Check that there isn't a concrete definition of the setter method in the
page code that's preventing javassist from generating its version of the
method.
Check spelling and upper/lower case.
Hope that helps.
----- Original Message -----
From: "Henri Dupre" <he...@gmail.com>
To: "Tapestry users" <ta...@jakarta.apache.org>
Sent: Wednesday, April 06, 2005 12:46 PM
Subject: No Implementation of persistent property setter??
I'm having a strange bug with my application... I'm not sure if it is a bug
or if I don't understand properly Tapestry flow:
I have a piece of code that does
SelLieuLivraison slieu = (SelLieuLivraison) cycle.getPage
("SelLieuLivraison");
slieu.setTransporteur(this);
the page "SelLieuLivraison" is a page with a persistent property
<property-specification name="transporteur" type="
actualis.web.objects.livraison.Transporteur" persistent="yes"/>
My page class has these two abstract methods
public abstract void setTransporteur(Transporteur transporteur);
public abstract Transporteur getTransporteur();
and when I hit this part of code I get this exception
Method 'public abstract void
actualis.web.tapestry.pages.SelLieuLivraison.setTransporteur(
actualis.web.objects.livraison.Transporteur)' (declared in class
actualis.web.tapestry.pages.SelLieuLivraison) has no implementation in class
actualis.web.tapestry.pages.SelLieuLivraison (or enhanced subclass
actualis.web.tapestry.pages.SelLieuLivraison$Enhance_51).
Does anyone have a clue about what is happening there? I think it was
working properly before I set the property to persistent but I need to have
it persistent.
Henri.
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org