[Zope3-dev] Jobboard demo fixes (i18n)
Jim Fulton
jim at zope.com
Thu Mar 11 09:54:36 EST 2004
Nathan R. Yergler wrote:
> I went ahead and committed my changes and added the jobboard to
> zope.app.demo. I also updated products.zcml.in to reflect the change in
> it's example inclusion.
Yay!
> Not sure what policy is...
The policy is that decoys are evil, so ... :)
> should I go ahead
> and remove the jobboard from Products3/demo or just leave it?
Please remove it.
> I notice
> jobboardi18n is still there even though it appears the i18n-ness was
> rolled into jobboard.
Please remove that too.
Thanks.
Jim
> Jim Fulton wrote:
>
>>
>> Nathan R. Yergler wrote:
>>
>>> I was looking at the jobboard demo to refamiliarize myself with Zope3
>>> and found that there were a couple of problems getting a recent (this
>>> morning) checkout of Zope3 to start with jobboard's configure.zcml
>>> included. I fixed a couple of problems but there's one I haven't
>>> been able to track down; I'm sure it's simple, just looking for some
>>> direction. In configure.zcml (in CVS), the content class is defined
>>> as follows:
>>>
>>> <content class="zopeproducts.demo.jobboard.job.JobList">
>>> <implements
>>> interface="zope.app.interfaces.annotation.IAttributeAnnotatable"
>>> />
>>> <factory
>>> id="zopeproducts.demo.jobboard.job.JobList"
>>> title="I18n Job List"
>>> permission="zope.ManageContent"
>>> />
>>> <allow interface=".interfaces.IJobList" />
>>> <implements interface="zope.app.interfaces.container.IItemContainer" />
>>> </content>
>>>
>>> When I try to start Zope3, it complains about the permission
>>> attribute on factory. If I remove the permission attribute it works
>>> fine. The other examples I found also refer to a permission
>>> attribute for factory elements. Suggestions?
>>
>>
>>
>> Remove the factory attribute. :)
>>
>>> Also, I fixed another bug in configure.zcml and edit.pt; should I go
>>> ahead and commit those once I get the permissions problem tracked
>>> down, or should I send a patch? Thanks.
>>
>>
>>
>> Go ahead and commit. If you feel motivated, you can also move this
>> package
>> to zope.app.demo.jobboard. If it was there, it would get updated as zope
>> changes.
>>
>> Jim
>>
--
Jim Fulton mailto:jim at zope.com Python Powered!
CTO (540) 361-1714 http://www.python.org
Zope Corporation http://www.zope.com http://www.zope.org
More information about the Zope3-dev
mailing list