Re: Ajax widget
Hi Mike I have the same problem, and I don't know how to resolve, I'm newbie in django and I'm trying to understand how to create templatetags for resolve this because is very important for me. Have you the solution?? If I get, I say to you too. THX On 4 Gen, 20:13, mike <[EMAIL PROTECTED]> wrote: > Malcolm thanks for the reply, The javascript code above was working i > was just unable to implement it into my template input box. I will try > as you suggest. > > On Jan 4, 10:59 am, Empty <[EMAIL PROTECTED]> wrote: > > > So I'm really confused. You asked this same question on > > 12/14:http://groups.google.com/group/django-users/browse_frm/thread/3415d1b... > > > The original author of the Wiki page that you're referring to > > responded. The code is a year and a half old and it seems to not be > > working. But now you're asking the same question again. > > > My recommendation is to take the ideas that are in that code and > > rewrite them to make them work, if you're stuck on that dojo > > implementation. If you're not up to that task then I suggest you look > > at several on Django Snippets: > > > Jquery:http://www.djangosnippets.org/snippets/269/ > > YUI:http://www.djangosnippets.org/snippets/392/ > > > If neither of those suit you, contact me directly and I can send you > > some other code for a YUI implementation. > > > Good luck. > > > Michael Trier > > blog.michaeltrier.com > > > On Jan 4, 2008 9:52 AM, mike <[EMAIL PROTECTED]> wrote: > > > > thx for the reply malcolm, I am trying to implement the Dojo select > > > box into one of my forms, I followed the instructions and i know the > > > javascript is working because I can get results by using the query > > > string in my browser, > > > >http://localhost:8000/myapp/reporter_lookup/?q=returns results, > > > The last part involves using a template tag (formtags.py) that comes > > > with the nong javascript package and loading it with a {% load > > > formtags %} statement then using a > > > > {% selectrow form.reporter "/myapp/reporter_lookup/?q=% > > > {searchString}" > > > "first_name" %} > > > > statement to spit out the code for the input box. This template tag is > > > no longer valid and cannot be imported so the select row statement > > > will no longer work > > > > On Jan 3, 8:36 pm, Malcolm Tredinnick <[EMAIL PROTECTED]> > > > wrote: > > > > > On Thu, 2008-01-03 at 15:25 -0800, mike wrote: > > > > > I am trying to implement the Dojo Select box into a template I am > > > > > creating. > > > > > I have used the formtags that is inluded in the nongselect tar > > > > > package. but It seems with the development version of django the > > > > > import > > > > > statements {% load formtags %} no longer work, I need a way to > > > > > replace the > > > > > You seem to be mixing up multiple problem reports here, but let's start > > > > with this one. The "load" tag still works in Django. So you should try > > > > to figure out why whatever third-party code you're using doesn't want to > > > > load with the development version. > > > > > Regards, > > > > Malcolm > > > > > -- > > > > No one is listening until you make a > > > > mistake.http://www.pointy-stick.com/blog/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com 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 -~--~~~~--~~--~--~---
Re: Ajax widget
Malcolm thanks for the reply, The javascript code above was working i was just unable to implement it into my template input box. I will try as you suggest. On Jan 4, 10:59 am, Empty <[EMAIL PROTECTED]> wrote: > So I'm really confused. You asked this same question on > 12/14:http://groups.google.com/group/django-users/browse_frm/thread/3415d1b... > > The original author of the Wiki page that you're referring to > responded. The code is a year and a half old and it seems to not be > working. But now you're asking the same question again. > > My recommendation is to take the ideas that are in that code and > rewrite them to make them work, if you're stuck on that dojo > implementation. If you're not up to that task then I suggest you look > at several on Django Snippets: > > Jquery:http://www.djangosnippets.org/snippets/269/ > YUI:http://www.djangosnippets.org/snippets/392/ > > If neither of those suit you, contact me directly and I can send you > some other code for a YUI implementation. > > Good luck. > > Michael Trier > blog.michaeltrier.com > > On Jan 4, 2008 9:52 AM, mike <[EMAIL PROTECTED]> wrote: > > > > > thx for the reply malcolm, I am trying to implement the Dojo select > > box into one of my forms, I followed the instructions and i know the > > javascript is working because I can get results by using the query > > string in my browser, > > >http://localhost:8000/myapp/reporter_lookup/?q= returns results, > > The last part involves using a template tag (formtags.py) that comes > > with the nong javascript package and loading it with a {% load > > formtags %} statement then using a > > > {% selectrow form.reporter "/myapp/reporter_lookup/?q=% > > {searchString}" > > "first_name" %} > > > statement to spit out the code for the input box. This template tag is > > no longer valid and cannot be imported so the select row statement > > will no longer work > > > On Jan 3, 8:36 pm, Malcolm Tredinnick <[EMAIL PROTECTED]> > > wrote: > > > > On Thu, 2008-01-03 at 15:25 -0800, mike wrote: > > > > I am trying to implement the Dojo Select box into a template I am > > > > creating. > > > > I have used the formtags that is inluded in the nongselect tar > > > > package. but It seems with the development version of django the > > > > import > > > > statements {% load formtags %} no longer work, I need a way to > > > > replace the > > > > You seem to be mixing up multiple problem reports here, but let's start > > > with this one. The "load" tag still works in Django. So you should try > > > to figure out why whatever third-party code you're using doesn't want to > > > load with the development version. > > > > Regards, > > > Malcolm > > > > -- > > > No one is listening until you make a > > > mistake.http://www.pointy-stick.com/blog/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com 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 -~--~~~~--~~--~--~---
Re: Ajax widget
So I'm really confused. You asked this same question on 12/14: http://groups.google.com/group/django-users/browse_frm/thread/3415d1b0bf21cf7a/c26747fb42ae3b24?lnk=st&q=AJAXWidgetComboBox#c26747fb42ae3b24 The original author of the Wiki page that you're referring to responded. The code is a year and a half old and it seems to not be working. But now you're asking the same question again. My recommendation is to take the ideas that are in that code and rewrite them to make them work, if you're stuck on that dojo implementation. If you're not up to that task then I suggest you look at several on Django Snippets: Jquery: http://www.djangosnippets.org/snippets/269/ YUI: http://www.djangosnippets.org/snippets/392/ If neither of those suit you, contact me directly and I can send you some other code for a YUI implementation. Good luck. Michael Trier blog.michaeltrier.com On Jan 4, 2008 9:52 AM, mike <[EMAIL PROTECTED]> wrote: > > thx for the reply malcolm, I am trying to implement the Dojo select > box into one of my forms, I followed the instructions and i know the > javascript is working because I can get results by using the query > string in my browser, > > http://localhost:8000/myapp/reporter_lookup/?q= returns results, > The last part involves using a template tag (formtags.py) that comes > with the nong javascript package and loading it with a {% load > formtags %} statement then using a > > {% selectrow form.reporter "/myapp/reporter_lookup/?q=% > {searchString}" > "first_name" %} > > statement to spit out the code for the input box. This template tag is > no longer valid and cannot be imported so the select row statement > will no longer work > > On Jan 3, 8:36 pm, Malcolm Tredinnick <[EMAIL PROTECTED]> > wrote: > > > On Thu, 2008-01-03 at 15:25 -0800, mike wrote: > > > I am trying to implement the Dojo Select box into a template I am > > > creating. > > > I have used the formtags that is inluded in the nongselect tar > > > package. but It seems with the development version of django the > > > import > > > statements {% load formtags %} no longer work, I need a way to > > > replace the > > > > You seem to be mixing up multiple problem reports here, but let's start > > with this one. The "load" tag still works in Django. So you should try > > to figure out why whatever third-party code you're using doesn't want to > > load with the development version. > > > > Regards, > > Malcolm > > > > -- > > No one is listening until you make a > > mistake.http://www.pointy-stick.com/blog/ > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com 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 -~--~~~~--~~--~--~---
Re: Ajax widget
thx for the reply malcolm, I am trying to implement the Dojo select box into one of my forms, I followed the instructions and i know the javascript is working because I can get results by using the query string in my browser, http://localhost:8000/myapp/reporter_lookup/?q= returns results, The last part involves using a template tag (formtags.py) that comes with the nong javascript package and loading it with a {% load formtags %} statement then using a {% selectrow form.reporter "/myapp/reporter_lookup/?q=% {searchString}" "first_name" %} statement to spit out the code for the input box. This template tag is no longer valid and cannot be imported so the select row statement will no longer work On Jan 3, 8:36 pm, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > On Thu, 2008-01-03 at 15:25 -0800, mike wrote: > > I am trying to implement the Dojo Select box into a template I am > > creating. > > I have used the formtags that is inluded in the nongselect tar > > package. but It seems with the development version of django the > > import > > statements {% load formtags %} no longer work, I need a way to > > replace the > > You seem to be mixing up multiple problem reports here, but let's start > with this one. The "load" tag still works in Django. So you should try > to figure out why whatever third-party code you're using doesn't want to > load with the development version. > > Regards, > Malcolm > > -- > No one is listening until you make a mistake.http://www.pointy-stick.com/blog/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com 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 -~--~~~~--~~--~--~---
Re: Ajax widget
On Thu, 2008-01-03 at 15:25 -0800, mike wrote: > I am trying to implement the Dojo Select box into a template I am > creating. > I have used the formtags that is inluded in the nongselect tar > package. but It seems with the development version of django the > import > statements {% load formtags %} no longer work, I need a way to > replace the You seem to be mixing up multiple problem reports here, but let's start with this one. The "load" tag still works in Django. So you should try to figure out why whatever third-party code you're using doesn't want to load with the development version. Regards, Malcolm -- No one is listening until you make a mistake. http://www.pointy-stick.com/blog/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com 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 -~--~~~~--~~--~--~---