logo       

Re: Some newbie questions: msg#00113

web.zope.plone.archetypes.devel

Subject: Re: Some newbie questions

Hi!

> I am planning to use Plone/Archetypes for the next release of
> CMFCollectorNG. But before
> starting the project I would like to have some answers for the following
> questions:
>
> - Formulator has a concept to groups fields together. Is there something
> similar in
> Archetypes?
>
> - Is there a generic solution to render parts of a schema (e.g. by using
> only
> those parts of a schema that belong to a particular group?

Well, Archetypes has a field property called "schemata" which is actually
used for grouping. Thus all fields with the same value in schemata will
be grouped together and rendered together. This looks right now like
a submenu inside the actual edit tab.

Thus you cannot do the first thing and group fields together with more
than one group per view. You can do the latter if I understand you right.

Maybe just test it with ArchExample and add some

schemata='group1'

or so to the field definitions.

(though I still think that the name "schemata" is not that good for it ;-)

-- christian

--
COM.lounge http://comlounge.net/
communication & design
info-WV3Fc3dYO6sqcZcGjlUOXw@xxxxxxxxxxxxxxxx


-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise