Printable version XML version
Login
Name

Password


Join
Forgot your password?
erp5.org => wiki.erp5.org !

erp5.org has permanently moved to wiki.erp5.org !

Current status of ERP5 community websites:

  • www.erp5.org should redirect to wiki.erp5.org automaticcaly.
  • wiki.erp5.org is the place where fresh news and documentation are published.
  • cps.erp5.org is the old erp5 community website.

Note: if you created content in this ancient portal, please migrate it to the wiki. The old website will stay online as long as all contents are not mograted to the wiki.

TypeChecking

ERP5 provide extensive type checking for data entered in Web pages.

Proposed approach

Forms in ERP5 can be used both to visualise and to modify data.

Whenever data is entered, a basic type checking is achieved (integer, float, color, member of a token list, etc.).

In case the type cheking fails, the form is regenerated with red color to show where wrong types have been entered.

Implementation

The proposed implementation concists in:

  • subclassing Formulator
  • adding a field for default template
  • rendering of formulator uses ZPT rendering

Problems

here, container non accessible form template or variables. This is a big problem.

Feature

we want message bellow and red. Seems to be possible with formulator

we want default value to be put in field more automatically

we want fields which can not be modified (new kind of field)

Default interface

Use top right to show message


(c) 2001-2004 ERP5 Foundation
www.erp5.org
All Content Published Under Free Licenses
Powered by ERP5 Open Source ERP, Zope, CPS and Nexedi