Item12543: groking mapped values

pencil
Priority: Enhancement
Current State: Closed
Released In: n/a
Target Release:
Applies To: Extension
Component: FlexFormPlugin
Branches: trunk
Reported By: MichaelDaum
Waiting For:
Last Change By: MichaelDaum
--- lib/Foswiki/Plugins/FlexFormPlugin/Core.pm  (revision 16818)
+++ lib/Foswiki/Plugins/FlexFormPlugin/Core.pm  (working copy)
@@ -287,10 +287,10 @@
     $line =~ s/\$title\b/$fieldTitle/g;
 
     $line = $field->renderForDisplay($line, $fieldValue, {
-      bar=>'|', # SMELL: keep bars
-      newline=>'$n', # SMELL: keep newlines
-    }); # SMELL what about the attrs param in Foswiki::Form
-        # SMELL wtf is this attr anyway
+      bar=>'|', #  keep bars
+      newline=>'$n', # keep newlines
+      display=>1,
+    }); 

Related to Item12466

-- MichaelDaum - 11 Jul 2013

 
Topic revision: r3 - 13 Jul 2013, MichaelDaum
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy