• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

Item7598: Do not store attributes in form field metadata

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Engine TWikiForms Normal Closed   patch 6.0.2

Edit Form Data

Summary:
Reported By:
Codebase:
Applies To:
Component:
Priority:
Current State:
Waiting For:
Target Release:
Released In:
 

Detail

This is a followup on Item7577: TWiki form field types with configure attributes.

Working on Item7577 I realized that there is no need to store the mandatory and hidden attributes in META:FIELD metadata. The attributes are stored in the form definition and are read there when needed, e.g. when not to show a form field in view mode if the hidden attribute is set.

This bug item removes the attribute from the form metadata.

Example metadata before change:

%META:FIELD{name="Country" attributes="H" title="Country" value="USA"}%

Example metadata after change:

%META:FIELD{name="Country" title="Country" value="USA"}%

-- TWiki:Main/PeterThoeny - 2014-12-13

ItemTemplate
Summary Do not store attributes in form field metadata
ReportedBy TWiki:Main.PeterThoeny
Codebase ~twiki4, 6.0.1
SVN Range TWiki-6.0.1-trunk, Tue, 09 Dec 2014, build 28493
AppliesTo Engine
Component TWikiForms
Priority Normal
CurrentState Closed
WaitingFor

Checkins TWikirev:28535 TWikirev:28536 TWikirev:28537 TWikirev:28538 TWikirev:28539 TWikirev:28540
TargetRelease patch
ReleasedIn 6.0.2
Edit | Attach | Watch | Print version | History: r10 < r9 < r8 < r7 < r6 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r10 - 2016-01-22 - PeterThoeny
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback