[ZWeb] Zope.org feedback: operands causes mistakes
Steve Spicklemire
steve@spvi.com
Mon, 10 Jun 2002 11:53:37 -0500
Hi Jan,
Probably the zope@zope.org list is better than zope-web for this kind of
thing. Try invoking your method as:
http://yourzope.com:8080/yourMethod?loop_item:int=3
The type of marshaled arguments is "string" by default. If you need
numeric behavior, you need to tell Zope that this thing is an
int/float/whatever..
good luck!
-steve
On Monday, June 10, 2002, at 09:53 AM, Jan (via www.zope.org) wrote:
> Hi!
> I despair of this problem!
> The operands causes mistakes!
> What should I do?
> Please mail back!
> Thanks!
> Bye, Jan
>
> <dtml-var standard_html_header>
> The square of <dtml-var loop_item> is:
> <dtml-var expr="_.getitem('loop_item') *
> _.getitem('loop_item')">
> <dtml-var standard_html_footer>
>
>
> Error Type: TypeError
> Error Value: unsupported operand type(s) for *
>
> ----------------------------------------------------------
> This email was generated from the Zope.org feedback form
> It was invoked from a link on http://www.zope.org
>
>
>
> _______________________________________________
> Zope-web maillist - Zope-web@zope.org
> http://lists.zope.org/mailman/listinfo/zope-web