This message is about how to use dtml-calendar to get it's data out of an
odbc database
on 3/8/00 5:35 pm, R. David Murray at [EMAIL PROTECTED] wrote:
On Thu, 3 Aug 2000, tom smith wrote:
I'm still getting allsorts of errors. My code is like this...
dtml-let yearnr="date.yy()"
My problem was with passing the arguments around
I used ...
dtml-in "get_days_events(startDateString=startDateString)"
dtml-var namebr
/dtml-in
notice the startDateString=StartDateString...which I thought the dtml-let
would've handled, anywaythis seems to have fixed it
can
On Fri, 4 Aug 2000, tom smith wrote:
notice the startDateString=StartDateString...which I thought the dtml-let
would've handled, anywaythis seems to have fixed it
can anyone tell me why?
ZSQL methods do not pick variables up out of the name space because
the possability of unintended
"R. David Murray" wrote:
On Thu, 3 Aug 2000, Andrew Kenneth Milton wrote:
| Well, yeah. A restricted python environment. The point being, it follows
| python syntax rules grin.
kind of... :-)
In what way does it *not* follow Python (expression) syntax rules?
_['something']
on 3/8/00 10:14 am, Chris Withers at [EMAIL PROTECTED] wrote:
"R. David Murray" wrote:
On Thu, 3 Aug 2000, Andrew Kenneth Milton wrote:
| Well, yeah. A restricted python environment. The point being, it follows
| python syntax rules grin.
kind of... :-)
In what way does it *not*
On Thu, 3 Aug 2000, Chris Withers wrote:
In what way does it *not* follow Python (expression) syntax rules?
_['something'] doesn't just return the value from the dictionary which
has the 'something' key, if it's callable, it'll try to call it and then
return that... not nice :(
If you
On Thu, 3 Aug 2000, tom smith wrote:
I'm still getting allsorts of errors. My code is like this...
dtml-let yearnr="date.yy()" monthnr="date.mm()" daynr="date.dd()"
dtml-let startDateString="monthnr+'/'+daynr+'/'+yearnr"
dtml-in expr="get_days_events(startDateString)"
On Sat, 12 Aug 2000, tom smith wrote:
dtml-in get_days_events(dtml-var "date.mm()"/dtml-var
"date.dd()"/dtml-var "date.yy()")
Untested:
dtml-in expr="get_days_events('%s/%s/%' % (date.mm(),date.dd(),date.yy())"
Inside the quotes you are in Python...
--RDM
+[ R. David Murray ]-
| On Sat, 12 Aug 2000, tom smith wrote:
| dtml-in get_days_events(dtml-var "date.mm()"/dtml-var
| "date.dd()"/dtml-var "date.yy()")
|
| Untested:
|
| dtml-in expr="get_days_events('%s/%s/%' %
On Thu, 3 Aug 2000, Andrew Kenneth Milton wrote:
| Untested:
|
| dtml-in expr="get_days_events('%s/%s/%' % (date.mm(),date.dd(),date.yy())"
|
| Inside the quotes you are in Python...
kind of...
Well, yeah. A restricted python environment. The point being, it follows
python syntax
+[ R. David Murray ]-
| On Thu, 3 Aug 2000, Andrew Kenneth Milton wrote:
| | Untested:
| |
| | dtml-in expr="get_days_events('%s/%s/%' % (date.mm(),date.dd(),date.yy())"
| |
| | Inside the quotes you are in Python...
|
| kind of...
|
|
On Thu, 3 Aug 2000, Andrew Kenneth Milton wrote:
| Well, yeah. A restricted python environment. The point being, it follows
| python syntax rules grin.
kind of... :-)
In what way does it *not* follow Python (expression) syntax rules?
--RDM
12 matches
Mail list logo