Item8909: Overriding formfield properties does not work in RENDERFORDISPLAY

pencil
Priority: Normal
Current State: Closed
Released In:
Target Release: n/a
Applies To: Extension
Component: FlexFormPlugin
Branches:
Reported By: PasiHaekkinen
Waiting For:
Last Change By: MichaelDaum
The reason for this is that formfield HTML markup is renderered by formfield object's renderForDisplay(), not by FlexFormPlugin itself.

Plugins/FlexFormPlugin/Core.pm:

After calling
line 220:    $line = $field->renderForDisplay($line, $fieldValue, { bar=>'|', newline=>'$n', });
there's nothing to do for regexps like
line 235:    $line =~ s/\$title\b/$fieldTitle/g;

This can be fixed by calling renderForDisplay after regexps.

-- PasiHaekkinen - 14 Apr 2010

fixed in latest release 2.3

-- MichaelDaum - 22 Jul 2010

ItemTemplate edit

Summary Overriding formfield properties does not work in RENDERFORDISPLAY
ReportedBy PasiHaekkinen
Codebase 1.0.9, trunk
SVN Range
AppliesTo Extension
Component FlexFormPlugin
Priority Normal
CurrentState Closed
WaitingFor
Checkins
TargetRelease n/a
ReleasedIn
Topic revision: r2 - 22 Jul 2010, 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