"Michele Cella" <[EMAIL PROTECTED]> writes:
> 3) I would like to remove two (I think) useless widgets since I can't
> see any use case fot them:
>
> Label (unused by TG core and by no one IMHO)
I use it in two ocasions:
- To provide results from calculations
- To show the exact value that is being used for some operations alongside
with the formatted one for "pretty printing".
One of my systems deals with money and to avoid rounding problems we work with
4 decimal digits instead of the traditional two digits. So, we just round
when showing the value to the user -- my client's client -- and internally we
use full four digits for calculations.
Another place is where I have -- in this same system -- to fit some points
inside a curve using R (http://www.r-project.org/) and rpy. I use Label to
prepare placeholders that will be filled by the AJAX that calculates such
"fit" through least squares method. This same javascript function puts in the
values (that get a nice appearance of bold for the value and hence some
highlight for the results ;-)) and a graphic with the plotted points and the
calculated curve.
I'd really appreciate if this was kept in, since I'd miss a lot if I had to
convert those forms to hand-written HTML just because of that...
> ImageButton (any example of using this as a widget)
I don't use that... But I can think of some uses to make the interface more
like a GUI ;-) But I don't mind if it is removed.
--
Jorge Godoy <[EMAIL PROTECTED]>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears Trunk" 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-trunk
-~----------~----~----~----~------~----~------~--~---