Feature

render form: form->add needs urgent refactoring! / #2347

Summary

open
Oct 10, 2006
Oct 10, 2006 / binder
Yesterday / phsouzacruz
 

Attached files

No files uploaded
at present the render form class needs input like this:
$array["Name of value"] = ["value"];
This is problematic if you have e.g. two projects with same name like "setup CMS". In that case, the "name of value" isn't unique, but the value (=id of project) is! So we need to refactor the form->add, so that the form ist built from
$array["value"] = ["Name of value"];
That way you can give the unique values to the form class and it will render the form flawless.

2 Comments

pixtur

Oct 10, 2006
Confirmed...
I know this flaw in the design very well. I always was affraid for refactoring it. Maybe we should do this after the v0.07 release is out...


binder

Oct 10, 2006
Antwort auf Confirmed...
jepp. no problem. it just occured, working on notice on persons? in the "project-list"
 

Comment / Update