From lists at andreas-jung.com Fri Jul 1 01:01:29 2005 From: lists at andreas-jung.com (Andreas Jung) Date: Fri Jul 1 01:08:51 2005 Subject: [Zope] Starting a search from the correct folder In-Reply-To: <20050630222737.M73@warpix.org> References: <20050630222737.M73@warpix.org> Message-ID: --On 30. Juni 2005 22:27:37 +0100 John Poltorak wrote: > > > I have some code which here:- > >
> > tal:attributes="href item/absolute_url" > tal:content="item/title_or_id">PARENT TITLE OR > ID
> > > > > which automatically generates links to a number of folders which is > exactly what I want. Understanding that Zope could do something like this > has taken me quite a bit of time, although I still don't understand how > this code works. What it actualy does is list the folders in the current > folder and then allows me to select one which generates a subsequent list. > What I'd like to do is skip the first list. If I want to generate a list > of folders in say the 'groups' folder, how would I change the code above? > > > What is your real problem? I've read the posting three time and I not still not getting to the point what you mean. -aj -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 186 bytes Desc: not available Url : http://mail.zope.org/pipermail/zope/attachments/20050701/3b0f7178/attachment.bin From rbeer1 at uni-goettingen.de Fri Jul 1 05:31:24 2005 From: rbeer1 at uni-goettingen.de (Ragnar Beer) Date: Fri Jul 1 05:39:54 2005 Subject: [Zope] Problem with ZSQLMethods/MySQL after update In-Reply-To: <17089.35891.623719.987759@gargle.gargle.HOWL> References: <20050627165026.GA969@training.uni-psych.gwdg.de> <17089.35891.623719.987759@gargle.gargle.HOWL> Message-ID: <20050701113124.5668dc2d.rbeer1@uni-goettingen.de> Thanks a lot for your help, Dieter, Greg, and Andy! Dieter, you were absolutely right about the broken instances. All I had to do was delete ZSQLMethods from my Products folder and restart Zope. Everything was all right after that. Andy and Greg, so far I did not have any problems using mysqlpython 1.2.0 with ZMySQLDA 2.0.8. But since Andy is the expert I now installed 2.0.9b3 and am happy with it. :-) Cheers and thanks again, Ragnar On Tue, 28 Jun 2005 19:43:15 +0200 Dieter Maurer wrote: > Ragnar Beer wrote at 2005-6-27 18:50 +0200: > >After upgrading Zope from version 2.6.4 to 2.8.0 and mysqlpython from > >0.9.2 to 1.2.0 I cannot add or edit ZSQLMethods anymore, although there > >is an open(MySQL)db-Connection that works just fine with the same > >ZSQLMethods that cannot be edited or with external methods. The error > >I'm getting is: > > > >"There are no SQL database connections. You need to add a Zope SQL > >database connection before you can edit a Zope SQL Method." > > Almost surely, your "ZMySQLDA" instances are broken (and then > do not behave as "SQL database connection" instances). > > Check your Zope logfile for messages of the form > "could not install product...". > > -- > Dieter > _______________________________________________ > Zope maillist - Zope@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 ) > From rmehta at gmail.com Fri Jul 1 07:21:16 2005 From: rmehta at gmail.com (Rushabh Mehta) Date: Fri Jul 1 07:35:41 2005 Subject: [Zope] Re: TAL and Javascript In-Reply-To: <20050630160014.97BE9203414@mail.zope.org> References: <20050630160014.97BE9203414@mail.zope.org> Message-ID: <5779933c05070104214671363b@mail.gmail.com> Rob, I was recently working on a similar problem. You will need to use the xmlhttprequest function in Javascript do all the work. And its quite easy once you get the hang of it. Heres a good tutorial to get started: http://developer.apple.com/internet/webcontent/xmlhttpreq.html For your problem, if your required server result is a simple list, let a zope script generate a tab-delimited list and you can retrive it using the request.responseText (see the xmlhttprequest) and skip working with the XMLDOM, which can by quite annoying. Rushabh ---------------------------- Message: 8 Date: Wed, 29 Jun 2005 12:20:17 -0700 (PDT) From: Rob Boyd Subject: [Zope] TAL and Javascript To: zope@zope.org Message-ID: <20050629192017.66907.qmail@web42005.mail.yahoo.com> Content-Type: text/plain; charset=iso-8859-1 Thanks to all the responders. It gave me some ideas, but alas no luck. To clarify, I am not trying to do everything in one request. Request one generates the page, a user event (selecting an option from a form) fires another request via javascript. like: