[Zope3-dev] Jobboard demo fixes (i18n)

Nathan R. Yergler nathan at yergler.net
Thu Mar 11 10:03:34 EST 2004


So let it be written, so let it be done :).

NRY


Jim Fulton wrote:

> 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
>>>
>
>



More information about the Zope3-dev mailing list