Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
deform_bootstrap 0.1 released
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  9 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Daniel Nouri  
View profile  
 More options Mar 2 2012, 6:50 am
From: Daniel Nouri <daniel.no...@gmail.com>
Date: Fri, 2 Mar 2012 12:50:45 +0100
Local: Fri, Mar 2 2012 6:50 am
Subject: deform_bootstrap 0.1 released
What is deform_bootstrap?

deform_bootstrap provides Bootstrap 2 compatible widgets and templates
for the Deform form library.
For documentation, see http://pypi.python.org/pypi/deform_bootstrap

For a demo, take look at

- http://deformdemo.xo7.de/

and in particular:

- http://deformdemo.xo7.de/datetime_input/
- http://deformdemo.xo7.de/typeahead_input/

What's in the 0.1 release?

0.1 includes work completed at the PloneKonf sprint in Munich.  We now
have two new widgets: a DateTimeInputWidget and a
TypeaheadInputWidget, which have the Twitter Bootstrap look and feel.
Also, existing templates were improved, and all of deformdemo's
Selenium tests are now passing with deform_bootstrap.

Daniel


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mengu  
View profile  
 More options Mar 5 2012, 5:17 am
From: Mengu <whalb...@gmail.com>
Date: Mon, 5 Mar 2012 02:17:35 -0800 (PST)
Local: Mon, Mar 5 2012 5:17 am
Subject: Re: deform_bootstrap 0.1 released
hi daniel,

thank you for the awesome efforts. it looks fantastic.

On Mar 2, 1:50 pm, Daniel Nouri <daniel.no...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Benjamin Sims  
View profile  
 More options Mar 12 2012, 1:18 pm
From: Benjamin Sims <benjamins...@gmail.com>
Date: Mon, 12 Mar 2012 17:18:44 +0000
Local: Mon, Mar 12 2012 1:18 pm
Subject: Re: deform_bootstrap 0.1 released

Hi, this looks great - I've recently been looking into bootstrap so this is
very timely for me.

I note however that it is not possible to use use_ajax with the package. I
wonder if you or the deform team might expand on this - what would it take
to use the two together?

Thanks,
Ben

On 5 March 2012 10:17, Mengu <whalb...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mengu  
View profile  
 More options Mar 12 2012, 7:58 pm
From: Mengu <whalb...@gmail.com>
Date: Mon, 12 Mar 2012 16:58:26 -0700 (PDT)
Local: Mon, Mar 12 2012 7:58 pm
Subject: Re: deform_bootstrap 0.1 released
hi ben,

what exactly you face when you try to use ajax with deform? afaik,
use_ajax uses jquery form plugin.

On Mar 12, 7:18 pm, Benjamin Sims <benjamins...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Daniel Nouri  
View profile  
 More options Mar 13 2012, 2:01 pm
From: Daniel Nouri <daniel.no...@gmail.com>
Date: Tue, 13 Mar 2012 19:01:09 +0100
Local: Tues, Mar 13 2012 2:01 pm
Subject: Re: deform_bootstrap 0.1 released

On Mon, Mar 12, 2012 at 6:18 PM, Benjamin Sims <benjamins...@gmail.com> wrote:
> Hi, this looks great - I've recently been looking into bootstrap so this is
> very timely for me.

> I note however that it is not possible to use use_ajax with the package. I
> wonder if you or the deform team might expand on this - what would it take
> to use the two together?

You're right.  We broke use_ajax sometime in the process.  I think
there was a version conflict between a newer jQuery required for
Bootstrap and the jquery.form.js in deform.  Might be easy to fix.
Adding Andreas and Tom in the CC who worked on the JS, maybe they
would know more.

Daniel


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Benjamin Sims  
View profile  
 More options Mar 13 2012, 2:37 pm
From: Benjamin Sims <benjamins...@gmail.com>
Date: Tue, 13 Mar 2012 18:37:31 +0000
Local: Tues, Mar 13 2012 2:37 pm
Subject: Re: deform_bootstrap 0.1 released

Thanks for that - I'm keen to use them together and only have the most up
to date stuff loading, so any tips would be great.

