[Product-Developers] archgenxml: how to create a custom view?[resuming an old thread]

Roijen, Bas bas.roijen at cofely-gdfsuez.nl
Thu Mar 11 12:16:49 UTC 2010

Set the tagged value "default_view" on your contenttype class to the
name of the custum view you created.

Kind regards,

bc. Bas Roijen
Technisch Applicatiebeheerder
Information & Communication Technology

Amerikalaan 35, 6199 AE Maastricht-Airport - THE NETHERLANDS
PO Box 304, 6199 ZN Maastricht-Airport - THE NETHERLANDS
Tel. : +31 (0)43 367 52 09
Fax. : +31 (0)43 367 59 90
Mob. : +31 (0)6 388 260 15
bas.roijen at cofely-gdfsuez.nl

-----Oorspronkelijk bericht-----
Van: product-developers-bounces at lists.plone.org
[mailto:product-developers-bounces at lists.plone.org] Namens Mirto Silvio
Verzonden: donderdag 11 maart 2010 13:07
Aan: product-developers at lists.plone.org
Onderwerp: [Product-Developers] archgenxml: how to create a custom
view?[resuming an old thread]

Hi all,
after a long period, I started again to try to develop (really it is a
Plone 2.5 migration) a product for Plone 3.3.4

The last time I asked the list I received the message below; but I'm
still confused.

I read the agx docs at
but I cannot figure out how to create a custom view.
I added a "browser" module with inside a class with "<<view_class>>
stereotype but I don't know how to correlate this class with the one
that should have this custom view.

Searching and googling gives a lot of links to obsolete agx 1
documentation and I was not able to find any link relevant to my

Please, can anyone point me to the rigth documentation?
BTW anyone have a demo zargo file related to a product with custom


================== old thread
Kees Hink ha scritto:
> 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
> _______________________________________________
> Product-Developers mailing list
> Product-Developers at lists.plone.org
> http://lists.plone.org/mailman/listinfo/product-developers

De informatie opgenomen in dit bericht kan vertrouwelijk zijn en 
is uitsluitend bestemd voor de geadresseerde. Indien u dit bericht 
onterecht ontvangt, wordt u verzocht de inhoud niet te gebruiken en 
de afzender direct te informeren door het bericht te retourneren. 
The information contained in this message may be confidential 
and is intended to be exclusively for the addressee. Should you 
receive this message unintentionally, please do not use the contents 
herein and notify the sender immediately by return e-mail.

More information about the Product-Developers mailing list