Re: [Zope] Multiple SUBMIT images on one form

2006-02-06 Thread Richard Smith
Andrew Milton wrote: +---[ Richard Smith ]-- | I gather that the problem whereby having more than one IMG submit on a | single form causes some browsers (IE but not firefox) problems is well | known. The problem is solved by using the positional attributes x,y in | a

[Zope] Multiple SUBMIT images on one form

2006-02-06 Thread Richard Smith
I gather that the problem whereby having more than one IMG submit on a single form causes some browsers (IE but not firefox) problems is well known. The problem is solved by using the positional attributes x,y in a cgi script. However, using Zope I cannot see how to access these atributes anm

Re: [Zope] Displaying pdf

2005-12-01 Thread Richard Smith
Chris Withers wrote: Peter Bengtsson wrote: pdffile = getattr(context, 'some.pdf') return pdffile I think you'd have to set a content-disposition header if you did that... cheers, Chris I wondered, but it seems to work in both firefox and ie without. Rick

[Zope] SQL query results as values ?

2000-05-30 Thread Richard Smith
Maybe my question was too dense. I will try again. lets say I do this in a ZSQL method SELECT * FROM foo; of course I get a table of results. Now can I some how run another query base on the results, like to do an UPDATE and have the use the values from the table ? Please, I just need a little

[Zope] SQL returns as ?

2000-05-28 Thread Richard Smith
Say I have a query like.. SELECT * FROM foo; Can I, in Zope have the results come back so I can use then as in other statements. Like have a link to update a row at the end of a table ? If so can someone give me an example ? Thanks Richard _

Re: [Zope] Zope Pgsql 7.0/SQL Schema HeLp!

2000-05-21 Thread Richard Smith
Lindell Alderman wrote: > > > I have Zope all set, and I can run all your standard SELECT, INSERT, > > UPDATE stuff. > > But I have one hitch, I can't seem to figure out how to make it so an > > end user > > could add a name and email address without knowing about the PKEY > > number. This is no

[Zope] Zope Pgsql 7.0/SQL Schema HeLp!

2000-05-20 Thread Richard Smith
This is going to be a long winded questions. Ok I have been hacking around with Zope and Pgsql for awhile now. I am trying to learn both at the same time, not any easy task, I don't know SQL that well. I learn by doing ,and this is really fun, kinda like a digital puzzle of sorts. So any way I se

Re: [Zope] Representing rows from a ZSQL method

2000-05-19 Thread Richard Smith
Juan Carlos Coruña wrote: > > Hi all! > > I must manage a lot of information coming from a database and represent it > on the web. > > For example: > -Displaying an order on the web with the order header (consisting of the > client name, address, ZIP, etc.) and the order lines with the