Ben

(sorry Mengu, yes the version conflict was what I was referring to)

On 13 March 2012 18:01, Daniel Nouri <daniel.no...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Andreas Kaiser  
View profile  
 More options Mar 13 2012, 3:02 pm
From: Andreas Kaiser <kai...@xo7.de>
Date: Tue, 13 Mar 2012 20:02:42 +0100
Local: Tues, Mar 13 2012 3:02 pm
Subject: Re: deform_bootstrap 0.1 released
Am 13.03.2012 um 19:01 schrieb Daniel Nouri:

> On Mon, Mar 12, 2012 at 6:18 PM, Benjamin Sims <benjamins...@gmail.com> wrote:
>> Hi, this looks great - I've recently been looking into bootstrap so this is
>> very timely for me.

>> I note however that it is not possible to use use_ajax with the package. I
>> wonder if you or the deform team might expand on this - what would it take
>> to use the two together?

> You're right.  We broke use_ajax sometime in the process.  I think
> there was a version conflict between a newer jQuery required for
> Bootstrap and the jquery.form.js in deform.  Might be easy to fix.
> Adding Andreas and Tom in the CC who worked on the JS, maybe they
> would know more.

The problem is that Bootstrap requires a recent version of jQuery, but deform's use_ajax feature doesn't work with any jquery.form version greater than 2.43, which in turn is limited to jQuery versions 1.4.x (IIRC).

So basically there are 2 options:

1. manually using (the most recent version of) jquery.form.  This works just fine by just putting a one liner in your projects' templates (something like "$('form').ajaxForm({target:$('form').parent()})").

2. updating all JS (static files *and* templates) in deform.  This should be done in deform itself, not deform_bootstrap.

Approach 1 is working fine for me in my current project and doesn't add much code (compared to "use_ajax=True").

HTH,

Andreas


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Andreas Kaiser  
View profile  
 More options Mar 13 2012, 3:11 pm
From: Andreas Kaiser <di...@binary-punks.com>
Date: Tue, 13 Mar 2012 20:11:23 +0100
Local: Tues, Mar 13 2012 3:11 pm
Subject: Re: deform_bootstrap 0.1 released
Am 13.03.2012 um 19:01 schrieb Daniel Nouri:

> On Mon, Mar 12, 2012 at 6:18 PM, Benjamin Sims <benjamins...@gmail.com> wrote:
>> Hi, this looks great - I've recently been looking into bootstrap so this is
>> very timely for me.

>> I note however that it is not possible to use use_ajax with the package. I
>> wonder if you or the deform team might expand on this - what would it take
>> to use the two together?

> You're right.  We broke use_ajax sometime in the process.  I think
> there was a version conflict between a newer jQuery required for
> Bootstrap and the jquery.form.js in deform.  Might be easy to fix.
> Adding Andreas and Tom in the CC who worked on the JS, maybe they
> would know more.

The problem is that Bootstrap requires a recent version of jQuery, but deform's use_ajax feature doesn't work with any jquery.form version greater than 2.43, which in turn is limited to jQuery versions 1.4.x (IIRC).

So basically there are 2 options:

1. manually using (the most recent version of) jquery.form.  This works just fine by just putting a one liner in your projects' templates (something like "$('form').ajaxForm({target:$('form').parent()})").

2. updating all JS (static files *and* templates) in deform.  This should be done in deform itself, not deform_bootstrap.

Approach 1 is working fine for me in my current project and doesn't add much code (compared to "use_ajax=True").

HTH,

Andreas


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Benjamin Sims  
View profile  
 More options Mar 14 2012, 8:30 am
From: Benjamin Sims <benjamins...@gmail.com>
Date: Wed, 14 Mar 2012 12:30:36 +0000
Local: Wed, Mar 14 2012 8:30 am
Subject: Re: deform_bootstrap 0.1 released

Thanks for the tip. Practically, I will try the first option.

However, could the deform guys comment? Is there a plan to update to more
recent jQuery versions, or is there a reason not to do so?

Ben

On 13 March 2012 19:00, Andreas Kaiser <di...@binary-punks.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »