Hi Henry,
Updating the widget set is definitely thecway to go. That won't make the pain go away.
The question becomes which set? I initially started on the tw2 extension widgets but found some of them limiting for my use. Remember tw2 core is the base widget and you need to find the extensions for tw2 to do anything useful.
I eventually settled on using different of widgets but used tw2 core to build them out. It gave a handle for turbogears to work with.
There's basically 3 parts to the widget. I will definitely be using the wrong terms here.
#1 turbogears needs to require the right set of javascript and css files. These are resources in the tw2 core.
#2 the right set of data needs to be fed into the widget. I have chopped and changed between directly feeding the widget through tg or making it get it from json. The json fetch method seems to be more complicated but causes less problems expecially around updates and caching.
#3 you got your js and css you got your data. Now to present it. These are made as templates of the customised widget which inherited the tw2 basic widget. If you have already played with templates in turbogears its more of the same thing.
- Craig
--
You received this message because you are subscribed to the Google Groups "TurboGears" group.
To unsubscribe from this group and stop receiving emails from it, send an email to turbogears+...@googlegroups.com.
To post to this group, send email to turbo...@googlegroups.com.
Visit this group at https://groups.google.com/group/turbogears.
For more options, visit https://groups.google.com/d/optout.