John Poltorak wrote at 2005-11-30 01:32 +0000: >Can someone tell me how 'here/content' is translated in these lines? > ><span tal:define="stx >python:modules['Products'].PythonScripts.standard.structured_text; > the_text here/content" > tal:content="structure python:stx(the_text)"> > > The structured text goes here. > ></span>
"here" (i.e. the object viewed via the template) is asked for "content" (calling "here.restrictedTraverse('content')"). If the result is callable, it is called. The result is bound to "the_text". >When I use the URL 'www.mysite.org' the above resolves fine, but if I use >'www.mysite.org:8080/mysite' I get a 'Resource not found' when selecting >the same link from the homepage of the same site. Is there something I've >overlooked? This either means that your problem is elsewhere or that the "here" are different in both cases. -- Dieter _______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )