Re: WebHelpers 0.6 released

2008-07-13 Thread Wichert Akkerman
Previously Ian Bicking wrote: Christoph Haas wrote: On Freitag, 11. Juli 2008, Mike Orr wrote: On Fri, Jul 11, 2008 at 9:43 AM, rcs_comp [EMAIL PROTECTED] wrote: in html.tags the form function has 'POST' for the default method, which is invalid xhtml. I changed it to: def

Re: WebHelpers 0.6 released

2008-07-12 Thread Christoph Haas
On Freitag, 11. Juli 2008, Ian Bicking wrote: Christoph Haas wrote: I use method='post' everywhere in my code because uppercase attributes aren't xhtml'ish. That reminds me that I wanted to open a ticket for that one. :) Uppercase attribute... values? What does XHTML care about the

Re: WebHelpers 0.6 released

2008-07-12 Thread Jorge Vargas
On Tue, Jul 8, 2008 at 6:18 PM, Mike Orr [EMAIL PROTECTED] wrote: WebHelpers 0.6 final has been released. Just do: $ easy_install -U WebHelpers For now you'll have to read the docstrings in the source code for documentation. I'm hoping these will be included online in the Pylons

Re: WebHelpers 0.6 released

2008-07-12 Thread Mike Orr
On Sat, Jul 12, 2008 at 11:20 AM, Jorge Vargas [EMAIL PROTECTED] wrote: Today I sat down and wrote a patch to port simple_format to the new HTMLBuilder, I have created a ticket for it. feedback is welcome, and I hope it can be included in 0.6.1 or something.

Re: WebHelpers 0.6 released

