Re: [zope-chinese]请大家提点建议
"柯铁军" <[email protected]>
| Newsgroups | gmane.comp.web.zope.chinese |
|---|---|
| Message-ID | <[email protected]> |
这是别人写的代码,反正功能实现了.我自己还在学习之中呢.
代码如下:
<a tal:condition="previous"
tal:attributes="href string:${request/URL0}?${squerystring}&start:int=${previous/first}"
href="previous_url" class="title">前<span tal:replace="previous/length">30</span>条记录</a>
<a tal:condition="next"
tal:attributes="href string:${request/URL0}?${squerystring}&start:int=${next/first}"
href="next_url" class="title" >后<span tal:replace="next/length">30</span>条记录</a>
======= 2004-11-15 22:47:22 您在来信中写道:=======
>大家好,
>我是一个zope的女性新手,现在在德国读书,最近在做一个项目,新建一个有关字典的
>网站。有个问题想请教大家,现在我想在一个窗口中批量显示从数据库中查到的单词,
>每页显示30个,在另一个窗口中有两个控制按钮,一个控制显示前面的30个数据,一个
>控制显示后30个数据,我该如何针对这两个按钮编程。谢谢大家了。
>anki
>
>_________________________________________________________________
>与联机的朋友进行交流,请使用 MSN Messenger: http://messenger.msn.com/cn
>
>_______________________________________________
>zope-chinese list
>[email protected]
>http://zope.cn/mailman/listinfo/zope-chinese
= = = = = = = = = = = = = = = = = = = =
致
礼!
柯铁军
[email protected]
2004-11-16
_______________________________________________
zope-chinese list
[email protected]
http://zope.cn/mailman/listinfo/zope-chinese