Thanks for the responses!

Adam, perhaps I'm reading something that's not there, but you sound
kind of reluctant?  Is there some reason that I shouldn't override the
constructor?  I actually tried that for a bit but couldn't figure out
why.  But with your code, I think it'll work.

I wanted to have everything finished before the actual rendering and
then just return the whole thing in the dict that I send to the
template, which is why I prefer the constructor way of doing it.


Also, on a side note... is there any way of specifying the id of a
widget?  I tried doing widgets.SingleSelectField(label="My Field
Label", id="myfieldid")
but TG didn't seem to like that very much (it warned me and didn't use
the id).  Because I'm using Mochikit/JS to replaceChildNodes after
getting a specific tag id.

I suppose I could just let TG name my id and then change my Mochikit
code, but it seems easier the other way around.


Frank


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