[Zope] What If i don't want Zope sorting for me.

Terry terry@taipeitimes.com
Mon, 25 Feb 2002 22:36:49 +0800


This is a multi-part message in MIME format.

------=_NextPart_000_0043_01C1BE4C.E9D61D40
Content-Type: text/plain;
	charset="big5"
Content-Transfer-Encoding: quoted-printable

Dear List,

I have a dictionary in REQUEST.

<dtml-call "REQUEST.set('my_dic',{'ar_id':'Article =
ID','ar_head':'Head','ar_body':'Body'})">
<dtml-var "my_dic.keys()">

Zope will sort for me. How to use the original order ?

Thanks in advance

Terry

------=_NextPart_000_0043_01C1BE4C.E9D61D40
Content-Type: text/html;
	charset="big5"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Dbig5" http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2614.3500" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT size=3D2>Dear List,</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3D2>I have a dictionary in REQUEST.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3D2>&lt;dtml-call =
"REQUEST.set('my_dic',{'ar_id':'Article=20
ID','ar_head':'Head','ar_body':'Body'})"&gt;</FONT></DIV>
<DIV><FONT size=3D2>&lt;dtml-var "my_dic.keys()"&gt;</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3D2>Zope will sort for me. How to use the original order =

?</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3D2>Thanks in advance</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3D2>Terry</FONT></DIV></BODY></HTML>

------=_NextPart_000_0043_01C1BE4C.E9D61D40--