-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 23 Mar 2011, at 18:57, Mike Orr wrote:
(if I can get it to work) ToscaWidgets


tw1 uses Formencode to a provide a Pylons-specific validation decorator:

http://toscawidgets.org/trac/tw/browser/tw/mods/pylonshf.py

tw2 provides its own validation, as described in this "What's new in tw2?" page:

http://toscawidgets.org/documentation/tw2.core/history.html#built-in-validation

I'm using tw2, I rolled my own decorator for tw2's built-in validator. I'm working on a production app and I don't have time to pick up deformishcheesegraterwtever. tw2 is working smoothly so far, so are all of the ["official"|Ralph Bean] tw2.jquery* apps [1, 2] that I've tried.

My form requirements are absolutely bog-standard, I'm familiar with formencode and I have i18n requirements to satisfy.

And that elFinder thingy is awfully shiny...

http://elrte.org/en/elfinder/demo

They even do a connector for Python, supplied in the form of a make_connector factory which can be neatly rolled up and fed to request.get_response():

def view(request):
    connectorapp = make_connector(
        None, options, '/view')
    request.path_info_pop()
    try:
        return request.get_response(
                            connectorapp)
    except HTTPException, exc:
        r = Response(str(exc))
        r.status_int = exc.code
        return r

Useful to have around.

[1] https://bitbucket.org/toscawidgets
[2] http://craftsman.rc.rit.edu/

- --
Cheers,

Graham

http://bel-epa.com/gjh/







-----BEGIN PGP SIGNATURE-----

iEYEARECAAYFAk2KXWYACgkQOsmLt1NhivygkACgqzgAiBNviQFW+GUjk1qpRZBi
ciUAniUaIFKffZ7fNxvFlaqoubTKEvSUiQCVAgUBTYpdZlnrWVZ7aXD1AQLMeAQA
2whtk+k+L7z8Cs0ZLOpO2y9rTWZGjQJ8ugDLasheOHu//xEJZf8NEMCbm4GBZKMl
cK8tRudwyTyGPTHttRrB3A9A6u8orPpfwNP5KX0oZa8z+L7l5TQe494ke3TuvTGi
6HMCUdjnaaxy4gXvvdWLtG+YjA2VEEbQCxhjO/9Lx48=
=YLdU
-----END PGP SIGNATURE-----

--
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