It worked. Thank you.

On 9/4/07, Dave <[EMAIL PROTECTED]> wrote:
>
> On 9/4/07, Wladimir Boton <[EMAIL PROTECTED]> wrote:
> > to be similar as getWeblogEntry() that already exists and change the
> Weblog
> > template adding the new method together with the original:
> >       ...
> >        #if ($model.permalink)
> >            #showWeblogEntryComments($model.weblogEntry)
> >            <hr>
> >            <h1>Isso chama a nova funcao</h1>
> >            #showWeblogEntryComments($model.weblogEntry("teste"))
> >            <hr>
> >            #showWeblogEntryCommentForm($model.weblogEntry)
> >         #end
>
>
> First, my mistake. You must add that method to the WebsiteData object
> not PageModel.
>
> And then, when you call it you must use the full method name:
>
>   $model.weblog.getWeblogEntry("teste")
>
> - Dave
>



-- 
Wladimir Boton
http://www.wboton.com

Reply via email to