• 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

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

Detail

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.

CC

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

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

Priority Normal
CurrentState Closed
WaitingFor

Checkins TWikirev:13711 TWikirev:13712
TargetRelease n/a
ReleasedIn

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-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback