[Webware-discuss] Example howto use FormEncode with Webware-1.1b1

2010-05-09 Thread Georg Balmer
I am trying to find a very basic example using FormEncode with Webware-1.1b1. Any help or advice is very welcome. Regards Georg Balmer -- ___ Webware-discuss mailing list We

[Webware-discuss] Example howto use FormEncode with Webware-1.1b1

2010-05-10 Thread Georg Balmer
I am trying to find a very basic example using FormEncode with Webware-1.1b1. The orginal WebwareExample by Ian Bicking is working after eliminating HTMLForm but some german error messages produce a UnicodeEncodeError in HTTPResponse. The comment in HTTPResponse.py (around Line 260) let's me assu

Re: [Webware-discuss] Example howto use FormEncode with Webware-1.1b1

2010-05-10 Thread Christoph Zwerschke
Am 10.05.2010 12:57 schrieb Georg Balmer: > The orginal WebwareExample by Ian Bicking is working after eliminating > HTMLForm > but some german error messages produce a UnicodeEncodeError in HTTPResponse. Sorry, I cannot find this example you're referring to, where is it? Generally, you must out

Re: [Webware-discuss] Example howto use FormEncode with Webware-1.1b1

2010-05-10 Thread Georg Balmer
Thank you for your reply My test setup is: . fedora 11 . python 2.6 . formencode in site-packages/formencode (had to add the i18n directory) from [2] . webware-1.1.b1 . using utf-8 I got the example from a direct download from formencode.org: . [2] svn co http://svn.colorstudy.com/FormEncod

Re: [Webware-discuss] Example howto use FormEncode with Webware-1.1b1

2010-05-11 Thread Christoph Zwerschke
Am 11.05.2010 08:53, schrieb Georg Balmer: > I got the example from a direct download from formencode.org: > . [2] svn co http://svn.colorstudy.com/FormEncode/trunk FormEncode > (examples directory: WebwareExamples/index.py) Thanks, I was not aware of that example. Seems it was actually writt

Re: [Webware-discuss] Example howto use FormEncode with Webware-1.1b1

2010-05-11 Thread Georg Balmer
Thank your for your excellent help. The basic example works. Next step is your SchemaBuilder suggestion. Regards Georg - Am 11.05.2010 11:44, schrieb Christoph Zwerschke: > Am 11.05.2010 08:53, schrieb Georg Balmer: >> I got the

Re: [Webware-discuss] Example howto use FormEncode with Webware-1.1b1

2010-05-11 Thread Christoph Zwerschke
Am 11.05.2010 13:33 schrieb Georg Balmer: > Next step is your SchemaBuilder suggestion. Just tried it, but it doesn't seem to be very useful since you cannot specify and validator arguments, and I had to fix some things first (see http://bitbucket.org/cito/formencode/changeset/e39881f76131). I

Re: [Webware-discuss] Example howto use FormEncode with Webware-1.1b1

2010-05-12 Thread Georg Balmer
Right now I have questions like: What's needed to get the basic example in an application? - . elaborate examples "Fields OK-exit" . References to helpful documentation like .. The Definitve Guide to Pylons (James Gardner): Chapter 6 ... W

Re: [Webware-discuss] Example howto use FormEncode with Webware-1.1b1

2010-05-12 Thread Christoph Zwerschke
Am 12.05.2010 10:00 schrieb Georg Balmer: > . elaborate examples "Fields OK-exit" That's simple, just add names to your submit buttons and check them with the hasField() method. Actually I'm not using FormEncode with Webware, so I cannot contribute any best practices to the Wiki, but the Wiki

Re: [Webware-discuss] Example howto use FormEncode with Webware-1.1b1

2010-05-12 Thread Georg Balmer
What do I want? (random work in progress) [1] Development path to port Webware applications using FunFormKit to Webware-1.1 and FormEncode + WebHelpers + ... with existing and new tools. [2] Development path for new Webware(?) applications with existing and new tools. [3] The target platform (at

Re: [Webware-discuss] Example howto use FormEncode with Webware-1.1b1

2010-05-13 Thread Christoph Zwerschke
Am 13.05.2010 07:42 schrieb Georg Balmer: > What do I want? (random work in progress) Sounds good. Sphinx is already on our "future" list: http://wiki.w4py.org/futurework.html You can use the Wiki to add recipes and tutorials as drafts; they don't need to be polished. The Wiki and the existing

Re: [Webware-discuss] Example howto use FormEncode with Webware-1.1b1

2010-05-13 Thread Georg Balmer
OK I just registered on the wiki an opened my first page. = Formgen - First steps = I tried to find a way how I could work offline on my Sphinx document an then upload the document to the wiki, but I didn't succeed. Do you have a hint for a wiki dummy? Reg

Re: [Webware-discuss] Example howto use FormEncode with Webware-1.1b1

2010-05-13 Thread Christoph Zwerschke
Am 13.05.2010 15:39 schrieb Georg Balmer: > I tried to find a way how I could work offline on my Sphinx document > an then upload the document to the wiki, but I didn't succeed. > Do you have a hint for a wiki dummy? Since both Sphinx and Wiki use ReST format, you can just click on "Edit -> Ed

Re: [Webware-discuss] Example howto use FormEncode with Webware-1.1b1

2010-05-13 Thread Georg Balmer
I am all set now for working on the wiki. Thanks for your tip. The revamped FormEncode example shows me the correct schema specifications for the color checkboxes. The usage for "preAction" and "postAction" is new to me. Next I try generate the code for the "form_template" using "WebHelpers". HTM

Re: [Webware-discuss] Example howto use FormEncode with Webware-1.1b1

2010-05-14 Thread Christoph Zwerschke
Am 13.05.2010 18:14 schrieb Georg Balmer: > Next I try generate the code for the "form_template" using "WebHelpers". > HTMLgeneration is mentioned in the "future" list. > Has this something to do with what I try to do with Webhelpers? Yes, webhelpers.html seems to do these things. Maybe it's good

Re: [Webware-discuss] Example howto use FormEncode with Webware-1.1b1 (2)

2010-05-10 Thread Georg Balmer
Thank you for your reply My test setup is: . fedora 11 . python 2.6 . formencode in site-packages/formencode (had to add the i18n directory) from [2] . webware-1.1.b1 . using utf-8 I got the example from a direct download from formencode.org: . [2] svn co http://svn.colorstudy.com/FormEnco