Yes you're right, but as behavior has changed between beta 7 and 10 i wasn't thinking about an error like that.

Know i have to found out why my getter is not returning any value, it's really a useful one probably unused :-)


Howard Lewis Ship wrote:
    public abstract void getSideChanges();


That's a getter method with the wrong signature; it should be

public abstract boolean getSideChanges();

So Tapestry is correct ... it's not an accessor method, so Tapestry
does nothing with it and it is an un-implemented method.  There's a
bug that the error for this should be more explicity (accessor method
with wrong return value should get a special message, since it's so
common and so easy to miss ... as you've proved).


On 10/24/05, Jean-Yves Sironneau <[EMAIL PROTECTED]> wrote:
Hello,

I have  a  small question,  i think i used to  use interface like

public interface ISideChange {

    public abstract void setSideChanges(Boolean sideChanges);

    public abstract void getSideChanges();

    public abstract void setLinkedException(LinkedException e);

    public abstract LinkedException getLinkedException();

}

make a page class implements it and then let tapestry create the
implementation at runtime, but now  i get an error :

Error at context:/WEB-INF/edit/EditEvents.page, line 7, column 71:
Method 'public abstract void
org.jys.clepsydra.ui.ISideChange.getSideChanges()' has no implementation
in class org.jys.clepsydra.ui.pages.EditEventsPage (or enhanced subclass
$EditEventsPage_43).

Is that normal ?

Jean-Yves

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




--
Howard M. Lewis Ship
Independent J2EE / Open-Source Java Consultant
Creator, Jakarta Tapestry
Creator, Jakarta HiveMind

Professional Tapestry training, mentoring, support
and project work.  http://howardlewisship.com

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





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

Reply via email to