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" <[EMAIL PROTECTED]>
To: "Tapestry users" <[email protected]>
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to