I'm trying to work out a way to have the action in a z3c.form based form send
the user to the built-in plone content_status_history form, similar to how the
'Change State' action on folder_contents works.
For some reason I can't seem to find any examples of making this work. Can
someone help me figure out what the right way is to accomplish this task? I
need to use the form action handler to set the 'paths' parameter on the
request, so that request.get('paths') will return the paths of the objects I've
selected in my form. I can do that, but once it's done, how to I traverse on
to the content_status_history form? That part has me stumped.
restrictedTraverse will get me the FSControllerFormTemplate object, which is
nice enough, but calling that just returns the html of the form without
actually publishing it.
It looks like perhaps something in zope.traversing might help, but nothing
appears to implement the ITraversable interface from that package.
Am I just on the wrong track here?
help!
c
********************************
Cris Ewing
Webmaster, Lead Developer
Department of Radiology Web Services
University of Washington
School of Medicine
Work Phone: (206) 616-1288
Cell Phone: (206) 708-9083
Pager: (206) 559-2306
E-mail: [email protected]
Web: http://www.rad.washington.edu
*******************************
_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers