FW: [Zope] How to calculate variables using DTML
Alexander Alvarado
funalito at hotmail.com
Fri Sep 12 19:42:38 EDT 2003
I trayed closing the <dtml-set> but is not working, is there any other way
of doing this using dtml?
>From: "Giuseppe Bonelli" <giuseppe.bonelli at tiscali.it>
>Reply-To: giuseppe.bonelli at tiscali.it
>To: <zope at zope.org>
>Subject: FW: [Zope] How to calculate variables using DTML
>Date: Sat, 13 Sep 2003 01:33:22 +0200
>
>
>Hi Alexander,
>
>this means the problem is not in the <dtml-let > code. It seems that the
>dtml file containing the form or whatever is missing a parameter named
>'data' expected by the form processing method.
>
>Have you closed the <dtml-let> tag ?
>
>__peppo
>
> > -----Original Message-----
> > From: Alexander Alvarado [mailto:funalito at hotmail.com]
> > Sent: sabato 13 settembre 2003 0.10
> > To: giuseppe.bonelli at tiscali.it
> > Subject: RE: [Zope] How to calculate variables using DTML
> >
> >
> > The error I recieve is:
> >
> > Invalid request
> >
> > The parameter, data, was omitted from the request.
> > Make sure to specify all required parameters, and try the
> > request again.
> >
> > It happens when I try to save the changes on the dtml
> > document, and when I
> > erase this line it gives no error.
> >
> >
> > >From: "Giuseppe Bonelli" <giuseppe.bonelli at tiscali.it>
> > >Reply-To: <giuseppe.bonelli at tiscali.it>
> > >To: "Alexander Alvarado" <funalito at hotmail.com>,<zope at zope.org>
> > >Subject: RE: [Zope] How to calculate variables using DTML
> > >Date: Sat, 13 Sep 2003 00:06:33 +0200
> > >
> > >What kind of error you get?
> > >
> > >Have a look at your REQUEST object to check that the variables are
> > >there.
> > >
> > >__peppo
> > >
> > > > -----Original Message-----
> > > > From: zope-bounces at zope.org
> > [mailto:zope-bounces at zope.org]On Behalf Of
> > > > Alexander Alvarado
> > > > Sent: venerdì 12 settembre 2003 23.35
> > > > To: zope at zope.org
> > > > Subject: [Zope] How to calculate variables using DTML
> > > >
> > > >
> > > >
> > > > Hi I just want to create a new variable adding some other
> > vatiables,
> > > > something like:
> > > >
> > > > TTP= ( T_ADT + T_SRC + T_CHD)*TT_NITES
> > > >
> > > > As I recieve this variables from a previous form I guess I
> > > > have to convert
> > > > them into integer I thought that <dtml-set
> > > > TTP="(_.int(ADT)+_.int(CHD)+_.int(SRC)*(_.int(TT_NITES))">
> > > > would work, but
> > > > it does not.
> > > >
> > > > Hoe can I do this?
> > > >
> > > > Thanks !!!!!!!!!!!!!!!!!!!!!!!!!
> > > >
> > > > _________________________________________________________________
> > > > Charla con tus amigos en línea mediante MSN Messenger:
> > > > http://messenger.yupimsn.com/
> > > >
> > > >
> > > > _______________________________________________
> > > > Zope maillist - Zope at zope.org
> > > > http://mail.zope.org/mailman/listinfo/zope
> > > > ** No cross posts or HTML encoding! **
> > > > (Related lists -
> > > > http://mail.zope.org/mailman/listinfo/zope-announce
> > > > http://mail.zope.org/mailman/listinfo/zope-dev )
> > > >
> > >
> >
> > _________________________________________________________________
> > Charla con tus amigos en línea mediante MSN Messenger:
> > http://messenger.yupimsn.com/
> >
> >
>
>
>_______________________________________________
>Zope maillist - Zope at zope.org
>http://mail.zope.org/mailman/listinfo/zope
>** No cross posts or HTML encoding! **
>(Related lists -
> http://mail.zope.org/mailman/listinfo/zope-announce
> http://mail.zope.org/mailman/listinfo/zope-dev )
_________________________________________________________________
Charla con tus amigos en línea mediante MSN Messenger:
http://messenger.yupimsn.com/
More information about the Zope
mailing list