Jose/Ian,

Thank you both for your help.  This gives me a real indication of TG's
flexibility.  Because I'm a control freak, I took Ian's idea and a
couple experiments of mine and ran with it.  What I've come up with is
a JSON-delivered code string that gets executed as the callback.

function execCallBack(result) {
        eval (result['execfn']);
}

And I just place the "onchange" function into the widget definition.  I
like it because it allows me to do everything I need to right from
Python and, if I play my cards right, could make highly reusable stuff.
 I don't like it because initially debugging stuff that gets executed
by javascript eval() functions is even less friendly than normal.

-DS


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