Re: plone.app.z3cform layout

"David Glick (Plone)" <david.glick-z4DKO/[email protected]>
Newsgroups gmane.comp.web.zope.plone.devel
Message-ID <[email protected]>
On 10/18/13 7:29 AM, thomas desvenain wrote:
> Hi,
>
> in plone.app.z3cform,form layout.pt <http://layout.pt> is written like 
> that, overwriting all 'main' slot :
>
>     <metal:main fill-slot="main">
>         <metal:main-macro define-macro="main">
>             <h1 class="documentFirstHeading" 
> tal:content="view/label">Title</h1>
>             <div id="content-core" tal:content="structure 
> view/contents" />
>         </metal:main-macro>
>     </metal:main>
>
> Is there a good reason for that ? I think it is very annoying because 
> it remove viewlet managers. So you can't use viewlets on any form 
> using plone.app.z3cform
>
> What do you think about writing it like this :
>
>     <metal:main fill-slot="content-title">
>          <h1 class="documentFirstHeading" 
> tal:content="view/label">Title</h1>
>     </metal:main>
>
>     <metal:main fill-slot="content-core">
>          <div id="content-core" tal:content="structure view/contents" />
>     </metal:main>
>
> Thanks
>
I think this makes sense.

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk

_______________________________________________
Plone-developers mailing list
Plone-developers-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/plone-developers
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.