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 > > > >   In some cases, "html_quote" will be necessary, or a dtml-entity reference (which automatically does "html_quote") like this: or As a general rule, use a dtml

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. > > > valid_codes>  > > Try this Br

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. > > > valid_codes>  > > try (untested):   assuming of c

[Zope] DTML Question on lines

2000-09-07 Thread Coleman, Bryan
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.   - Bryan Patrick Coleman Questcon Technologies (336)273-2428 ext-

[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] Objet : Re: [Zope] dtml question from a Envoyé par : newbiz I want to access a dtml pag

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

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

2000-07-27 Thread Jerome Alet
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) have you tried (UNTESTED) : ? bye, Jerome ALET - [EMAIL PROTECTED] - http://cortex.unice.fr/~jerome F

[Zope] dtml question from a newbizzzzz I want to access a dtml page under asubfoldersubfolder

2000-07-27 Thread dsergent
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 David Sergent ___

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

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

Re: [Zope] DTML question

2000-06-28 Thread Luke Tymowski
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. I wasn't seeing that problem on my production server (2.1.4) because it has 70-odd documents in the folder I query. (I'm trying out t

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' paramet

Re: [Zope] DTML question

2000-06-28 Thread Luke Tymowski
Hello, > should > work, no? No. This works on my production server, which runs Zope 2.1.14. But if I try that same code on 2.2b2 it doesn't work. If the subfolder is down 1, then size=1 works, but size=2 returns everything. If the subfolder is down 2, then size=1 wor

Re: [Zope] DTML question

2000-06-28 Thread Rik Hoekstra
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 use > 2 I also get everything in t

[Zope] DTML question

2000-06-27 Thread Luke Tymowski
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 use 2 I also get everything in the subfolder ) Here is my code (using