Re: [Zope] variable propagation
Pavel Zaitsev wrote: В Пнд, 24/07/2006 в 15:00 -0700, David H пишет Pavel, You question is a bit vague but ... Make your index_html a python script. And then stuff your REQUEST with info you want Then just call the Page Template ... request.set('formvar1', somevalue) return context.myPageTemplate(context.request) Of course of you have submit with an action="" and method="post". Then you can intercept all calls using index_html, do what you need to do and *then* render the next form. here is description: root/ index_html index_tmpl <-- invokes here.content_html root/some/web/page index_html <-- overriding root one, calls -- context.index_tmpl(some parameters=some parameters). content_html <-- gets called from index_tmpl So i want parameters that are presented to index_html be presented to context_html just like they would be presented to index_html. So i would be able to call context_html from outside as well from the inside. Ie should work in both cases. I thought thats the way zope's code reuse works. Thanks Pavel Pavel, How are you invoking templates? Give code snippets. Have you read the "Advanced Scripting" section in the Zope book? Plope.com has a the latest version (i think). David ___ 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 )
Re: [Zope] variable propagation
В Пнд, 24/07/2006 в 15:00 -0700, David H пишет > Pavel, > > You question is a bit vague but ... > > Make your index_html a python script. And then stuff your REQUEST with > info you want > > Then just call the Page Template ... > > request.set('formvar1', somevalue) > return context.myPageTemplate(context.request) > > Of course of you have submit with an action="." and method="post". > > Then you can intercept all calls using index_html, do what you need to > do and *then* render the next form. here is description: root/ index_html index_tmpl <-- invokes here.content_html root/some/web/page index_html <-- overriding root one, calls -- context.index_tmpl(some parameters=some parameters). content_html <-- gets called from index_tmpl So i want parameters that are presented to index_html be presented to context_html just like they would be presented to index_html. So i would be able to call context_html from outside as well from the inside. Ie should work in both cases. I thought thats the way zope's code reuse works. Thanks Pavel ___ 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 )
Re: [Zope] variable propagation
Pavel Zaitsev wrote: Hi, I would like to ask how to propagate variables from initial index_html call to deeper levels. Say I have index_html python script, I invoke it then I would like to feed some data to "generic" template, that will in turn will invoke template in the same directory that will do nice layout of my results. Generic template lies below all other objects, in directory tree, in the root. When I execute the command chain, variables are not passed and options is lost on one layer of zpt calls. Is there way to rectify that. Thanks Pavel Pavel, You question is a bit vague but ... Make your index_html a python script. And then stuff your REQUEST with info you want Then just call the Page Template ... request.set('formvar1', somevalue) return context.myPageTemplate(context.request) Of course of you have submit with an action="." and method="post". Then you can intercept all calls using index_html, do what you need to do and *then* render the next form. David ___ 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 )
[Zope] variable propagation
Hi, I would like to ask how to propagate variables from initial index_html call to deeper levels. Say I have index_html python script, I invoke it then I would like to feed some data to "generic" template, that will in turn will invoke template in the same directory that will do nice layout of my results. Generic template lies below all other objects, in directory tree, in the root. When I execute the command chain, variables are not passed and options is lost on one layer of zpt calls. Is there way to rectify that. Thanks Pavel ___ 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 )
Re: [Zope] Variable sort and multiple sort in dtml-in
Hi Loren, There is also Zieve: http://www.zope.org/Members/sspickle/Zieve Not quite as easy as a 'fixed' but it does work (today). -steve > "Loren" == Loren Stafford <[EMAIL PROTECTED]> writes: Loren> On 02 July 2000, Adam Karpierz, posted a patch that would Loren> allow an expression for the sort specification for the Loren> dtml-in tag. Did that patch, or something like it, ever Loren> find its way into the Zope core? Loren> I also seem to remember some discussion of sorting on Loren> multiple items (but can't find any trace of it in the Loren> archives). For example, in an employee directory, sort on Loren> employee name within department. Anyone know how? Loren> I'm trying to provide user-specified sorting on the records Loren> I pull from a SQL database. When the user specifies sorting Loren> on Department, I assume he wants the records order by Name Loren> within each department, but I can't see how to do that with Loren> ZSQL or dtml-in. Loren> -- Loren Loren> ___ Zope Loren> maillist - [EMAIL PROTECTED] Loren> http://lists.zope.org/mailman/listinfo/zope ** No cross Loren> posts or HTML encoding! ** (Related lists - Loren> http://lists.zope.org/mailman/listinfo/zope-announce Loren> http://lists.zope.org/mailman/listinfo/zope-dev ) ___ 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] Variable sort and multiple sort in dtml-in
On 02 July 2000, Adam Karpierz, posted a patch that would allow an expression for the sort specification for the dtml-in tag. Did that patch, or something like it, ever find its way into the Zope core? I also seem to remember some discussion of sorting on multiple items (but can't find any trace of it in the archives). For example, in an employee directory, sort on employee name within department. Anyone know how? I'm trying to provide user-specified sorting on the records I pull from a SQL database. When the user specifies sorting on Department, I assume he wants the records order by Name within each department, but I can't see how to do that with ZSQL or dtml-in. -- Loren ___ 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] variable length forms...
Will give you the item value. If you want to evaluate that value do: or a little cleaner wrap it in a let so that -- Andy McKay, Developer. ActiveState. - Original Message - From: "zope" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, November 07, 2000 1:55 AM Subject: [Zope] variable length forms... > Hi. > > I have tried to implement a variable length form. > > Yes, I have read > http://www.zope.org/Members/jpenny/variable_length_forms/index_html.! > > I a form, I'm using following form fields: > > > > > > > > > > > where form_numpages is a variable that i got from a previous form. > This form works fine and generates me form_numpages lines with always one > textfield and a group of 2 radiobuttons named per line. > > form_time_out radiob1 radiob1 > form_time_out radiob2 radiob2 > form_time_out radiob3 radiob3 > ... > > The contents of this form is submitted and I want to interpret the data > with following method: > > 1: > 2: : > 3: > 4: > > This returns the following Zope error: > > Error Type: TypeError > Error Value: illegal argument type for built-in operation > > If I'm replacing the third line with , the > sequence-number is printed out. So I'm sure that it exits. > > How can I get the contents of radiob1, radiob2, radiob3, ... > > Thanks a lot for your help! > > Marc Ludwig > > > ___ > 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 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] variable length forms...
zope wrote: > > Hi. > > I have tried to implement a variable length form. > > Yes, I have read > http://www.zope.org/Members/jpenny/variable_length_forms/index_html.! > > I a form, I'm using following form fields: > > > > > maxlength="4"> > > > > > > where form_numpages is a variable that i got from a previous form. > This form works fine and generates me form_numpages lines with always one > textfield and a group of 2 radiobuttons named per line. > > form_time_out radiob1 radiob1 > form_time_out radiob2 radiob2 > form_time_out radiob3 radiob3 > ... > > The contents of this form is submitted and I want to interpret the data > with following method: > > 1: > 2: : > 3: > 4: > > This returns the following Zope error: > > Error Type: TypeError > Error Value: illegal argument type for built-in operation > > If I'm replacing the third line with , the > sequence-number is printed out. So I'm sure that it exits. hm, sequence_number is an integer. You can't add that to a string, hence the error. try something like (untested): 3: or 3: sorry for the ugly code ;-) hth Rik ___ 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] variable length forms...
Hi. I have tried to implement a variable length form. Yes, I have read http://www.zope.org/Members/jpenny/variable_length_forms/index_html.! I a form, I'm using following form fields: where form_numpages is a variable that i got from a previous form. This form works fine and generates me form_numpages lines with always one textfield and a group of 2 radiobuttons named per line. form_time_out radiob1 radiob1 form_time_out radiob2 radiob2 form_time_out radiob3 radiob3 ... The contents of this form is submitted and I want to interpret the data with following method: 1: 2: : 3: 4: This returns the following Zope error: Error Type: TypeError Error Value: illegal argument type for built-in operation If I'm replacing the third line with , the sequence-number is printed out. So I'm sure that it exits. How can I get the contents of radiob1, radiob2, radiob3, ... Thanks a lot for your help! Marc Ludwig ___ 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] Variable name use in with statement
Burchill, Scott B. writes: > > I am finding myself doing the following and am sure > there is a simpler way to do this. > > Any help would be greatly appreciated! Thanks. > > > > > > > > > > > > > > > > If you are sure, that only these values can occur in "selection" (as I expect, as otherwise, it would not be a selection), then you can use: Dieter ___ 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] Variable name use in with statement
Scott Butchill wonders if: "there is a simpler way to do this." Not much simpler, but how about: ___ 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] Variable name use in with statement
I'm working on a simple auction site as a newbe challenge. I am taking bids on three static items, none will be added or removed. I have a folder named bid_records in which there is a folder for each item. These item folders have current bid information in properties and bid history in ZClass items stored in them. When I'm working with a specific auction item I have the name of the folder in a REQUEST variable. I am finding myself doing the following and am sure there is a simpler way to do this. Any help would be greatly appreciated! Thanks. -- Scott B. Burchill, MIS Manager Ordway Center for the Performing Arts 345 Washington Street St. Paul, MN 55102-1495 voice +1 (651) 282-3082 cell +1 (651) 248-2713 pager +1 (612) 818-7600 fax +1 (651) 224-1820 efax +1 (508) 519-6133 http://www.ordway.org \:)> /:(> ___ 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] variable
It will be that somebody knows with I obtains to capture the last register registered in cadastre in some 0 variable. ___ 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] Variable sort in dtml-in
> I have attached appropriate patch for dtml-in tag for Zope 2.2.0b3/b4 > (Of course this patch was checked and works ok). Thanks again for the patch. It is a much needed option (and rather a glaring omission from the original code). So far it is working flawlessly for me. > I want extend my proposal to others attributes like eg. size: > >size="expr:REQUEST.user_list_size" >start=query_start> Is this necessary? I actually use a variable for size (size=list_size) in the same , and that part seems to work just fine. Maybe mine is a special case, but I don't think so. > It is possible easy extend other DTML tags through the same way too, > but I dont know what other zopistas (especcially from DC) thinks about this. I for one am for it. The lack of multiple and variable sort keys in version 2.14 were a major hindrance to me. I am sure that many tags could benefit from similar improvements. Thanks again, Aaron ___ 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] Variable sort in dtml-in
>In my search form, I have a selection box "in_sort_by" whose value can >be "Category", "Field", or "Title". I am trying to make dtml-in sort by >this value. I am using: > > start=query_start> Hi Aaron again I have attached appropriate patch for dtml-in tag for Zope 2.2.0b3/b4 (Of course this patch was checked and works ok). Just for you, the syntax of my patch for dtml-in should be: or best and simply (and strict equivalent above): I want extend my proposal to others attributes like eg. size: It is possible easy extend other DTML tags through the same way too, but I dont know what other zopistas (especcially from DC) thinks about this. My syntax proposal is one which not caused serious comtatibility problems. Eg. natural syntax attr="something" is treated (unfortunately) as attr=something and therefore would not be adapt and apply for indirect lookup of attribute without breaking of compatibility. Very please all for comments. -- Adam Karpierz [EMAIL PROTECTED] begin 666 DT_In.py M(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C M(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C#0HC( T*(R!:;W!E M(%!U8FQI8R!,:6-E;G-E("A:4$PI(%9E2!F;W)M(&UU2!$:6=I=&%L($-R96%T:6]N2!F;W)M('=H871S;V5V97(@;75S="!R971A:6X-"B,@(" @=&AE(&9O;&QO M=VEN9R!A8VMN;W=L961G;65N=#H-"B,@#0HC(" @(" @(E1H:7,@<')O9'5C M="!I;F-L=61E2!O9F9I8VEA;"!:;W!E(')E;&5A2!S97!A0T*(R @("!L86)E;&5D(&%S('5N;V9F:6-I M86P@9&ES=')I8G5T:6]N2!F;W)M+"!A2!$:6=I=&%L($-R96%T:6]N2!I;F1I M=FED=6%L6YT87@@9F]R('1H92!I;B!C M;VUM86YD(&ES.CH-"@T*(" @(" @(" @("4H:6X@;F%M92E;#0H@(" @(" @ M(" @(" @("!T97AT#0H@(" @(" @(" @)2AI;B!N86UE*5T-"@T*(" @(" @ M(%1H92!(5$U,('-Y;G1A>"!F;W(@=&AE(&EN(&-O;6UA;F0@:7,Z.@T*#0H@ M(" @(" @(" @/"$M+2-I;B!N86UE+2T^#0H@(" @(" @(" @(" @("!T97AT M( T*(" @(" @(" @(#PA+2TC+VEN(&YA;64M+3X-"@T*(" @(" @4V5E('1H M92!E>&%M<&QE(&)E;&]W('1H870@2!B92!C;VUB:6YE9"!T;R!D M:7-P;&%Y(&$@<&]SGD@86-T:79A=&EO;B!I;G-T86YC M97,N( T*#0H@(" @("!7:71H:6X@86X@)VEN)R!B;&]C:RP@=F%R:6%B;&5S M(&%R92!S=6)S=&ET=71E9"!F&%M<&QE+"!T;R!G970-"B @(" @(" @(" @86X@:71E M;7,@)W1I=&QE)R!A='1R:6)U=&4L('5S92 G2<@+2T@5&AE(&ME>2!A"P@"P@65D(&ES M('1H92!F:7)S="!O9B!T:&4@9&ES<&QA>65D(&5L96UE;G1S+ T*(" @(" @ M(" @("!A;F0@9F%L2!B92!U2!B92!S970Z#0H- M"B @(" @(" @(" G7!I8V%L;'DL(&]N M;'D@)W-T87)T)R!A;F0@)W-I>F4G('=I;&P@8F4@'0Z#0H-"B @(" @ M(" @(" G2!S M=')I;F<@9VEV96X@:6X@82!G970-"B @(" @(" @(" @("!R97%U97-T('=I M=&@@=&AE(&9O0T*(" @(" @ M(" @(" @(" @(" @(" @(" @(" M+3XF8F%T8VA?'0M#TQ)GD],B"<@+2T@5&AE M(&EN9&5X+"!S=&%R=&EN9R!FF4@=7-E9"X-"@T*(" @(" @(" @("=PF4G M("TM(%1H92!S:7IE(&]F('1H92!B871C:"!P65D+@T*#0H@(" @(" @(" @(" @16%C:"!O M9B!T:&5S92!M87!P:6YG(&]B:F5C=',@:6YC;'5D92!T:&4@9F]L;&]W:6YG M#0H@(" @(" @(" @(" @=F%R:6%B;&5S.@T*#0H@(" @(" @(" @(" @(" @ M8F%T8V@M"<@+2T@5&AE(&EN9&5X+"!S=&%R=&EN9R!F'0M'0MF4@ M;V8@=&AE(&)A=&-H(&%F=&5R#0H@(" @(" @(" @(" @=&AE(&-U"P@"P@&5D#0H@ M(" @("!F2X@($EN(&%D9&ET:6]N+ T*(" @(" @9F]R(&5V97)Y(&]N92!O9B!T M:&5S92!V87)I86)L97,@=&AE'AX(BP@=VAE"(@:7,@ M86X@96QE;65N= T*(" @(" @871T2!S=&%T:7-T:6-S#0H-"B @(" @(%=H96X@<&5R9F]R;6EN M9R!S97%U96YC92!I;G-E2!B M90T*(" @(" @=7-E9"!T;R!O8G1A:6X@2!S=&%T:7-T:6-S+B @ M5&\@;V)T86EN(&$@0T*(" @(" @" M+2!4:&4@;6%X:6UU;2!O9B!N;VXM;6ES2!B92!U'!R7V=L;V)A;',-"F9R;VT@1%1? M571I;"!I;7!O'!R/6)A=&-H/6UA<'!I;F<] M3F]N90T*(" @('-T87)T7VYA;65?'!R M/22@G'!R/4YO;F4-"B @(" @(" @(" @(&EF('-O6YT87@@97)R;W(\+W-T M'!R/7-O'!R#0H-"B @(" @(" @:68@:&%S7VME M>2@G2AN*3H@'0G M.@T*(" @(" @(" @(" @:68@:&%S7VME>2AN*2!A;F0@;F]T('-E;&8N8F%T M8V@Z#0H@(" @(" @(" @(" @(" @7!E*'8I/3UT>7!E*"&-E<'0Z#0H@(" @(" @ M(" @(" @(" @(" @('-E;&8N"YC;VUP M:6QE* T*(" @(" @(" @(" @(" @(" @(" @(" @)R8K)RL-"B @(" @(" @ M(" @(" @(" @(" @(" @(&IO:6XH;6%P*&QA;6)D82!C.B B6R5S72(@)2!C M+"!V*2PG)RDK#0H@(" @(" @(" @(" @(" @(" @(" @(" G/5LP+3E=*R8K M)RD-"B @(" @(" @(" @(" @(" @(" @#0H@(" @(" @(&YA;64L97AP'!R(&ES(&YO M="!.;VYE.B!E>'!R/65X<'(N979A; T*(" @(" @("!S96QF+E]?;F%M95]? M+"!S96QF+F5X<'(@/2!N86UE+"!E>'!R#0H@(" @(" @('-E;&8N'!R#0H@(" @(" @(&YA;64]'!R(&ES($YO;F4Z#0H@(" @(" @(" @("!S97%U96YC93UM9%MN M86UE70T*(" @(" @(" @(" @8V%C:&4]>R!N86UE.B!S97%U96YC92!]#0H@ M(" @(" @(&5L'!R*&UD*0T* M(" @(" @(" @(" @8V%C:&4]3F]N90T*#0H@(" @(" @(&EF(&YO="!S97%U M96YC93H-"B @(" @(" @(" @(&EF('-E;&8N96QS97,Z(')E='5R;B!R96YD M97)?8FQO8VMS*'-E;&8N96QS97,L(&UD*0T*(" @(" @(" @(" @'!R*&UD*0T*(" @(" @(" @(" @(" @(&EF('-O MF4]:6YT7W!ACUO<'0HF4L;W)P:&%N+'-E<75E;F-E*0T* M(" @(" @("!I9B!P87)A;7,N:&%S7VME>2@G;F5X="5]S=')I;F<])R<-"@T*(" @ M(" @("!V87)S/7-E<75E;F-E7W9A"==/65N9"TQ#0H@(" @(" @(&MW6R=S97%U96YC92US M=&5P+6]R<&AA;B==/6]R<&AA;@T*#0H@(" @(" @('!UBQO"==/7!E;F0M,0T*(" @(" @(" @(" @(" @(" @("!K M=ULG<')E=FEO=7,M3H-"B @(" @(" @(" @(" @(" @(" @(R!4:&4@9F]L;&]W:6YG M(&QI;F4@:7,@82!S;F5A:WD@=V%Y('1O('1EBQO"==/7!S=&%R="TQ M#0H@(" @(" @(" @(" @(" @(" @(&MW6R=N97AT+7-E<75E;F-E+65N9"UI M;F1E>"==/7!E;F0M,0T*(" @(" @(" @(" @(" @(" @("!K=ULG;F5X="US M97%U96YC92US:7IE)UT]<&5N9"LQ+7!S=&%R= T*(" @(" @(" @(" @(" @ M(" @("!R97-U;'0]F4];W!T*# L:6YD97@K;W9EBQO"==/7!E;F0M,0T*(" @(" @(" @(" @(" @(" @ M(" @(" @:W=
Re: [Zope] Variable sort in dtml-in
Aaron Williamson wrote: > > In my search form, I have a selection box "in_sort_by" whose value can > be "Category", "Field", or "Title". I am trying to make dtml-in sort by > this value. I am using: > > start=query_start> > > And I've tried other variations, but I always get an attribute error. > The strange thing to me is that list_size is also a variable and it > works fine, but I've tried just using in_sort_by and that doesn't work. > What am I missing here? http://www.zope.org/Documentation/How-To/index_html/view_source should give you some ideas... -- Do not meddle in the affairs of sysadmins, for they are easy to annoy, and have the root password. ___ 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] Variable sort in dtml-in
In my search form, I have a selection box "in_sort_by" whose value can be "Category", "Field", or "Title". I am trying to make dtml-in sort by this value. I am using: And I've tried other variations, but I always get an attribute error. The strange thing to me is that list_size is also a variable and it works fine, but I've tried just using in_sort_by and that doesn't work. What am I missing here? Many thanks, Aaron ___ 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] Variable which delivers the author of an document
I would like to know,if there is a Variable, which delivers as value the author of a document, similiar to "AUTHENTICATED_USER", which delivers the user name. I couldn't find anything about it in the Zope DTML Reference. Thanks a lot in advance, Stefan ___ 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 )