[Zope] Patch to allow expression syntax for attribute 'sort' in <dtml-in .. > tag. Very please, test it !
Adam Karpierz
karpierz@itl.pl
Sun, 2 Jul 2000 01:06:33 +0200
Dear community
Please check out and test this patch that I would send it to Collector.
I suppose that this feature is very usefull for us and would be good
thing if will be insert in next beta of Zope2.2.0.
This patch is crude, without any checks (because my Zope needs reinstall),
but very simple and I not quess that is so buggy.
PS: Second little patch I have attached is only cosmetic and not important.
(apologies for my 'english'..)
--
Regards
Adam Karpierz
karpierz@itl.pl
begin 666 DT_In.py.patch
M*BHJ(&QI8B]P>71H;VXO1&]C=6UE;G1496UP;&%T92]$5%]);BYP>2YO<F<)
M5&AU($UA>2 R-2 Q,CHS,SHT,R R,# P"BTM+2!L:6(O<'ET:&]N+T1O8W5M
M96YT5&5M<&QA=&4O1%1?26XN<'D)4W5N($IU;" P,B P,#HQ.3HU.2 R,# P
M"BHJ*BHJ*BHJ*BHJ*BHJ*@HJ*BH@,S@U+#,Y," J*BHJ"BTM+2 S.#4L,SDQ
M("TM+2T*("!?7W)C<U]I9%]?/2<D260Z($147TEN+G!Y+'8@,2XT," R,# P
M+S U+S(U(#$V.C,S.C0T('-H86YE($5X<" D)PH@(%]?=F5R<VEO;E]?/2<D
M4F5V:7-I;VXZ(#$N-# @)"=;,3$Z+3)="B @"BL@9G)O;2!$5%]5=&EL(&EM
M<&]R="!%=F%L+"!E>'!R7V=L;V)A;',*("!F<F]M($147U5T:6P@:6UP;W)T
M(%!A<G-E17)R;W(L('!A<G-E7W!A<F%M<RP@;F%M95]P87)A;2P@<W1R"B @
M9G)O;2!$5%]5=&EL(&EM<&]R="!R96YD97)?8FQO8VMS+"!);G-T86YC941I
M8W0L(%9A;&ED871I;VY%<G)O<@H@(&9R;VT@<W1R:6YG(&EM<&]R="!F:6YD
M+"!A=&]I+"!J;VEN+"!S<&QI= HJ*BHJ*BHJ*BHJ*BHJ*BH**BHJ(#0P-2PT
M,3$@*BHJ*@H@( H@(&-L87-S($EN0VQA<W,Z"B @(" @(&5L<V5S/4YO;F4*
M(2 @(" @97AP<CUS;W)T/6)A=&-H/6UA<'!I;F<]3F]N90H@(" @("!S=&%R
M=%]N86UE7W)E/4YO;F4*(" @(" @<F5V97)S93U.;VYE"B @(" @( HM+2T@
M-# V+#0Q,B M+2TM"B @"B @8VQA<W,@26Y#;&%S<SH*(" @(" @96QS97,]
M3F]N90HA(" @("!E>'!R/7-O<G0]<V]R=&5X<'(]8F%T8V@];6%P<&EN9SU.
M;VYE"B @(" @('-T87)T7VYA;65?<F4]3F]N90H@(" @("!R979E<G-E/4YO
M;F4*(" @(" @"BHJ*BHJ*BHJ*BHJ*BHJ*@HJ*BH@-#(P+#0R-R J*BHJ"B @
M(" @(" @("!H87-?:V5Y/6%R9W,N:&%S7VME>0H@( H@(" @(" @(" @:68@
M:&%S7VME>2@G<V]R="<I.@HA(" @(" @(" @(" @('-E;&8N<V]R=#US;W)T
M/6%R9W-;)W-O<G0G70HA(" @(" @(" @(" @(&EF('-O<G0]/2=S97%U96YC
M92UI=&5M)SH@<V5L9BYS;W)T/2<G"B @"B @(" @(" @("!I9B!H87-?:V5Y
M*"=R979E<G-E)RDZ"B @(" @(" @(" @(" @<V5L9BYR979E<G-E/6%R9W-;
M)W)E=F5R<V4G70HM+2T@-#(Q+#0T," M+2TM"B @(" @(" @("!H87-?:V5Y
M/6%R9W,N:&%S7VME>0H@( H@(" @(" @(" @:68@:&%S7VME>2@G<V]R="<I
M.@HA(" @(" @(" @(" @('-O<G0]87)G<ULG<V]R="=="B$@(" @(" @(" @
M(" @<V]R=&5X<'(]3F]N90HA(" @(" @(" @(" @(&EF('-O<G0]/2=S97%U
M96YC92UI=&5M)SH@"B$@(" @(" @(" @(" @(" @('-O<G0])R<*(2 @(" @
M(" @(" @("!E;&EF('-O<G1;.C%=/3TG(B<@86YD('-O<G1;+3$Z73T])R(G
M(&%N9"!L96XH<V]R="D@/B Q.@HA(" @(" @(" @(" @(" @("!S;W)T/7-O
M<G1;,3HM,5T*(2 @(" @(" @(" @(" @(" @=')Y.B!S;W)T97AP<CU%=F%L
M*'-O<G0L(&5X<')?9VQO8F%L<RDN979A; HA(" @(" @(" @(" @(" @("!E
M>&-E<'0@4WEN=&%X17)R;W(L('8Z"B$@(" @(" @(" @(" @(" @(" @("!R
M86ES92!087)S945R<F]R+" H"B$@(" @(" @(" @(" @(" @(" @(" @(" @
M)SQS=')O;F<^17AP<F5S<VEO;B H4'ET:&]N*2!3>6YT87@@97)R;W(\+W-T
M<F]N9SXZ)PHA(" @(" @(" @(" @(" @(" @(" @(" @("=<;CQP<F4^7&XE
M<UQN/"]P<F4^7&XG("4@=ELP72P*(2 @(" @(" @(" @(" @(" @(" @(" @
M(" G:6XG*0HA(" @(" @(" @(" @('-E;&8N<V]R=#US;W)T"B$@(" @(" @
M(" @(" @<V5L9BYS;W)T97AP<CUS;W)T97AP<@H@( H@(" @(" @(" @:68@
M:&%S7VME>2@G<F5V97)S92<I.@H@(" @(" @(" @(" @('-E;&8N<F5V97)S
M93UA<F=S6R=R979E<G-E)UT**BHJ*BHJ*BHJ*BHJ*BHJ"BHJ*B T.#DL-#DV
M("HJ*BH*(" @(" @(" @( H@(" @(" @(" @;6%P<&EN9SUS96QF+FUA<'!I
M;F<*(" *(2 @(" @(" @(&EF('-E;&8N<V]R="!I<R!N;W0@3F]N93H*(2 @
M(" @(" @(" @("!S97%U96YC93US96QF+G-O<G1?<V5Q=65N8V4H<V5Q=65N
M8V4I"B @"B @(" @(" @("!I9B!S96QF+G)E=F5R<V4@:7,@;F]T($YO;F4Z
M"B @(" @(" @(" @(" @<V5Q=65N8V4]<V5L9BYR979E<G-E7W-E<75E;F-E
M*'-E<75E;F-E*0HM+2T@-3 R+#4Q,2 M+2TM"B @(" @(" @(" *(" @(" @
M(" @(&UA<'!I;F<]<V5L9BYM87!P:6YG"B @"B$@(" @(" @("!S;W)T/7-E
M;&8N<V]R= HA(" @(" @(" @:68@<V]R="!I<R!N;W0@3F]N93H*(2 @(" @
M(" @(" @("!I9B!S96QF+G-O<G1E>'!R(&ES(&YO="!.;VYE.B!S;W)T/7-E
M;&8N<V]R=&5X<'(H;60I"B$@(" @(" @(" @(" @<V5Q=65N8V4]<V5L9BYS
M;W)T7W-E<75E;F-E*'-E<75E;F-E+"!S;W)T*0H@( H@(" @(" @(" @:68@
M<V5L9BYR979E<G-E(&ES(&YO="!.;VYE.@H@(" @(" @(" @(" @('-E<75E
M;F-E/7-E;&8N<F5V97)S95]S97%U96YC92AS97%U96YC92D**BHJ*BHJ*BHJ
M*BHJ*BHJ"BHJ*B V-#0L-C4Q("HJ*BH*(" @(" @(" @('-E8W1I;VX]<V5L
M9BYS96-T:6]N(" @(" @(" *(" @(" @(" @(&UA<'!I;F<]<V5L9BYM87!P
M:6YG"B @"B$@(" @(" @("!I9B!S96QF+G-O<G0@:7,@;F]T($YO;F4Z"B$@
M(" @(" @(" @(" @<V5Q=65N8V4]<V5L9BYS;W)T7W-E<75E;F-E*'-E<75E
M;F-E*0H@( H@(" @(" @(" @:68@<V5L9BYR979E<G-E(&ES(&YO="!.;VYE
M.@H@(" @(" @(" @(" @('-E<75E;F-E/7-E;&8N<F5V97)S95]S97%U96YC
M92AS97%U96YC92D*+2TM(#8U.2PV-C@@+2TM+0H@(" @(" @(" @<V5C=&EO
M;CUS96QF+G-E8W1I;VX@(" @(" @( H@(" @(" @(" @;6%P<&EN9SUS96QF
M+FUA<'!I;F<*(" *(2 @(" @(" @('-O<G0]<V5L9BYS;W)T"B$@(" @(" @
M("!I9B!S;W)T(&ES(&YO="!.;VYE.@HA(" @(" @(" @(" @(&EF('-E;&8N
M<V]R=&5X<'(@:7,@;F]T($YO;F4Z('-O<G0]<V5L9BYS;W)T97AP<BAM9"D*
M(2 @(" @(" @(" @("!S97%U96YC93US96QF+G-O<G1?<V5Q=65N8V4H<V5Q
M=65N8V4L('-O<G0I"B @"B @(" @(" @("!I9B!S96QF+G)E=F5R<V4@:7,@
M;F]T($YO;F4Z"B @(" @(" @(" @(" @<V5Q=65N8V4]<V5L9BYR979E<G-E
M7W-E<75E;F-E*'-E<75E;F-E*0HJ*BHJ*BHJ*BHJ*BHJ*BH**BHJ(#<P,"PW
M,3(@*BHJ*@H@( H@(" @(" @(" @<F5T=7)N(')E<W5L= H@( HA(" @("!D
M968@<V]R=%]S97%U96YC92AS96QF+"!S97%U96YC92DZ"B @"B @(" @(" @
M(" C($UO9&EF:65D('=I=&@@;75L=&EP;&4@<V]R="!F:65L9',@8GD@4F]S
M<R!,87IA<G5S"B @(" @(" @(" C($%P<FEL(#<@,C P,"!R;W-S;$!M960N
M=7-Y9"YE9'4N874*(" @(" @(" @(",@96<@/&1T;6P@:6X@(F9O;R(@<V]R
M=#UA:V5Y+&%N;W1H97)K97D^"B @(" @(" @(" *+2 @(" @(" @('-O<G0]
M<V5L9BYS;W)T"B @(" @(" @("!S;W)T9FEE;&1S(#T@<W!L:70H<V]R="PG
M+"<I(" @(R!M=6QT:2!S;W)T(#T@:V5Y,2QK97DR( H@(" @(" @(" @;75L
M='-O<G0@/2!L96XH<V]R=&9I96QD<RD@/B Q(",@9FQA9SH@:7,@;75L=&EP
M;&4@<V]R= H@(" @(" @(" @;6%P<&EN9SUS96QF+FUA<'!I;F<*+2TM(#<Q
M-RPW,C@@+2TM+0H@( H@(" @(" @(" @<F5T=7)N(')E<W5L= H@( HA(" @
M("!D968@<V]R=%]S97%U96YC92AS96QF+"!S97%U96YC92P@<V]R="DZ"B @
M"B @(" @(" @(" C($UO9&EF:65D('=I=&@@;75L=&EP;&4@<V]R="!F:65L
M9',@8GD@4F]S<R!,87IA<G5S"B @(" @(" @(" C($%P<FEL(#<@,C P,"!R
M;W-S;$!M960N=7-Y9"YE9'4N874*(" @(" @(" @(",@96<@/&1T;6P@:6X@
M(F9O;R(@<V]R=#UA:V5Y+&%N;W1H97)K97D^"B @(" @(" @(" *(" @(" @
M(" @('-O<G1F:65L9',@/2!S<&QI="AS;W)T+"<L)RD@(" C(&UU;'1I('-O
M<G0@/2!K97DQ+&ME>3(@"B @(" @(" @("!M=6QT<V]R=" ](&QE;BAS;W)T
M9FEE;&1S*2 ^(#$@(R!F;&%G.B!I<R!M=6QT:7!L92!S;W)T"B @(" @(" @
7("!M87!P:6YG/7-E;&8N;6%P<&EN9PH`
`
end
begin 666 DT_Let.py.patch
M*BHJ(&QI8B]P>71H;VXO1&]C=6UE;G1496UP;&%T92]$5%],970N<'DN;W)G
M"51H=2!*=6P@,CD@,3$Z-38Z,CD@,3DY.0HM+2T@;&EB+W!Y=&AO;B]$;V-U
M;65N=%1E;7!L871E+T147TQE="YP>0E3=6X@2G5L(# R(# P.C(U.C(W(#(P
M,# **BHJ*BHJ*BHJ*BHJ*BHJ"BHJ*B Q,3(L,3$X("HJ*BH*(" @("!A<R!D
M97-I<F5D+@H@("<G)R *(" *(2!F<F]M($147U5T:6P@:6UP;W)T(')E;F1E
M<E]B;&]C:W,L('-T<BP@179A;"P@97AP<E]G;&]B86QS+"!%=F%L+"!087)S
M945R<F]R+"!R96=E>"P@<W1R:7 *(" *("!C;&%S<R!,970Z"B @(" @(&)L
M;V-K0V]N=&EN=6%T:6]N<STH*0HM+2T@,3$R+#$Q." M+2TM"B @(" @87,@
M9&5S:7)E9"X*(" G)R<@"B @"B$@9G)O;2!$5%]5=&EL(&EM<&]R="!R96YD
M97)?8FQO8VMS+"!S='(L(&5X<')?9VQO8F%L<RP@179A;"P@4&%R<V5%<G)O
M<BP@<F5G97@L('-T<FEP"B @"B @8VQA<W,@3&5T.@H@(" @("!B;&]C:T-O
/;G1I;G5A=&EO;G,]*"D*
`
end