Again we need the full traceback but another thing:

self.acfiled --- I think should probably be acfield which isn't a
problem since you seem to use it consistantly in the controller...
unless you are using it with the correct spelling within the template
and then it would be broken.

-Ian

On 12/23/06, wavydavy <[EMAIL PROTECTED]> wrote:

On Dec 23, 11:39 am, jose <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I'm playing with the following AutoCompletingFKLookupField widget, which
> gives me the error message:
[snip]
>     @turbogears.expose(format = "json")
>     def search(self, code=None, description=None):
>         matches = []
>         if description:ยท
>             for matches in listtable:
                    ^^^^^^^^^  is overriding previous definition!

Not sure what else may be broken, but this is certainly not helping :)

Can you post a full traceback?


--
wavydavy


>


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" 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/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to