Turns out this was a bug which Bryan promptly corrected and pushed the fix up to github. Works like a charm now.
Thanks Bryan!!! On Feb 25, 1:31 am, Bryan Larsen <[email protected]> wrote: > I notice that you're using the no-prototype alpha. > > On Sat, Feb 25, 2012 at 1:10 AM, Peter Pavlovich <[email protected]> wrote: > > Greetings, > > > I am trying to use the "datepicker" control from the hobo-jquery gem. > > Here is what I have in my application.dryml: > > > <def tag="input" for="Date"> > > <datepicker /> > > </def> > > > And here is what the tag generated: > > > <input type="text" id="" data_rapid="{"datepicker": > > {"options":{"dateFormat":"yy-mm- > > dd"},"events":{}}}"> > > There are two potential problems here. > > 1) it should be data-rapid rather than data_rapid. > > 2) the " should be \". Hopefully this is a cut and paste problem > rather than a real problem. > > #1 looks like bug #994. Is it possible that you're using a version of > Hobo (jquery branch) from before Jan 11? If so, can you bundle > update hobo and try again? > > thanks, > Bryan -- You received this message because you are subscribed to the Google Groups "Hobo Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/hobousers?hl=en.
