I've seen the discussion in this list about docs for ToscaWidgets, and have
been trying to read up enough to actually use the library.

The "Part 1" doc that's up here is a nice start:
http://wiki.pylonshq.com/display/toscawidgets/Using+twForms+with+Pylons.+Part+1

I would love some more docs, but it seems that the other docs in the wiki
are deprecated or just don't seem to work. And it seems that though the TW
code is good, it's *extremely* hard to find things in there, because code is
really sprinkled around, I simply can't find answers to simple questions
like how to iterate over the fields in a form to inspect them, or how to
grab onto a field by name. TW confounds my IDE  (Wing) inspection features
because of the tricky egg and package setup, and I guess it confounds me,
too.

But rather than complain about the lack of docs (as I'm not able to step up
and chip in) I'll ask if anyone is actually USING TW with Pylons, and if so,
can they send a sample app (or applet) that demonstrates the following:

- Simple form with a moderately custom output template
- including CSS/JS resources WITHOUT the LXML hack (I can't have a form
library messing with my doctype)
- a simple validator
- a simple controller that ties it together

It seems to me that some really simple Mako template code in a base template
could look through the form objects and harvest necessary items to go in the
header... which it seems, is the intent of this article:
http://wiki.pylonshq.com/display/pylonscookbook/An+Alternative+ToscaWidgets+Setup+with+Mako

But that article says that it's obsolete, and it also advocates changing the
name of the "c" object globally across the entire pylons app... which I am
also not eager to do.

With the attractiveness of TW and the chatter lately, I figure that someone
must have some good code working; can I see it?

Thanks!

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" 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/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to