[Silva-general] Viewing zope objects like one would view() a Silva object?

Jules jules at jules.com
Sun Mar 19 20:45:09 CET 2006


Would

	<span tal:replace="structure python:here.get_root().cool_object()"/>

work?

On Mar 17, 2006, at 7:08 PM, Tuomas Tonteri wrote:

> This is not strictly a Silva question, but I am desperate.
>
> Suppose one would like to include the html output of this Really- 
> Cool zope object located at /Silvaroot/cool_object in the page  
> template layout_macro.html.
>
> For a Silva object I could do:
> 	<div tal:replace="structure python:here.get_root 
> ().my_silvaobject.view()" />
>
> But how do I do the same with the cool_object, which outputs it's  
> "view" when opening it by the url, and that "view" I would like to  
> just tal:replace into my template.
>
> -- 
> Tuomas Tonteri
> _______________________________________________
> Silva-general mailing list
> Silva-general at infrae.com
> https://infrae.com/mailman/listinfo/silva-general

--
Q: What is the difference between a designer and a programmer?
  A: A designer knows he can't program.




More information about the Silva-general mailing list