[Product-Developers] Re: archgenxml: how to create a cutom view?

Kees Hink hink at gw20e.com
Wed Jul 29 14:34:27 UTC 2009


If you add a 'MyView' object with a '<<view_class>>' stereotype in your UML's
'browser' module, AGX will generate 'browser/MyView.py' and
'browser/templates/MyView.pt' for you.

Mirto Silvio Busico wrote:
> Hi all,
> 
> I'm developing a product with archgenxml, but I'm a little confused.
> 
> I've defined some classes and now I'm trying to define custom views.
> 
> In the old plone 2.5 days I defined a method for the class with the
> archetype <<view>> and put a pt file named as the method name in the
> skin/product directory.
> 
> Now archgenxml says <<view>> is deprecated.
> I tried a method with the archetype <<action>> and the tag "view" with
> value "view", but I only obtained an action tab with the method name and
> no placeholder pt.
> 
> How can I define custom views?
> 
> Thanks
>    Mirto
> 
> _______________________________________________
> Product-Developers mailing list
> Product-Developers-G3yHMj00SlOLbbK5bonKug at public.gmane.org
> http://lists.plone.org/mailman/listinfo/product-developers




More information about the Product-Developers mailing list