Forum OpenACS Improvement Proposals (TIPs): TIP#119 (APPROVED) Allow arbitrary attributes for template::list objects

Request notifications

Template::list::create and related procedures check the specifications to restrict the attributes of the specifications to a predefined list.

This means that every time someone wants to work with a list, its difficult to extend the existing behavior.

It would be good if developers could specify arbitraty extended attributes in the spec similar to the way form builder allows new widgets to specify new attributes for the widget without changeing form::element::create.

So I propose to remove this checking, or alternatievely add one switch to turn off this checking.

This will allow me to implement the ajax powered listbuilder without modifying the existing listbuilder code and only adding extensions within the ajaxhelper package. This will keep the listbuilder simpler and easier to maintain while still allowing extensions.

Approve
approve
Approve