Re: Pagination research

2007-02-05 Thread Christoph Haas
On Saturday 03 February 2007 08:01, dds wrote: Thanks for looking into the pagination stuff. No hope too soon. :) On Jan 29, 11:54 pm, Christoph Haas [EMAIL PROTECTED] wrote: The documentation athttp://pylonshq.com/WebHelpers/module-webhelpers.pagination.htmlcont ains this example:

Request: tutorial for ToscaWidgets :)

2007-02-05 Thread Damjan
I've created this Genshi markup for a project of mine http://groups.google.com/group/pylons-discuss/web/edit.html ... now I have this tagging widget there that works with Mochikit. It shows the tags associated with a page, and allows for AJAX adding and removing of the tags (with all the bells

Separate access for internal and external users?

2007-02-05 Thread Chris Shenton
I've got a pylons app that started out mostly as an internal customer/sytem/contact management system. Until now it's been internal only so we've had no auth whatsoever. I've been adding a way to send email to customers with status and give them a URL back to the webapp where they can search

How to build/use an egg with lots of lib/* command utils?

2007-02-05 Thread Chris Shenton
My application has two parts, a webapp, and a bunch of commandline programs that do a bunch of analysis; they both talk to the same SQLAlchemy-fronted DB, and both reference files from each other. The commandline tools all live under .../lib/* so they could be made part of the egg. I've built

paste recursive

2007-02-05 Thread Cliff Wells
Hi, I've been toying with the notion of having templates have more control over how they are rendered by allowing them to request fragments from an application. I did a simple test implementation that simply used urllib2 to call back into the Pylons application as a completely separate request,

Re: paste recursive

2007-02-05 Thread Ian Bicking
Cliff Wells wrote: Hi, I've been toying with the notion of having templates have more control over how they are rendered by allowing them to request fragments from an application. I did a simple test implementation that simply used urllib2 to call back into the Pylons application as a

Re: More on unicode

2007-02-05 Thread Shannon -jj Behrens
On 2/4/07, Ben Bangert [EMAIL PROTECTED] wrote: On Feb 4, 2007, at 8:09 PM, Uwe Feldtmann wrote: print request.environ['HTTP_ACCEPT_LANGUAGE'] returns en-GB,en;q=0.9,en-US;q=0.8,en-us;q=0.6,ar-AE;q=0.5,ar;q=0.4,en- gb;q=0.3,en;q=0.1 print request.languages returns ['en-gb', 'en',

Re: Pagination research

2007-02-05 Thread Shannon -jj Behrens
On 2/5/07, Christoph Haas [EMAIL PROTECTED] wrote: On Saturday 03 February 2007 08:01, dds wrote: Thanks for looking into the pagination stuff. No hope too soon. :) On Jan 29, 11:54 pm, Christoph Haas [EMAIL PROTECTED] wrote: The documentation

Re: Pagination research

2007-02-05 Thread Chris AtLee
On 2/5/07, Shannon -jj Behrens [EMAIL PROTECTED] wrote: On 2/5/07, Christoph Haas [EMAIL PROTECTED] wrote: On Saturday 03 February 2007 08:01, dds wrote: On Jan 29, 11:54 pm, Christoph Haas [EMAIL PROTECTED] wrote: Are you sure? In the background the orm.py is creating a lazy mapping that

routing and wildcard matching to get the rest of a URL?

2007-02-05 Thread Chris Shenton
I'm trying to debug a problem I'm having with routing.py. Most of mine work but this one matches 5 dynamic parts and one tends to have long strings, error messages typically. m.connect('kb_search', 'kb/:fac/:sev/:expires/:checksum/*text', controller='kb', action='search') I use

Re: How to build/use an egg with lots of lib/* command utils?

2007-02-05 Thread Shannon -jj Behrens
On 2/5/07, Philip Jenvey [EMAIL PROTECTED] wrote: On Jan 31, 2007, at 7:23 PM, Chris Shenton wrote: My application has two parts, a webapp, and a bunch of commandline programs that do a bunch of analysis; they both talk to the same SQLAlchemy-fronted DB, and both reference files from

Re: Separate access for internal and external users?

2007-02-05 Thread Shannon -jj Behrens
On 1/31/07, Chris Shenton [EMAIL PROTECTED] wrote: I've got a pylons app that started out mostly as an internal customer/sytem/contact management system. Until now it's been internal only so we've had no auth whatsoever. I've been adding a way to send email to customers with status and

Re: popup window feedback to main window

2007-02-05 Thread Shannon -jj Behrens
On 2/3/07, Sean Davis [EMAIL PROTECTED] wrote: I have a single page for creating/editing an object with foreign keys to several other smaller tables. When the user is working on the main page, I would like to let him/her have the option of creating a new one of the smaller objects. One way

Re: setting a cookie whether a redirect happens or not

2007-02-05 Thread Shannon -jj Behrens
On 2/3/07, Damjan [EMAIL PROTECTED] wrote: The exmaple from Sergey Lipnevich seems to me more clean than what's implemented in the ticket #136. This is what he said on Nov 3 2006: response = redirect_to(controller = '...', action = '...', id = '...') # set cookie return response

Re: Pagination research

2007-02-05 Thread David Smith
Christoph Haas email-Nf+wZpSdgwd6//[EMAIL PROTECTED] writes: On Saturday 03 February 2007 08:01, dds wrote: Thanks for looking into the pagination stuff. No hope too soon. :) On Jan 29, 11:54 pm, Christoph Haas e...-Nf+wZpSdgwd6//[EMAIL PROTECTED] wrote: The documentation

Paste deprecation

2007-02-05 Thread Mike Orr
I installed a fresh copy of Pylons 0.9.4.1 with Paste 1.2.1 today and began creating an app, and the console doth say: $ paster serve test.ini Starting server in PID 8381. serving on 0.0.0.0:5000 view at http://127.0.0.1:5000

Re: How to build/use an egg with lots of lib/* command utils?

2007-02-05 Thread Chris Shenton
Shannon -jj Behrens [EMAIL PROTECTED] writes: On 2/5/07, Philip Jenvey [EMAIL PROTECTED] wrote: Your project's setup.py can call the setup function with a 'scripts' argument. These scripts will be installed the the PREFIX/bin/ directory. scripts is a standard distutils argument. Yep, I

Re: Separate access for internal and external users?

2007-02-05 Thread Shannon -jj Behrens
On 2/5/07, Chris Shenton [EMAIL PROTECTED] wrote: Shannon -jj Behrens [EMAIL PROTECTED] writes: I think you're on the right path. It sounds like you're having a hard time figuring out what you should do than figuring out how to do it. If I had to implement different access controls

ANNOUNCE: For projects using Trac and Nose

2007-02-05 Thread Pedro Algarvio, aka, s0undt3ch
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 This mail is to announce a package, NoseBitten, which includes plugins for 3 softwares, Trac, Nose and Bitten. Intended audience are projects hosted on a Trac environment that do their unit testing with nose. With this package you'll be able to use

Re: How to build/use an egg with lots of lib/* command utils?

2007-02-05 Thread David Smith
Hi Chris, You said that your command line programs are using the same SQLAlchemy tables etc as your web-app, I'd like to know how you're handling configuration. I ask because Ian Bicking and I are still formulating the ideas for how to handle scripts bundled with web-apps (for the same purpose,

Re: Request: tutorial for ToscaWidgets :)

2007-02-05 Thread David Smith
Hi Damjan I've been playing a lot with toscawidgets for the past few months and I have the opposite problem; good understanding of the system but lack of a good example to show it off! I'll get started tonight on coding this up as a toscawidget project. Damjan [EMAIL PROTECTED] writes: I've