Re: [Zope] TinyTable : filter query pb

2001-01-26 Thread Mike Renfro

On Fri, Jan 26, 2001 at 11:39:51PM +0800, Bak @ kedai wrote:

 i think you want
 untested
 dtml-call "REQUEST.set('usager',AUTHENTICATED_USER.getUserName())"
 
 /untested

Any way we can get this included in the Zope book? There's a section
where they show using getUserName(), but this whole
"AUTHENTICATED_USER is an object, not a string" business comes up
pretty frequently.

-- 
Mike Renfro  / RD Engineer, Center for Manufacturing Research,
931 372-3601 / Tennessee Technological University -- [EMAIL PROTECTED]

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] terrible kludge to set password

2001-01-02 Thread Mike Renfro

On Mon, Jan 01, 2001 at 04:29:24PM -0500, Kyler B. Laird wrote:

 I was unsuccessful at finding any examples of changing a user's
 password from DTML, but I did see a few requests for such
 functionality.

http://www.zope.org/Members/tseaver/user_settable_passwords

-- 
Mike Renfro  / RD Engineer, Center for Manufacturing Research,
931 372-3601 / Tennessee Technological University -- [EMAIL PROTECTED]

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] locking help

2000-10-10 Thread Mike Renfro

On Tue, Oct 10, 2000 at 04:58:46PM +0930, Mark Twiddy wrote:

 Can someone please tell me what is going on. while querying a
 postgres database i am unable to access any crap from zope. I have
 tried creating a db connection in a enternal method and querying
 through that but it still locks and wont serve any requests.

Don't know if this will help, but my Zope/Postgresql experience has
gone remarkably well.

I have the following packages installed on an otherwise regular Debian
2.2 machine:

libpgsql2 7.0.2-6 Shared library libpq.so.2 for PostgreSQL
postgresql7.0.2-6 Object-relational SQL database, descended fr
postgresql-client 7.0.2-6 Front-end programs for PostgreSQL
postgresql-dev7.0.2-6 Header files for libpq (postgresql library)
postgresql-doc7.0.2-6 Documentation for the PostgreSQL database.
python-pygresql   7.0.2-6 PostgreSQL module for Python
zope  2.2.2-1 The Z Object Publishing Environment
zope-pygresqlda   0.3rjr2-1   A Zope Database Adapter for PostgreSQL

Between those packages, following the PostgreSQL tutorial at
postgresql.org, and following the Z SQL Methods User's Guide
(http://www.zope.org/Documentation/Guides/ZSQL-HTML/ZSQL.html), I'm
working fine. Where are the actual errors?

-- 
Mike Renfro  / RD Engineer, Center for Manufacturing Research,
931 372-3601 / Tennessee Technological University -- [EMAIL PROTECTED]

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] ZFormulator -- how to make an SQL insert?

2000-09-26 Thread Mike Renfro

I looked in the archives for anything concerning this, and came up
empty. I have zformulator set up with postgres, and it appears to work
fine, except that I've not found the zen to make it actually do an SQL
insert -- I know the GetSQL method will extract the proper code, but
am I missing something trivial that'll let me actually execute the SQL
code? Thanks.

-- 
Mike Renfro  / RD Engineer, Center for Manufacturing Research,
931 372-3601 / Tennessee Technological University -- [EMAIL PROTECTED]

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )