1.1 --- a/MoinForms.py Fri Jan 04 17:56:30 2013 +0100
1.2 +++ b/MoinForms.py Sat Jan 12 00:51:50 2013 +0100
1.3 @@ -2,7 +2,7 @@
1.4 """
1.5 MoinMoin - MoinForms library
1.6
1.7 - @copyright: 2012 by Paul Boddie <paul@boddie.org.uk>
1.8 + @copyright: 2012, 2013 by Paul Boddie <paul@boddie.org.uk>
1.9 @license: GNU GPL (v2 or later), see COPYING.txt for details.
1.10 """
1.11
1.12 @@ -502,9 +502,10 @@
1.13 def parseMacroArguments(args):
1.14
1.15 """
1.16 - Interpret the arguments.
1.17 - NOTE: The argument parsing should really be more powerful in order to
1.18 - NOTE: support labels.
1.19 + Interpret the arguments. To support commas in labels, the label argument
1.20 + should be quoted. For example:
1.21 +
1.22 + "label=No, thanks!"
1.23 """
1.24
1.25 try:
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
2.2 +++ b/PKG-INFO Sat Jan 12 00:51:50 2013 +0100
2.3 @@ -0,0 +1,21 @@
2.4 +Metadata-Version: 1.1
2.5 +Name: MoinForms
2.6 +Version: 0.1
2.7 +Author: Paul Boddie
2.8 +Author-email: paul at boddie org uk
2.9 +Maintainer: Paul Boddie
2.10 +Maintainer-email: paul at boddie org uk
2.11 +Home-page: http://moinmo.in/ParserMarket/MoinForms
2.12 +Download-url: http://moinmo.in/ParserMarket/MoinForms?action=AttachFile&do=view&target=MoinForms-0.1.tar.bz2
2.13 +Summary: Permit the definition of flexible Web forms in Wiki pages
2.14 +License: GPL (version 2 or later)
2.15 +Description: The MoinForms extension for MoinMoin provides a way of defining Web
2.16 + forms in Wiki pages that support elementary and extensible validation,
2.17 + replicated form sections, and a framework for handling submitted forms.
2.18 +Keywords: MoinMoin Wiki forms
2.19 +Requires: MoinMoin MoinSupport
2.20 +Classifier: Development Status :: 3 - Alpha
2.21 +Classifier: License :: OSI Approved :: GNU General Public License (GPL)
2.22 +Classifier: Programming Language :: Python
2.23 +Classifier: Topic :: Internet :: WWW/HTTP
2.24 +Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
3.1 --- a/docs/COPYING.txt Fri Jan 04 17:56:30 2013 +0100
3.2 +++ b/docs/COPYING.txt Sat Jan 12 00:51:50 2013 +0100
3.3 @@ -1,7 +1,7 @@
3.4 Licence Agreement
3.5 -----------------
3.6
3.7 -Copyright (C) 2012 Paul Boddie <paul@boddie.org.uk>
3.8 +Copyright (C) 2012, 2013 Paul Boddie <paul@boddie.org.uk>
3.9
3.10 This software is free software; you can redistribute it and/or
3.11 modify it under the terms of the GNU General Public License as
4.1 --- a/pages/HelpOnMoinForms Fri Jan 04 17:56:30 2013 +0100
4.2 +++ b/pages/HelpOnMoinForms Sat Jan 12 00:51:50 2013 +0100
4.3 @@ -43,6 +43,12 @@
4.4
4.5 }}}
4.6
4.7 +To define labels that contain commas or brackets, quote them as follows:
4.8 +
4.9 +{{{
4.10 +<<FormField(finish,ExampleFormDict,"label=Finish, once again, with the form. (Yes, I am sure.)")>>
4.11 +}}}
4.12 +
4.13 === Defining Form Regions ===
4.14
4.15 {{{{