Re: plone.app.z3cform layout

espen <[email protected]>
Newsgroups gmane.comp.web.zope.plone.devel
Message-ID <[email protected]>
18. okt. 2013 kl. 17:59 skrev thomas desvenain [via Plone] <ml-node+s293351n7568380h33-PKuAHvtXa09l57MIdRCFDg@public.gmane.org>:

> Hi, 
> 
> in plone.app.z3cform,form 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
> 
sounds like a better idea

Espen

> -- 
> Thomas Desvenain
> 
> Téléphone : 09 51 37 35 18
> 
> ------------------------------------------------------------------------------ 
> 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=60135031&iu=/4140/ostg.clktrk
> _______________________________________________ 
> Plone-developers mailing list 
> [hidden email] 
> https://lists.sourceforge.net/lists/listinfo/plone-developers
> 
> 
> If you reply to this email, your message will be added to the discussion below:
> http://plone.293351.n2.nabble.com/plone-app-z3cform-layout-tp7568380.html
> To start a new topic under Core Developers, email ml-node+s293351n293355h58-PKuAHvtXa09l57MIdRCFDg@public.gmane.org 
> To unsubscribe from Plone, click here.
> NAML





--
View this message in context: http://plone.293351.n2.nabble.com/plone-app-z3cform-layout-tp7568380p7568400.html
Sent from the Core Developers mailing list archive at Nabble.com.

------------------------------------------------------------------------------
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=60135031&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.