Fabio Natali wrote: > gearheart wrote: > >> maybe limit_choices_to is what you're looking for >> i had similar problem and solved with ajax autocomplete widget. >> > > I haven't yet get rid of those too-much-long inline drop down menus. > > I was thinking to use js to open up a window and let the user choose > from some hyerarchical menu... something like a first drop down menu > for the category and then a second drop down menu for the real > product, the latter being properly filtered by category. > > Could anyone provide some tips on how to get this? > > Thank you so much, > > The generic solution to this problem is to have a link in your main form that opens up the sub-window, then have the sub-window (before closing itself) set an appropriate attribute of its "opener", to set the form value in the main form. Was that what you wanted?
regards Steve --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---