RE: [Zope] with a variable

2001-01-13 Thread Eric Walstad
// I want to get some properties for a zclass instance after being // passed its // id in a variable. In these tests I have been defining the varible in the // code, in the final case it will be passed through the url. // // Using the id directly as above works fine, it writes the // attribu

Re: [Zope] with a variable

2001-01-12 Thread Dieter Maurer
josh on writes: > This interprets "979226100" as a name! > > > > This doesn't: > This interprets "979226100" as an integer. You could use Dieter ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** N

Re: [Zope] with a variable

2001-01-12 Thread josh on
I got it to work thanks for the help! it was the cobination of no quotes around the the userid AND setting the variable as a string not an integer! arrrggghh... thank godness, now I can have lunch. josh on ___ Zope maillist - [EMAIL PROTECTE

Re: [Zope] with a variable

2001-01-12 Thread josh on
thanks Steve and Rick, Unfortunately both your solutions brought up this error: Error Type: SystemError Error Value: bad argument to internal function > > > > > or > > > This works: > > > > > > I want to get some properties for a zclass instance after being passed its id in a variabl

Re: [Zope] with a variable

2001-01-12 Thread josh on
I want to read an zclass instances' properties. I want to make some dtml that can be passed the instances' id then give me the properties that I request. I was trying and it worked when I plugged the id striaght into it, but when I tried substituting that with a dynamic varible I couldn't get

Re: [Zope] with a variable

2001-01-11 Thread Steve Spicklemire
How about this: or -steve > > Hi, > > a small problem!, > > This works: > > > > > This doesn't: > > > > > > Nor this: > > > > > > Nor this: > > > > > > What I want to do is have a varible passed to the page which says what > zclass instance to get the properties