Hanno Schlichting wrote:
Martin Aspeli wrote:
whit wrote:

does anyone have a good formlib example for a controlpanel that
*doesn't* edit a cmf tool?
plone.app.controlpanel has none? There are examples of formlib in
plone.app.contentrules and plone.app.portlets.portlets, and Rocky has a
formlib tutorial. Otherwise, Hanno may have light to shed. :)

The approach I have taken in plone.app.controlpanel is to introduce a
middleware-adapter for the IPloneSiteRoot that will act as the context
for the formlib form. Read the full story in
http://dev.plone.org/plone/browser/plone.app.controlpanel/trunk/README.txt

This approach allows you to do any kind of work in the adapter. If you
look at the types control panel you won't see any CMF tools usage inside
there ;)

Hanno
nice! that should work great!

-w
begin:vcard
fn:D. Whitfield  Morriss
n:Morriss;D. Whitfield 
org:The Open Planning Project;OpenPlans
adr:;;1309 Ashwood Ave;Nashville;TN;37212;USA
email;internet:[EMAIL PROTECTED]
title:Lead Developer 
tel;home:615 292-9142
tel;cell:415 710-8975
x-mozilla-html:FALSE
version:2.1
end:vcard

_______________________________________________
Framework-Team mailing list
Framework-Team@lists.plone.org
http://lists.plone.org/mailman/listinfo/framework-team

Reply via email to