Greetings, <br>I'm writing an app that uses IntIds and the Relation, in order to make object relationships.<br><br>My app code is like this:<br><br>class MyApp(grok.Application, grok.Container):<br> grok.local_utility(IntIds, IIntIds)<br>
grok.local_utility(RelationCatalog, ICatalog, name='relation')<br><br> def __init__(self):<br> super(Aquisicao, self).__init__()<br> self['materials'] = Materials()<br> <br>the problem is, when i try to use component.getUtility(IIntIds), a componentLookUpError appear to me.<br>
<br>Am i doing something wrong? I tried to find something like to handle object relationships, and i found the thread in this list about making object relationships, but i want to register this intids and RelationCatalog utilities in a more "grokish" way.<br>
<br>could anyone help me please? <br><br>-- <br>Vanderson Mota dos Santos<br><br>