Re: Ajax and non-ajax forms.

2009-05-07 Thread Chris Dew
nholz wrote: > Hey, > > > > On Wed, May 6, 2009 at 3:27 PM, Chris Dew wrote: > > > I'd like to develop a Django application with the following > > properties: > > > A page (list of items) will have a link to a page with a form to add a > > new item.

Ajax and non-ajax forms.

2009-05-06 Thread Chris Dew
I'd like to develop a Django application with the following properties: A page (list of items) will have a link to a page with a form to add a new item. If there is no javascript, the link will take the user to the new page and let the user submit the form, then return them to the initial page w

Re: Best practise on using Django forms in jQuery UI modal dialogue.

2009-04-25 Thread Chris Dew
> > On Apr 25, 12:39 am, Chris Dew wrote: > > > I'd like to use something like the jQuery UI modal > > dialogueshttp://jqueryui.com/demos/dialog/#modalina web application. > > > My quandary is how to integrate this with Django. > > > The 'base page&

Best practise on using Django forms in jQuery UI modal dialogue.

2009-04-24 Thread Chris Dew
I'd like to use something like the jQuery UI modal dialogues http://jqueryui.com/demos/dialog/#modal in a web application. My quandary is how to integrate this with Django. The 'base page' has multiple links, each of which will open up a different form in a modal dialogue. If the form in the di

Re: Partially rendering templates.

2009-04-07 Thread Chris Dew
Thanks, that's a useful idea. Chris. On Apr 7, 12:34 pm, Malcolm Tredinnick wrote: > On Tue, 2009-04-07 at 03:04 -0700, Chris Dew wrote: > > Here's a newbie question: > > > Is there a way of rendering (a single block of?) a Django template, > > without it

Partially rendering templates.

2009-04-07 Thread Chris Dew
Here's a newbie question: Is there a way of rendering (a single block of?) a Django template, without it loading in it's parent template(s). My purpose is to use a single template to render both a component of a page as an html snippet (for ajax), as well as the whole page (for non- javascript c