gotcha.

in the class:

def name(self):
  return self.__name__

tnx, :P

2008/4/24, SauZheR <[EMAIL PROTECTED]>:
>
> Hi all.
>
> When a view is registered like in this way:
>     <browser:page
>         for="*"
>         name="myViewName"
>         class=".browser.myClass"
>         permission="zope.Public"
>         allowed_interface=".interfaces.IMyClass"
>         template="templates/myTemplate.pt"
>         />
>
> is there a way to access to the view's name within the myTemplate.pt?
> something like tal:define="name view/name".
>
> thanks,
> sau.
>
>
> --
>   bye
> SauZheR
> ************************************
> l'iterazione è umana...
> la ricorsione, Divina!
> ************************************
> reply to: sauzher AT gmail DOT com




-- 
  bye
SauZheR
************************************
l'iterazione è umana...
la ricorsione, Divina!
************************************
reply to: sauzher AT gmail DOT com
_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers

Reply via email to