[CPS-users] howto show an even in the calendar-widget

Joachim Schmitz js at aixtraware.de
Fri Sep 15 08:49:17 CEST 2006


Lennart Regebro schrieb:
> Joachim Schmitz wrote:
>> Are there ? I don't find it, I only see the 
>> General,Caching,Visibility,Layout,Style Tab
> 
> If you go to the /cps/cpsskins_portlet_manage_form then click on 
> "Portlet browser" you will see a buttown with "Shared Calendar Portlet". 
>  Click on it, and you will see a list if the portlets. Click on it's 
> title, and you get the portlet settings. (Remember to click on "Save" 
> not on "OK" which just closes the window.)
> 
Thanks I found it selected a path_to_calendar option but didn't actually 
put in a path, when I exited the edit I get this traceback, and get it 
whenever I try to edit the Portlet again, I only could fix it by undoing 
the transactions in the ZMI

Traceback (innermost last):
   Module ZPublisher.Publish, line 114, in publish
   Module ZPublisher.mapply, line 88, in mapply
   Module ZPublisher.Publish, line 40, in call_object
   Module Shared.DC.Scripts.Bindings, line 311, in __call__
   Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec
   Module Products.CMFCore.FSPageTemplate, line 195, in _exec
   Module Products.CMFCore.FSPageTemplate, line 134, in pt_render
   Module Products.PageTemplates.PageTemplate, line 104, in pt_render
    - <FSPageTemplate at /wohnsinn/cpsskins_portlet_manage_form>
   Module TAL.TALInterpreter, line 238, in __call__
   Module TAL.TALInterpreter, line 281, in interpret
   Module TAL.TALInterpreter, line 715, in do_condition
   Module TAL.TALInterpreter, line 281, in interpret
   Module TAL.TALInterpreter, line 457, in do_optTag_tal
   Module TAL.TALInterpreter, line 442, in do_optTag
   Module TAL.TALInterpreter, line 437, in no_tag
   Module TAL.TALInterpreter, line 281, in interpret
   Module TAL.TALInterpreter, line 715, in do_condition
   Module TAL.TALInterpreter, line 281, in interpret
   Module TAL.TALInterpreter, line 749, in do_useMacro
   Module TAL.TALInterpreter, line 281, in interpret
   Module TAL.TALInterpreter, line 457, in do_optTag_tal
   Module TAL.TALInterpreter, line 442, in do_optTag
   Module TAL.TALInterpreter, line 437, in no_tag
   Module TAL.TALInterpreter, line 281, in interpret
   Module TAL.TALInterpreter, line 715, in do_condition
   Module TAL.TALInterpreter, line 281, in interpret
   Module TAL.TALInterpreter, line 457, in do_optTag_tal
   Module TAL.TALInterpreter, line 442, in do_optTag
   Module TAL.TALInterpreter, line 437, in no_tag
   Module TAL.TALInterpreter, line 281, in interpret
   Module TAL.TALInterpreter, line 749, in do_useMacro
   Module TAL.TALInterpreter, line 281, in interpret
   Module TAL.TALInterpreter, line 457, in do_optTag_tal
   Module TAL.TALInterpreter, line 442, in do_optTag
   Module TAL.TALInterpreter, line 437, in no_tag
   Module TAL.TALInterpreter, line 281, in interpret
   Module TAL.TALInterpreter, line 691, in do_loop_tal
   Module TAL.TALInterpreter, line 281, in interpret
   Module TAL.TALInterpreter, line 457, in do_optTag_tal
   Module TAL.TALInterpreter, line 442, in do_optTag
   Module TAL.TALInterpreter, line 437, in no_tag
   Module TAL.TALInterpreter, line 281, in interpret
   Module TAL.TALInterpreter, line 647, in do_insertStructure_tal
   Module Products.PageTemplates.TALES, line 221, in evaluate
    - URL: file:CPSSkins/skins/cpsskins_cmf/cpsskins_portlet_manage_lib.pt
    - Line 611, Column 4
    - Expression: <PythonExpr portlet.render_cache(portlet=portlet, 
                                                      context_obj=here)>
    - Names:
       {'container': <CPSDefaultSite at /wohnsinn>,
        'context': <CPSDefaultSite at /wohnsinn>,
        'default': <Products.PageTemplates.TALES.Default instance at 
0x40c82cec>,
        'here': <CPSDefaultSite at /wohnsinn>,
        'loop': <Products.PageTemplates.TALES.SafeMapping object at 
0x4670ee6c>,
        'modules': 
<Products.PageTemplates.ZRPythonExpr._SecureModuleImporter instance at 
0x40cb332c>,
        'nothing': None,
        'options': {'args': ()},
        'repeat': <Products.PageTemplates.TALES.SafeMapping object at 
0x4670ee6c>,
        'request': <HTTPRequest, 
URL=http://www.aixtra-erotic.de/wohnsinn/cpsskins_portlet_manage_form>,
        'root': <Application at >,
        'template': <FSPageTemplate at 
/wohnsinn/cpsskins_portlet_manage_form>,
        'traverse_subpath': [],
        'user': <CPSUser perry>}
   Module Products.PageTemplates.ZRPythonExpr, line 47, in __call__
    - __traceback_info__: portlet.render_cache(portlet=portlet, 
                                                  context_obj=here)
   Module Python expression "portlet.render_cache(portlet=portlet, 
                                                     context_obj=here)", 
line 1, in <expression>
   Module Products.CPSPortlets.CPSPortlet, line 495, in render_cache
   Module Products.CPSDocument.CPSDocument, line 68, in render
   Module Products.CPSDocument.FlexibleTypeInformation, line 753, in 
renderObject
   Module Products.CPSDocument.FlexibleTypeInformation, line 715, in 
_renderLayouts
   Module Products.CPSSchemas.Layout, line 391, in renderLayoutStructure
   Module Products.CPSPortlets.CPSPortletWidget, line 78, in render
   Module Products.CMFCore.FSPythonScript, line 108, in __call__
   Module Shared.DC.Scripts.Bindings, line 311, in __call__
   Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec
   Module Products.CMFCore.FSPythonScript, line 164, in _exec
   Module None, line 40, in sharedcalendar_portlet_view
    - <FSPythonScript at /wohnsinn/sharedcalendar_portlet_view used for 
/wohnsinn/portal_layouts/sharedcalendar_portlet/w__portal>
    - Line 40
AttributeError: getAttendees


-- 
Gruß Joachim





More information about the cps-users mailing list

This list archive provided by Nuxeo, the leaders of open source ECM. Check out the Nuxeo 5 open source, standards-based ECM project.