No problem, I remember it almost drove me batty the first time I had this problem. :)

Kevin H.

On 10/3/06, Ken Kuhlman < [EMAIL PROTECTED]> wrote:


Kevin Horn wrote:
> I haven't delved too deeply into your code, but I have seen this problem
> with refreshing the page instead of loading data into the widget when there
> is some error in the _javascript_.  This can be either an error in _javascript_
> you have added, or perhaps the _javascript_ for the widget isn't being found
> properly (I have seen both problems).
>
> Hope this is of some use...
> Kevin H

This got me back on track.  There was indeed an error executing the
_javascript_... I just didn't notice it because it disapeared when the
refresh happened.  The error I was getting was 'getElement("loading")
has no properties'.   Once I put a sleep into the do_search method, it
popped up like a sore thumb.

So I flipped the divs to use ids instead of names, and it worked like
a champ.  (ie, in the template, <div name="loading">  became  <div
id="loading"> )

Kevin, thanks for pointing me in the right direction!

-Ken

PS:   Someone migrated the documentation that I had attempted over to
the new doc site (thanks to them, too), so I fixed the bug there as
well.  Would someone be willing to delete the broken version of the
doc at the trac wiki?



--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to