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.
> 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.
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:
> thank you for the awesome efforts. it looks fantastic.
> On Mar 2, 1:50 pm, Daniel Nouri <daniel.no...@gmail.com> wrote: > > What is deform_bootstrap?
> > deform_bootstrap provides Bootstrap 2 compatible widgets and templates > > for the Deform form library. > > For documentation, seehttp://pypi.python.org/pypi/deform_bootstrap
> > 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 received this message because you are subscribed to the Google Groups > "pylons-discuss" group. > To post to this group, send email to pylons-discuss@googlegroups.com. > To unsubscribe from this group, send email to > pylons-discuss+unsubscribe@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/pylons-discuss?hl=en.
> 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:
> > hi daniel,
> > thank you for the awesome efforts. it looks fantastic.
> > On Mar 2, 1:50 pm, Daniel Nouri <daniel.no...@gmail.com> wrote:
> > > What is deform_bootstrap?
> > > deform_bootstrap provides Bootstrap 2 compatible widgets and templates
> > > for the Deform form library.
> > > For documentation, seehttp://pypi.python.org/pypi/deform_bootstrap
> > > 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 received this message because you are subscribed to the Google Groups
> > "pylons-discuss" group.
> > To post to this group, send email to pylons-discuss@googlegroups.com.
> > To unsubscribe from this group, send email to
> > pylons-discuss+unsubscribe@googlegroups.com.
> > For more options, visit this group at
> >http://groups.google.com/group/pylons-discuss?hl=en.
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.
> 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.
> 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").
> 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").
> > 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").