I have managed to render wiki formatted text as a
PRDocument in my
component. When rendering I have to set the owner of the document to
'context structure'. However as soon as I embed the component in
another
page, links that are relative to the original component do not
resolve.
I seem unable to find any way of obtaining the parent PRComponent
(i.e.
the owner) of a PRWidget, am I missing something?
#owner: should only be called after a document is parsed. It is used
to resolve the links relative to the structure given as argument.
Lukas
Keith
Hi Lukas,
I am struggling to see how components can register sub-components as
children.
One of my components has a header/footer fields which are rendered
using
wiki format.
Unfortunately embedding components in this format does not work
and I am
trying to find a way to fix it.
any thoughts?
Keith
_______________________________________________
SmallWiki, Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki
--
Lukas Renggli
http://www.lukas-renggli.ch