i am using a fresh started project on the global python/turbogears
install (i mean not in workingenv.py)
I try to use remotelinks on one of a 3 column template so that it will
load back on the page the content stuff (middle column).

here is the controller:
    @expose(template="booklibrary.templates.welcome")
    def index(self):
        import time
        # log.debug("Happy TurboGears Controller Responding For Duty")
        return
dict(now=time.ctime(),link=LinkRemoteFunction("LoadBook",action='book/
1',update='content'))

    @expose(fragment=True)
    def book(self,ID):
        b=Book.get(ID)
        return book_widget.render(book=b)

and i then render the widget on the template with $
{link.display('GetBook')}

when i click on the link nothing happens on screen and firebug spits
put this error:

_113 has no properties
queryString(null, undefined)MochiKit.js (line 735)
remoteRequest(Window #, "book/1", "content", null, Object)ajax.js
(line 18)
onclick(click clientX=0, clientY=0)# (line 1)
[Break on this error] if(typeof (MochiKit.DOM)!
="undefined"&&arguments.length==1&&(typeof (_113)=="str...

but im no expert in javascript and i could use a little help. I cannot
understand the _ variables and what they store, so i cannot pinpoint
the problem. Anyone has any ideas??? Iam i doing something wrong?
(that is most possible ;P)




My turbogears installation:

tg-admin info:
TurboGears Complete Version Information

TurboGears requires:

* TurboGears 1.0.2.2
* Cheetah 2.0rc8
* configobj 4.4.0
* DecoratorTools 1.4
* RuleDispatch 0.5a0.dev-r2306
* setuptools 0.6c5
* FormEncode 0.7.1
* PasteScript 1.3.4
* elementtree 1.2.6-20050316
* simplejson 1.7.1
* CherryPy 2.2.1
* TurboKid 1.0.1
* TurboCheetah 0.9.5
* TurboJson 1.0
* PyProtocols 1.0a0dev-r2302
* PasteDeploy 1.3
* Paste 1.3
* kid 0.9.5
* Cheetah 2.0rc8
* RuleDispatch 0.5a0.dev-r2306
* DecoratorTools 1.4

Identity Providers

* sqlobject (TurboGears 1.0.2.2)
* sqlalchemy (TurboGears 1.0.2.2)

tg-admin Commands

* info (TurboGears 1.0.2.2)
* shell (TurboGears 1.0.2.2)
* quickstart (TurboGears 1.0.2.2)
* update (TurboGears 1.0.2.2)
* sql (TurboGears 1.0.2.2)
* i18n (TurboGears 1.0.2.2)
* toolbox (TurboGears 1.0.2.2)

Visit Managers

* sqlobject (TurboGears 1.0.2.2)
* sqlalchemy (TurboGears 1.0.2.2)

Template Engines

* kid (TurboKid 1.0.1)
* cheetah (TurboCheetah 0.9.5)
* json (TurboJson 1.0)

Widget Packages

* tinymce (TurboTinyMCE 1.0.6)
* selectshuttle (Select-Shuttle 1.3.1)
* file_fields (FileFields 0.1a6.dev-r1048)
* lightbox (Lightbox 2.0-p1)
* scriptaculous (Scriptaculous 1.6)

Toolbox Plugins

* info (TurboGears 1.0.2.2)
* catwalk (TurboGears 1.0.2.2)
* shell (TurboGears 1.0.2.2)
* designer (TurboGears 1.0.2.2)
* widgets (TurboGears 1.0.2.2)
* admi18n (TurboGears 1.0.2.2)

TurboGears Extensions

* visit (TurboGears 1.0.2.2)
* identity (TurboGears 1.0.2.2)
* file_server (FileFields 0.1a6.dev-r1048)


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