Question 1:
Are those available in tc? What are their names? Is the syntax the
same as tg widgets ? Examples?
Question 2:
Is there a option that overloads the tc datagrid/paginate grid to
provide csv,xls,odt,pdf export. I need at least csv. Examples on doing
so? Or example on how to make it happen?
Question 3:
What does "Tosca" mean? Is There a plan to maybe replace it with
something easier to remember? "pywidgets...etc.. I can never remember
the correct name, so every time I search for some info I need google
the right name, then search for my info.
Thanks,
Lucas
--
Where was my car manufactured?
http://cars.lucasmanual.com/vin
TurboGears Manual-Howto
http://lucasmanual.com/pdf/TurboGears-Manual-Howto.pdf
first of all: s/tc/tw
http://toscawidgets.org/documentation/WidgetBrowser/
> Question 3:
> What does "Tosca" mean? Is There a plan to maybe replace it with
> something easier to remember? "pywidgets...etc.. I can never remember
> the correct name, so every time I search for some info I need google
> the right name, then search for my info.
http://en.wikipedia.org/wiki/Tosca
http://upload.wikimedia.org/wikipedia/commons/thumb/6/66/Puccini_Tosca.jpg/200px-Puccini_Tosca.jpg
I don't think it will be renamed. After all Alberto does not ask that
you change your name. I'm sure you'll get used to it. And personally I
find this name quite pretty.
Florent.
Almost, but not quite, it actually indirectly comes from the opera but
also an Austrian band:
http://en.wikipedia.org/wiki/Tosca_%28band%29
The indirect part comes from a cat a friend of mine left at my house to
babysit while she had to travel a couple of years ago. Tosca, the cat,
fell in love with me and I fell in love with her so I soon became her
official babysitter whenever my friend had to travel. A couple of months
later she finally went back to live at her home in the UK. Instead of
leaving poor Tosca in mandatory quarantine for more than a month she
decided to leave Tosca with me. Happy end :)
Ahh, btw, the cat was named Tosca after the opera :)
> I don't think it will be renamed. After all Alberto does not ask that
> you change your name. I'm sure you'll get used to it. And personally I
> find this name quite pretty.
:D Well said Florent. Sorry Lukasz, TW has already gone through an
identity crisis before:
And besides that, it's probably more work for us to rename every package,
mention in the docs, pypi, logo, etc... than for you to change your name
;)
Alberto
Also, has anybody though of some kind of connection between tw and
Xforms?
It would be great If I was able to create a xfroms in openoffice, then
save it and tell tw to use the form I crated? That's something in the
future maybe? I see it as designing advanced forms layouts use
openoffice, and using them on turbogers sites.
A non-exhaustive list of available TW widgets (only those that are
installed in tw.org) is in the "widgets" tab here:
http://toscawidgets.org/widget
Regarding xforms, I have no plans to implement a bridge between xforms
and tw.forms.
Alberto
No there isn't but as I've said, I'll gladly add it
> So I assume csv export is not available? Since you know more on detail
> structure of datagrid what would one need to do to enable csv output.
> Somehow get data that goes to datagrid, make a copy and give a csv
> data feed? What function would need to be overloaded, where and how
> would be nice.
>
I would just put a link somewhere in the grid to a controller action
that returns the csv. A more sophisticated solution might involve
dumping the data as json in some js variable and formatting the csv on
the browser using javascript. See [1] for more details.
Alberto
[1]
http://toscawidgets.org/documentation/ToscaWidgets/modules/api.html#javascript-interfacing-utilities