2008-07-11 Thread rcs_comp
in html.tags the form function has 'POST' for the default method, which is invalid xhtml. I changed it to: def form(url, method=post,... and all is well. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

Re: WebHelpers 0.6 released

2008-07-11 Thread Mike Orr
On Fri, Jul 11, 2008 at 9:43 AM, rcs_comp [EMAIL PROTECTED] wrote: in html.tags the form function has 'POST' for the default method, which is invalid xhtml. I changed it to: def form(url, method=post,... and all is well. Is it really? Does the browser convert it to POST before sending

Re: WebHelpers 0.6 released

2008-07-11 Thread Christoph Haas
On Freitag, 11. Juli 2008, Mike Orr wrote: On Fri, Jul 11, 2008 at 9:43 AM, rcs_comp [EMAIL PROTECTED] wrote: in html.tags the form function has 'POST' for the default method, which is invalid xhtml. I changed it to: def form(url, method=post,... and all is well. Is it really?

Re: WebHelpers 0.6 released

2008-07-11 Thread Ian Bicking
Christoph Haas wrote: On Freitag, 11. Juli 2008, Mike Orr wrote: On Fri, Jul 11, 2008 at 9:43 AM, rcs_comp [EMAIL PROTECTED] wrote: in html.tags the form function has 'POST' for the default method, which is invalid xhtml. I changed it to: def form(url, method=post,... and all is well.

Re: WebHelpers 0.6 released

2008-07-11 Thread Mike Orr
So are applications actually breaking with form method=POST ? Or is this an issue of formal correctness only? -- Mike Orr [EMAIL PROTECTED] --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-discuss group. To

Re: WebHelpers 0.6 released

2008-07-11 Thread Ian Bicking
Mike Orr wrote: So are applications actually breaking with form method=POST ? Or is this an issue of formal correctness only? Formal correctness of XHTML 1.0 strict only. Well, maybe if you serve your content as XHTML 1.0 strict the browser might barf on that. But if it does, it only

Re: WebHelpers 0.6 released

2008-07-11 Thread Mike Orr
On Fri, Jul 11, 2008 at 1:09 PM, Ian Bicking [EMAIL PROTECTED] wrote: XHTML is totally nutty. I've been feeling better about XHTML since I started using DocBook. I'm quite glad there's a simple XSLT transformation from DocBook - XHTML to read the text without having to use a WYSIWYG editor (all

Re: WebHelpers 0.6 released

2008-07-11 Thread Randy Syring
On Jul 11, 4:02 pm, Christoph Haas [EMAIL PROTECTED] wrote: I second rcs_comp (/me donates his parent a few bucks to give him a real name). Real name acquired. Please use Paypal to send me a few bucks, I will make sure to send it on to my mother. ;) Mike Orr wrote: So are applications

Re: WebHelpers 0.6 released

2008-07-11 Thread Ian Bicking
Mike Orr wrote: On Fri, Jul 11, 2008 at 1:09 PM, Ian Bicking [EMAIL PROTECTED] wrote: XHTML is totally nutty. I've been feeling better about XHTML since I started using DocBook. I'm quite glad there's a simple XSLT transformation from DocBook - XHTML to read the text without having to use

Re: WebHelpers 0.6 released

2008-07-09 Thread Pavel Skvazh
I'd like to share a use case with paginate. I've got a model that serves query results in the format I need. It manages starts and limits, includes [totalrow] property so I just need paginate to draw a nice paging bar. Everything works fine, but one line messes it up for me. self.items =

Re: WebHelpers 0.6 released

2008-07-09 Thread Pavel Skvazh
Edit: I can access the original object by c.myobj.collection so that pretty much does it but still. On Jul 9, 3:30 pm, Pavel Skvazh [EMAIL PROTECTED] wrote: I'd like to share a use case with paginate. I've got a model that serves query results in the format I need. It manages starts and

Re: WebHelpers 0.6 released

2008-07-09 Thread Christoph Haas
Hi, Pavel... On Mittwoch, 9. Juli 2008, Pavel Skvazh wrote: I'd like to share a use case with paginate. I've got a model that serves query results in the format I need. It manages starts and limits, includes [totalrow] property so I just need paginate to draw a nice paging bar. Everything

Re: WebHelpers 0.6 released

2008-07-09 Thread Pavel Skvazh
I'm not sure either. You've got a lot of use cases covered already. Here's what i do: collection = Companies.list(limit, start) c.companies = h.Page(collection['items'], page, limit, collection['total']) return render('/portal/companies/companies.mako') Then I've got

Re: WebHelpers 0.6 released

2008-07-09 Thread Garland, Ken R
Getting the following error following the doc examples: Python 2.5.2 (r252:60911, Feb 21 2008, 13:11:45) [MSC v.1310 32 bit (Intel)] on win32 items = range(1,24) import webhelpers.paginate page2 = webhelpers.paginate.Page(items, page=2, items_per_page=10) page2.pager() Traceback (most recent

Re: WebHelpers 0.6 released

2008-07-09 Thread Ben Bangert
On Jul 9, 2008, at 8:49 AM, Garland, Ken R wrote: Getting the following error following the doc examples: Python 2.5.2 (r252:60911, Feb 21 2008, 13:11:45) [MSC v.1310 32 bit (Intel)] on win32 items = range(1,24) import webhelpers.paginate page2 = webhelpers.paginate.Page(items, page=2,

Re: WebHelpers 0.6 released

2008-07-09 Thread Mike Orr
On Wed, Jul 9, 2008 at 4:30 AM, Pavel Skvazh [EMAIL PROTECTED] wrote: I'd like to share a use case with paginate. I've got a model that serves query results in the format I need. It manages starts and limits, includes [totalrow] property so I just need paginate to draw a nice paging bar. If

Re: WebHelpers 0.6 released

2008-07-08 Thread Jose Galvez
Great Job Mike, webhelpers is a fantastic tool! But since you've removed the javascript stuff (which you really can't be blamed for, I can only imagine how hard it is to keep up with the moving target that is javascript libs) does anyone have a link_to_remote equivalent that works with jquery?

Re: WebHelpers 0.6 released

2008-07-08 Thread Ben Bangert
On Jul 8, 2008, at 6:26 PM, Jose Galvez wrote: Great Job Mike, webhelpers is a fantastic tool! But since you've removed the javascript stuff (which you really can't be blamed for, I can only imagine how hard it is to keep up with the moving target that is javascript libs) does anyone have