Thanks a lot. Such a stupid error **shame**
I won't forget, that's certain !
Cheers
ZedroS
On 5/8/06, Andreas Andreou <[EMAIL PROTECTED]> wrote:
change
public abstract String getInternalId();
to
public abstract Long getInternalId();
ZedroS Schwart wrote:
> Hi all
>
> In a class called UtilisateursPage.java , I've put :
> public abstract class UtilisateurPage extends BasePage implements
> PageBeginRenderListener {
> @Persist("client")
> public abstract String getInternalId();
> public abstract void setInternalId(Long id);
> ...}
>
> I call this page somewhere else using :
> @InjectPage("UtilisateurPage")
> public abstract UtilisateurPage getUtilisateurPage();
>
> public IPage onEdit(Long id) {
> UtilisateurPage utilisateurPage = getUtilisateurPage();
> utilisateurPage.setInternalId(id);
> return utilisateurPage;
> }
>
> When this page is called, thourgh the getUtilisateurPage() I got the
> error :
> Exception invoking listener method onEdit of component
> pages/admin/UtilisateursManager: Error at
> context:/WEB-INF/pages/admin/UtilisateurPage.page, line 6, column 60:
> Method
> 'public abstract void administration.UtilisateurPage.setInternalId(
> java.lang.Long)' (declared in class administration.UtilisateurPage)
> has no
> implementation in class administration.UtilisateurPage (or enhanced
> subclass
> $UtilisateurPage_40).
>
> I don't know where it comes from... Could you help me please ?
>
> I guess it's quite trivial but I don't the error...
>
> Thanks in advance
> ZedroS
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]