Re: WebHelpers plans

2008-01-09 Thread iain duncan
On Tue, 2008-08-01 at 14:05 -0600, Devin Torres wrote: > On Monday 07 January 2008 14:35:12 Mike Orr wrote: > > * There are three text-to-HTML helpers: 'htmlgen', 'textile', > > 'markdown'. Do we need all of these or can we standardize on one? > Do > > they even need to be in WebHelpers at all?

Re: WebHelpers plans

2008-01-09 Thread [EMAIL PROTECTED]
On 8 jan, 21:05, "Devin Torres" <[EMAIL PROTECTED]> wrote: > On Monday 07 January 2008 14:35:12 Mike Orr wrote:> (snip) > > * Are you satisfied with Scriptaculous/Prototype? Which other > > Javascript libraries would you like to see in WebHelpers. Do you use > > any of the 'webhelpers.rails.pr

Re: Access X-Requested-With: XMLHttpRequest in Pylons?

2008-01-09 Thread Ian Bicking
jerryji wrote: > Hi, > > Is there a way to access the "X-Requested-With: XMLHttpRequest" header > -- the only place I know of to differentiate an AJAX request from a > normal GET/POST -- in my Pylons application? I have only gone as far > as seeing that it does not exist in the request object --

Access X-Requested-With: XMLHttpRequest in Pylons?

2008-01-09 Thread jerryji
Hi, Is there a way to access the "X-Requested-With: XMLHttpRequest" header -- the only place I know of to differentiate an AJAX request from a normal GET/POST -- in my Pylons application? I have only gone as far as seeing that it does not exist in the request object -- (Pdb) request Many thank

Re: Access X-Requested-With: XMLHttpRequest in Pylons?

2008-01-09 Thread jerryji
You rock, Ian! BTW, the JavaScript framework I'm using is JQuery (1.2), which sets "X- Requested-With" nicely. Thanks again. Jerry On Jan 9, 2:19 pm, Ian Bicking <[EMAIL PROTECTED]> wrote: > It's in request.is_xhr. (Unfortunately it only works for prototype.js, > not the other frameworks; I d

Re: WebHelpers plans

2008-01-09 Thread Dan Scott
On 07/01/2008, Mike Orr <[EMAIL PROTECTED]> wrote: > > > * Are you satisfied with Scriptaculous/Prototype? Which other > Javascript libraries would you like to see in WebHelpers. I've only very recently using Pylons, so much of this is new to me. I was surprised, however, that no other poste

Response Object? Header example... AuthKit

2008-01-09 Thread Kevin Baker
I am on Pylons 0.9.6.1. I see that there have been changes for the usage of the response object in the controller. I am new to Pylons and thought I'd start with Authkit implementation to my current db of users. In the Cookbook example I was following it uses Response directly and throws a

Re: Response Object? Header example... AuthKit

2008-01-09 Thread Mike Orr
On Jan 9, 2008 1:16 PM, Kevin Baker <[EMAIL PROTECTED]> wrote: > > > I am on Pylons 0.9.6.1. I see that there have been changes for the > usage of the response object in the controller. > > I am new to Pylons and thought I'd start with Authkit implementation > to my current db of users. In the Coo

Re: Response Object? Header example... AuthKit

2008-01-09 Thread Kevin Baker
On Jan 9, 2008, at 1:55 PM, Mike Orr wrote: > > On Jan 9, 2008 1:16 PM, Kevin Baker <[EMAIL PROTECTED]> wrote: >> >> >> I am on Pylons 0.9.6.1. I see that there have been changes for the >> usage of the response object in the controller. >> >> I am new to Pylons and thought I'd start with Authki

Re: Access X-Requested-With: XMLHttpRequest in Pylons?

2008-01-09 Thread Ian Bicking
jerryji wrote: > You rock, Ian! > > BTW, the JavaScript framework I'm using is JQuery (1.2), which sets "X- > Requested-With" nicely. Cool, good to know. -- Ian Bicking : [EMAIL PROTECTED] : http://blog.ianbicking.org --~--~-~--~~~---~--~~ You received this me

Re: Response Object? Header example... AuthKit

2008-01-09 Thread Mike Orr
On Jan 9, 2008 2:16 PM, Kevin Baker <[EMAIL PROTECTED]> wrote: > Is there any documentation on what is going on under the hood for the > global response object in the controller? I'd like to get a better > sense of how I would: >* add header mime-type information Somewhere. Look on pythonpas

Re: Response Object? Header example... AuthKit

2008-01-09 Thread Kevin Baker
On Jan 9, 2008, at 4:02 PM, Mike Orr wrote: > > On Jan 9, 2008 2:16 PM, Kevin Baker <[EMAIL PROTECTED]> wrote: >> Is there any documentation on what is going on under the hood for the >> global response object in the controller? I'd like to get a better >> sense of how I would: >> * add header

Re: WebHelpers plans

2008-01-09 Thread m h
On Jan 9, 2008 2:01 PM, Dan Scott <[EMAIL PROTECTED]> wrote: > On 07/01/2008, Mike Orr <[EMAIL PROTECTED]> wrote: > > > > > > > > * Are you satisfied with Scriptaculous/Prototype? Which other > > Javascript libraries would you like to see in WebHelpers. > > > > I've only very recently using Pyl

Re: WebHelpers plans

2008-01-09 Thread Ian Bicking
Mike Orr wrote: >> This won't be the same as url_for, which is tied to Routes, but ideally >> it would have some API overlap. I haven't really thought about what it >> would look like. > > url_for could be implemented on top of something. Of course there's > always the need to parse and assembl