Am 02.02.2011 um 23:41 schrieb Timuçin Kızılay:
02-02-2011 22:39, NiL yazmış:
Hi list,
I googled around without satifying solution, so I'd rather ask the
list before I reinvent the wheel.
I'd like a popup overlay on some content of my page. This content
will
have to come from av ajax request (mostly more details about a node
in
a grid).
I have already patched my app w/ latest release of jquery.ui.
Is there a widget to do just that ?
Should I script everything in js (why not) ?
in short, has anyone some feedback/pointers I should read before
heading back to my code ?
best
NiL
My answer to your that question:
q: > Should I script everything in js (why not) ?
a: Why not! Use jquery manually, as you'd use is on php or something
else and do not use tg widgets. I'm using this manual jquery usage
with pages with lots of complex forms and lots of ajax.
I think client side is not a domain for turbogears or any server
side web framework. I expect from tg to perform well on server side
and leave me alone, do not get in the way on the client side
(javascript). And tg can do this, that's why I use tg.
I disagree. We use ToscaWidgets to provide easy to use widgets that
bundle together JS, CSS + Python.
It might be that the OP can actually take advantage of one of our
packages:
http://hg.ableton.com/abl.jquery.ui/src/3a63009c351f/abl/jquery/ui/widgets.py
But even if not, making a widget is IMHO worth it, as it allows for
easy re-use.
Diez
--
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.