Item11954: RENDERFOREDIT: overriding format param kills default values for header and footer

pencil
Priority: Normal
Current State: No Action Required
Released In: n/a
Target Release: n/a
Applies To: Extension
Component: FlexFormPlugin
Branches:
Reported By: OliverKrueger
Waiting For:
Last Change By: MichaelDaum
Contrary to the documentation the default values for header and footer are <div class='foswikiFormSteps'> and </div>.

These default values are emptied, if you use the format param.

Testcase

%RENDERFOREDIT{
  format="<div class='foswikiFormStep'><h3>$description</h3> $edit </div>"
}%

-- OliverKrueger - 17 Jun 2012

Correct. Or expressed the other way around: format, header, and footer will only have default values when they are all empty. Reason is that only together do they make sense.

Same logic applies to RENDERFORDISPLAY

-- MichaelDaum - 17 Oct 2012
 

ItemTemplate edit

Summary RENDERFOREDIT: overriding format param kills default values for header and footer
ReportedBy OliverKrueger
Codebase
SVN Range
AppliesTo Extension
Component FlexFormPlugin
Priority Normal
CurrentState No Action Required
WaitingFor
Checkins
TargetRelease n/a
ReleasedIn n/a
CheckinsOnBranches
trunkCheckins
Release01x01Checkins
Topic revision: r2 - 17 Oct 2012, 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