Message2592
Hi,
From the docstring in form_parser.py:
'''
If both the "@note" and "@file" form variables are
specified, the action::
@link@msg-1@files=file-1
is also performed.
'''
Unfortunately when using this action directly on the form (<input type="hidden" name="@link@msg-1@files" value="file-1" />), it doesn't work. The reason: fieldname "@link@msg-1@files" is not matched by regular expression in FV_LABELS.
FV_LABELS = r'''
^(
(?P<note>[@:]note)|
(?P<file>[@:]file)|
(
((?P<classname>%s)(?P<id>[-\d]+))? # optional leading designator
((?P<required>[@:]required$)| # :required
(
(
(?P<add>[@:]add[@:])| # :add:<prop>
(?P<remove>[@:]remove[@:])| # :remove:<prop>
(?P<confirm>[@:]confirm[@:])| # :confirm:<prop>
(?P<link>[@:]link[@:])| # :link:<prop>
([@:]) # just a separator
)?
(?P<propname>[^@:]+) # <prop>
)
)
)
)$'''
|
|
Date |
User |
Action |
Args |
2009-02-03 14:22:20 | admin | link | issue2153101 messages |
2009-02-03 14:22:20 | admin | create | |
|