I have a problem with a ZClass that is subclassed from an ZObjectManager. I have a DTMLMethod defined in this ZClass called standardDisplay, this shows some properties of the ZClass and also displays an Image (ExtImage in this case) that is contained by the ZClass. This method works fine when called directly on an instance of the ZClass as in http://localhost:8080/xxx/classInstance/standardDisplay but fails to display the Image when accessed through the aquired index_html Method in classInstance so the link http://localhost:8080/xxx/classInstance/ displays the correct index_html (standardDisplay is called from index_html) information but fails to display the Image (it does display the properties correctly) I am using <dtml-in "objectValues(['ExtImage'])"><dtml-var sequence-item></dtml-in> in standardDisplay to get access to the image How come it works directly, but not when called through index_html ? Thank you for any hints, Harald -- ------------------------------------------------------------------- Harald Scheirich | Voice:+(431) 585 66 30-621 Head of R&D | Fax: +(431) 585 66 30-643 01 EDV consulting & development GmbH | scheirich@nulleins.at Linke Wienzeile 4/2/2 | A-1060 Vienna, Austria | http://www.nulleins.at/ -------------------------------------------------------------------
Traceback? -steve
"HS" == Harald Scheirich <scheirich@nulleins.at> writes:
HS> I have a problem with a ZClass that is subclassed from an HS> ZObjectManager. HS> I have a DTMLMethod defined in this ZClass called HS> standardDisplay, this shows some properties of the ZClass and HS> also displays an Image (ExtImage in this case) that is HS> contained by the ZClass. This method works fine when called HS> directly on an instance of the ZClass as in HS> http://localhost:8080/xxx/classInstance/standardDisplay HS> but fails to display the Image when accessed through the HS> aquired index_html Method in classInstance so the link HS> http://localhost:8080/xxx/classInstance/ HS> displays the correct index_html (standardDisplay is called HS> from index_html) information but fails to display the Image HS> (it does display the properties correctly) HS> I am using <dtml-in "objectValues(['ExtImage'])"><dtml-var HS> sequence-item></dtml-in> in standardDisplay to get access to HS> the image HS> How come it works directly, but not when called through HS> index_html ? HS> Thank you for any hints, Harald -- HS> ------------------------------------------------------------------- HS> Harald Scheirich | Voice:+(431) 585 66 30-621 Head of R&D | HS> Fax: +(431) 585 66 30-643 01 EDV consulting & development GmbH HS> | scheirich@nulleins.at Linke Wienzeile 4/2/2 | A-1060 Vienna, HS> Austria | http://www.nulleins.at/ HS> ------------------------------------------------------------------- HS> _______________________________________________ Zope maillist HS> - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** HS> No cross posts or HTML encoding! ** (Related lists - HS> http://lists.zope.org/mailman/listinfo/zope-announce HS> http://lists.zope.org/mailman/listinfo/zope-dev )
No traceback the method performs cleanly, btw i am using zope 2.3 Harald At 5:56 AM -0500 2/9/01, Steve Spicklemire wrote:
Traceback?
-steve
"HS" == Harald Scheirich <scheirich@nulleins.at> writes:
HS> I have a problem with a ZClass that is subclassed from an HS> ZObjectManager.
Hmm.... did you 'view source' to see what you really got? -steve
"HS" == Harald Scheirich <scheirich@nulleins.at> writes:
HS> No traceback the method performs cleanly, btw i am using zope HS> 2.3 Harald At 5:56 AM -0500 2/9/01, Steve Spicklemire wrote: >> Traceback? >> >> -steve >>>>>>> "HS" == Harald Scheirich <scheirich@nulleins.at> writes: >> HS> I have a problem with a ZClass that is subclassed from an HS> ZObjectManager. >>
participants (2)
-
Harald Scheirich -
Steve Spicklemire