[Zope] Trivial challenge ?

2001-01-23 Thread Olivier Deckmyn
Hi all, I have a problem that looks simple (if not trivial) : I would like to "render" a DTML Document using a DTML Method. The DTMLDoc is "mydoc", has a title (="My Document") and a content (="I am the doc content") The DTMLMethod is "render" and its code is : """ I am rendering the dtml-var

Re: [Zope] Trivial challenge ?

2001-01-23 Thread Andrew Kenneth Milton
+---[ Olivier Deckmyn ]-- | Hi all, | """ | dtml-with mydoc | dtml-var render | /dtml-with Why don't you just do dtml-var mydoc ? you can also do dtml-var "mydoc.render(_.None,_)" I suppose -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew

Re: [Zope] Trivial challenge ?

2001-01-23 Thread Olivier Deckmyn
t: Tuesday, January 23, 2001 2:43 PM Subject: Re: [Zope] Trivial challenge ? +---[ Olivier Deckmyn ]-- | Hi all, | """ | dtml-with mydoc | dtml-var render | /dtml-with Why don't you just do dtml-var mydoc ? you can also do dtml-var "mydoc.r

Re: [Zope] Trivial challenge ?

2001-01-23 Thread Andrew Kenneth Milton
+---[ Olivier Deckmyn ]-- | I tried dtml-var "mydoc.render(_.None,_)" | | The same result : does'nt work...(exactly like with the dtml-with tag) and dtml-var mydoc ? -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet

Re: [Zope] Trivial challenge ?

2001-01-23 Thread Chris Withers
Olivier Deckmyn wrote: this is not what I need !!! Yes : dtml-var mydoc displays the content of the document... But I don't need this. The example I gave is a simplified pb of my __real_world__ problem ... Just to show the interessting point ! My __real_world__ document has several

Re: [Zope] Trivial challenge ?

2001-01-23 Thread Olivier Deckmyn
a lot of renderers (this explains that...) Thanx ! - Original Message - From: "Andrew Kenneth Milton" [EMAIL PROTECTED] To: "Olivier Deckmyn" [EMAIL PROTECTED] Cc: "Andrew Kenneth Milton" [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Tuesday, January 23, 2001 3:12

Re: [Zope] Trivial challenge ?

2001-01-23 Thread Tim Cook
Olivier Deckmyn wrote: this is not what I need !!! Yes : dtml-var mydoc displays the content of the document... But I don't need this. The example I gave is a simplified pb of my __real_world__ problem ... Just to show the interessting point ! My __real_world__ document has several

Re: [Zope] Trivial challenge ?

2001-01-23 Thread Wolfgang Strobl
On 23 Jan 2001, at 14:17, Chris Withers wrote: Olivier Deckmyn wrote: this is not what I need !!! Yes : dtml-var mydoc displays the content of the document... But I don't need this. The example I gave is a simplified pb of my __real_world__ problem ... Just to show the