I surely this is bug in nightly version webhelpers
I fixed it by modify links.py
see the attachment
2008/4/5 张沈鹏(电子科大 毕/就业倒计时...) [EMAIL PROTECTED]:
from webhelpers.pagination import paginate,links
def feed(self,id,page):
c.feed=Feed.query.filter_by(id=id).one()
i'm trying, without any luck, to fill a form with default values
in my application we have
---
class Form:
basic form validation
pass
class Controller:
def index(self):
print form
@validator
def submit(self):
some advanced validation that is not appropriate
Previously Jonathan Vanasco wrote:
i'm trying, without any luck, to fill a form with default values
in my application we have
---
class Form:
basic form validation
pass
class Controller:
def index(self):
print form
@validator
def submit(self):
def feed(self,id,page):
c.feed=Feed.query.filter_by(id=id).one()
c.feeds=c.feed.site.feeds
c.posts=c.feed.posts
c.links=Page(c.posts,int(page),30).pager(link_var=page)
return render(news/feed.htm)
oh ,thanks,now use like this is ok
On Mon, Apr 7, 2008