Re: [Zope] DTML Question on lines

2000-09-08 Thread Dieter Maurer
Tim Cook writes: "Coleman, Bryan" wrote: I am trying to itterate through a lines SELECT name="mySelection" dtml-in valid_codes option value="dtml-var sequence-item" dtml-var sequence-item nbsp; /option In some cases, "html_quote" will be necessary, or a dtml-entity

Re: [Zope] DTML Question on lines

2000-09-07 Thread Rik Hoekstra
I am trying to itterate through a lines property in the folder so that the options will drop down. I did not think that the following code would work but I could not think of anything else. dtml-in valid_codes option value="dtml-var valid_codes"dtml-var

Re: [Zope] DTML Question on lines

2000-09-07 Thread Tim Cook
"Coleman, Bryan" wrote: I am trying to itterate through a lines property in the folder so that the options will drop down. I did not think that the following code would work but I could not think of anything else. dtml-in valid_codes option value="dtml-var

Re: [Zope] dtml question from a newbizzzzz I want to access a dtmlpage under a subfolder subfolder

2000-07-27 Thread Marcel Preda
On Thu, 27 Jul 2000 [EMAIL PROTECTED] wrote: I want to access a dtml page under a subfolder - portal (folder) - index1 (dtml) - reunion (folder) - index2 (dtml) I want to acces the index2 variable in the index1 dtml page. How can I do it ? thks for your answer

[Zope] Réf. : Re: [Zope] dtml question from a newbizzzzz I want to access a dtmlpage under a subfolder subfolder: [Zope] dtml question from a newbizzzzz I want to access a dtmlpage under a subfolder subfolder

2000-07-27 Thread dsergent
arcel Preda" Pour : [EMAIL PROTECTED] marcel@puntocc : .it Objet : Re: [Zope] dtml que

Re: [Zope] DTML question

2000-06-28 Thread Luke Tymowski
Hello, dtml-in "PARENTS[0].objectValues(['DTML Document'])" size=3 sort=id should work, no? No. This works on my production server, which runs Zope 2.1.14. dtml-with history dtml-with 2000 dtml-in "objectValues(['DTML Document'])" size=3 sort=title reverse dtml-var

Re: [Zope] DTML question

2000-06-28 Thread R. David Murray
On Wed, 28 Jun 2000, Luke Tymowski wrote: If the subfolder is down 2, then size=1 works, size=2 works, but size=3 returns everything. By down 2 I mean like the example code above (folder I want to query is two levels down). Maybe it's a 2.2 bug? Maybe you need the 'orphan' parameter on

Re: [Zope] DTML question

2000-06-28 Thread Dieter Maurer
Rik Hoekstra writes: Luke Tymowski wrote: Hello, I want to retrieve the last 3 filenames from a subfolder and display them in a document. If I set the size of the retrieval to 1, I get just 1 name returned. If I set the size to 3, I get everything in the folder. (if I

Re: [Zope] DTML question

2000-06-28 Thread Curtis Maloney
On Thu, 29 Jun 2000, Luke Tymowski wrote: Hello, Maybe you need the 'orphan' parameter on your dtml-in? Thanks. That did the trick. I really hope that O'Reilly book gets done sooner rather than later. Well, to be honest, I've found the existing documentation on that topic to be very