On May 19, 8:57 am, Guri <[email protected]> wrote: > On May 19, 12:27 am, Alex Gaynor <[email protected]> wrote: > > > On Mon, May 18, 2009 at 2:04 PM, Guri <[email protected]> wrote: > > > > Hi, > > > Is there are way to useDojowidgets insideDjangoforms.py? > > > > Any package, pointers or procedure will help. > > > > Thanks In Advance > > > ~Guri > > >http://code.google.com/p/dojango/aimsto do just that. > > > Alex > > Yes, thanks, but couldn't figure out some stuff. A simple thing > When I use {{ form.as_table }} indjangotemplate, What should be > done to display > dojowidgets for TextInput and other form fields. > > ~Guri >
oh... That was naive ... anyway may help someone else. Just pass all the required dojo attributes like dojoType,trim ..etc as dictionary to forms.widgets.TextInput(attrs_dict=your_dict,...) Also add dojo.require(dijit.form.TextBox) ~Guri > > > > -- > > "I disapprove of what you say, but I will defend to the death your right to > > say it." --Voltaire > > "The people's good is the highest law."--Cicero --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django 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/django-users?hl=en -~----------~----~----~----~------~----~------~--~---

