• 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.

Item3997: Broken/clumsy code in Form.pm

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Engine   Normal Closed   n/a  

Edit Form Data

Reported By:
Applies To:
Current State:
Waiting For:
Target Release:
Released In:


Form.pm has a require JSCalendarContrib that isn't protected by an eval, so will die if JSCalendarContrib isn't installed.

-- HaraldJoerg - 08 May 2007

Further, the current architecture of the type-specific handlers is clunkly and makes it really heard to override a type, or add a new type, other than by using a plugin handler (which is like using a battleaxe to mow the lawn). the handlers for each type should be abstracted into functions to allow for a mini-plugin architecture.

-- CrawfordCurrie - 08 May 2007

Major refactoring of the forms code, including fixing several previously unnoticed shortcomings (such as inability to render mutiple values in hidden fields.


Summary Broken/clumsy code in Form.pm
ReportedBy TWiki:Main.CrawfordCurrie

SVN Range TWiki-4.1.2, Fri, 27 Apr 2007, build 13539
AppliesTo Engine

Priority Normal
CurrentState Closed

Checkins TWikirev:13711 TWikirev:13712
TargetRelease n/a

Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r4 - 2007-05-13 - TWikiUserMapping_CrawfordCurrie
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2023 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback