Google Groups Home
Help | Sign in
Message from discussion 关于3.1下分页的问题
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
eb汽车  
View profile
 More options May 4, 10:10 am
From: eb汽车 <ebaut...@gmail.com>
Date: Sun, 4 May 2008 07:10:07 -0700 (PDT)
Local: Sun, May 4 2008 10:10 am
Subject: 关于3.1下分页的问题
getFolderContents.py中:
b_size="**",需要显示的条目数,默认100

在3.1下不好使,应该怎么解决这个问题???

if batch:
    from Products.CMFPlone import Batch
    b_start = context.REQUEST.get('b_start', 0)
    batch = Batch(contents, b_size, int(b_start), orphan=0)
    return batch


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google