• last updated 9 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
bugfix #1099: using noparse instead of ~ or +; removed unprotecting via ~ or +

  1. … 1 more file in changeset.
bugfix #1096: let displayed text in form begin with -

  1. … 2 more files in changeset.
make some Notices either warnings or debug and made them more descriptive by generally including the proc name as well bug #1032

  1. … 74 more files in changeset.
removing ns_log LARS: debug printouts. Retaining those in the APM dependency check on debug level

  1. … 3 more files in changeset.
Started I18N work (Together with Lars)

Added namespace eval $namespace calls to each file in the tcl dir.

Rooted out some hardcoded text, replaced it with respective calls to

the i18n text catalog text function.

Shuffled around proc creation and calling, so that everything works properly.

  1. … 25 more files in changeset.
Fixed bug #801: Buttons multirow not available inside formtemplate so edit/display modes don't work

  1. … 1 more file in changeset.
Bug #801 - made display / edit mode buttons available in a form_buttons(label, name) multirow.

  1. … 1 more file in changeset.
The buttons-fix had no datatype, causing it to default to integer, which caused annoying messages in the error log

Added documentation for form get_values and set_values

Renamed standard-lars to standard, and standard to blue

  1. … 5 more files in changeset.
Applied patch #231 - get rid of buttons multirow, and replace with submit form elements

  1. … 9 more files in changeset.
adding the template::form::get_elements proc that returns the element names of a form

Clarified documentation on actions and display_buttons switch to form::create. display_buttons is deprecated

Merged 4.6.4d1 (unreleased) to HEAD. This marks the end of the life of the oacs-4-6 branch.

  1. … 816 more files in changeset.
Added API to set errors on form elements

Clear the formerror array first, otherwise there are conflicts with multiple forms on one page

Made the form bomb when there's a validation error in a hidden element, because these errors are very hard to find, and cause the form to just go back in the face of the user over and over again. Better to bomb and make it explicit.

Merged over the get_errors proc from HEAD

  1. … 1 more file in changeset.
Added 'show_required_p' flag to forms, made standard-lars the default form style, and added a parameter for the default list style, which won't be relevant until I commit the list builder later, but it doesn't hurt any.

  1. … 3 more files in changeset.
merge of 4.6.3b1 to HEAD

  1. … 107 more files in changeset.
Added documentation for my new form builder enhancements

  1. … 1 more file in changeset.
Added parameter DefaultFormStyle for the default form style to use when none is specified. Used to be hard-coded to 'standard', now there's a site-wide setting for it.

  1. … 2 more files in changeset.
Renamed the action implementation from form:action to form:formaction to avoid clashes with normal form elements named 'action'.

Upgrade to 4.6.2: Form builder extensions, richtext widget, etc.

  1. … 19 more files in changeset.
cross link the form, element, widget, and validate procs, add template::data::validate::string, https should be valid url

  1. … 3 more files in changeset.
Changes to how buttons work: Form-builder now takes care of determining which buttons to use, not the template; Added actions functionality to form builder

  1. … 10 more files in changeset.
Implemented Tilmann's suggestion of cancel_url/cancel_label switches to form create, so the form builder can handle the cancel button for you.

  1. … 1 more file in changeset.
Implemented some enhancements to the form builder:

- support a -mode switch on forms, which can be either 'display' or 'edit'. If 'display', all fields are grayed out, and the pretty value is displayed instead of the internal value (e.g. the label of the element of a list).

- support multiple buttons on the form. Used for the 'Edit' button, but can be used for other buttons as well.

- Fixed all the standard templates to include the new buttons and to use the <label> tag.

- Added an example to the documentation showing how this new display/edit mode looks.

  1. … 15 more files in changeset.
Added a template::form::get_error function that returns an "array get" version of the errors on the form. It's mostly a convenient proc for debugging forms that don't work as expected due to the common situation where some hidden form element contains errors that cause the form to not process.

added dummy documentation procs for element form and multirow, documented template::multirow

  1. … 3 more files in changeset.