[Zope] ReturnValue of ExternalMethod

vanroose wim vanroose@ruca.ua.ac.be
Wed, 28 Jul 1999 19:10:49 +0200


--------------AFBAD7F51E207FF81A8FBCD9
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit



I    have   an   ExternalMethod  Article that  may only be called once.
But I want to use the returnvalue, a string,   in two places.


Use of namespace doesnot solve the problem
 <!--#with  "_.namespace(story_id=Article)"-->
<!--#var story_id-->
<!--#var story_id-->
<!--#/with-->
The function is still called Twice



Wim Vanroose

--------------AFBAD7F51E207FF81A8FBCD9
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
&nbsp;
<P>I&nbsp;&nbsp;&nbsp; have&nbsp;&nbsp; an&nbsp;&nbsp; ExternalMethod&nbsp;
<I>Article </I>that&nbsp; may only be called once.
<BR>But I want to use the returnvalue, a string,&nbsp;&nbsp; in two places.
<BR>&nbsp;
<P>Use of namespace doesnot solve the problem
<BR>&nbsp;&lt;!--#with&nbsp; "_.namespace(story_id=Article)"-->
<BR>&lt;!--#var story_id-->
<BR>&lt;!--#var story_id-->
<BR>&lt;!--#/with-->
<BR>The function is still called Twice
<BR>&nbsp;
<BR>&nbsp;
<P>Wim Vanroose</HTML>

--------------AFBAD7F51E207FF81A8FBCD9--