Re: [Checkins] SVN: z3c.ptcompat/trunk/ - Added support for browser:addform, browser:editform, browser:form,

Stephan Richter <[email protected]>
Newsgroups gmane.comp.web.zope.zope3.cvs
Message-ID <200903101037.43797.srichter__46731.9997995675$1236706784$gmane$org@cosmos.phy.tufts.edu>
On Tuesday 10 March 2009, Sidnei da Silva wrote:
> > Ahh, you just added a dependency on zope.app.form! This should clearly go
> > into another package. A lot of people use z3c.ptcompat that are not using
> > zope.app.form.
>
> /me cringes
>
> What about I make it a soft dependency? I don't think this deserves a
> new package.

Well, z3c.ptcompat is about providing API compatibility to zope.pagetemplate, 
not the form framework. If you do not want to write a new package, I would 
suggest adding the code to zope.app.form. All you need to do is to honor the 
same option flag that z3c.ptcompat does.

Regards,
Stephan
-- 
Stephan Richter
Web Software Design, Development and Training
Google me. "Zope Stephan Richter"
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.