Re: Form handling in Pyramid

2011-03-30 Thread Mike Orr
On Tue, Mar 29, 2011 at 4:06 AM, karantan wrote: > Hi, > > So is there any news if pyramid will have anything like "from > pylons.decorators import validate"? i tried to use formencode but it's > not so easy to implement in pyramid. i will try formish next and i > hope i'll have more success with

Re: how can I iterate dict instance in a chameleon template

2011-03-30 Thread Ha Nyung Chung
I found why and fixed it. one of the values of the dict is of boolean type and it caused the exception. so i changed the repeat code like this: Thanks. On Thursday, March 31, 2011 at 1:16 AM, Chris McDonough wrote: > On Wed, 2011-03-30 at 21:59 +0900, Ha Nyung Chung wrote: > > Can I iterate al

Re: how can I iterate dict instance in a chameleon template

2011-03-30 Thread Chris McDonough
On Wed, 2011-03-30 at 21:59 +0900, Ha Nyung Chung wrote: > Can I iterate all values in dict object in a chameleon template? > I made view callable return dict object named "params", which contains > all parameter key/value pairs and > chose to use chameleon template as a renderer. > I wanted to it

how can I iterate dict instance in a chameleon template

2011-03-30 Thread Ha Nyung Chung
Can I iterate all values in dict object in a chameleon template? I made view callable return dict object named "params", which contains all parameter key/value pairs and chose to use chameleon template as a renderer. I wanted to iterate every key and value pairs of "params" in the template file, bu

Re: Form handling in Pyramid

2011-03-30 Thread Dan Jacob
The @validate decorator was an appallingly bad idea and one of the most detested features of Pylons. I don't think anyone wants to bring it back. On Mar 29, 12:06 pm, karantan wrote: > Hi, > > So is there any news if pyramid will have anything like "from > pylons.decorators import validate"? i tr