Open me-kell opened 2 years ago
The template and view in bobtemplates/plone/view/views are not working together.
bobtemplates/plone/view/views
The template uses <p tal:content="view/msg">this gets replaced</p> but there is no msg function in the view class.
<p tal:content="view/msg">this gets replaced</p>
msg
Add a msg funtion to the view python class (e.g. as follows):
def msg(self): return "msg from '%s'" % {{{ view_python_class_name }}}
An alternative would be to remove <p tal:content="view/msg">this gets replaced</p> from the template.
I'd prefer adding the msg function.
The template and view in
bobtemplates/plone/view/views
are not working together.The template uses
<p tal:content="view/msg">this gets replaced</p>
but there is nomsg
function in the view class.Add a
msg
funtion to the view python class (e.g. as follows):An alternative would be to remove
<p tal:content="view/msg">this gets replaced</p>
from the template.I'd prefer adding the
msg
function.