• last updated 2 hours ago
Constraints: committers
Constraints: files
Constraints: dates
Use api to determine whether a field is disabled, as the "disabled" variable will always be set now

Differentiate the case of a field being a repeat field or a "normal" coumpound field: in the first case, the whole 'internal' should be converted regardless of the number of components, in the latter, keep the previous behavior

Fixes xowiki create_form_with_numeric after regression in https://cvs.openacs.org/changelog/OpenACS?cs=oacs-5-10%3Aantoniop%3A20220117174044

  1. … 1 more file in changeset.
Do not apply the new convert_to_external to repeat fields, stick with the previous behavior

Fixes xowiki create_form_with_form_instance automated test

form-field repeat: make "add another" label configurable per form-field type

  1. … 2 more files in changeset.
Use usual delete symbol for deleting repeat elements

  1. … 1 more file in changeset.
access components via instance variable

modernize code: use resolver variables rather than method calls

  1. … 14 more files in changeset.
- modernize code (remove "my")

- prefer fully qualified commands based on IDs

  1. … 33 more files in changeset.
Whitespace cleanup

whitespace changes

undo previous change, problem was solved more generically in form-field-procs.tcl

Improvement for repeated form field procs:

- Use JSON.parse instead of eval to ease CSP handling

- Base result of "value_if_nothing_is_returned_from_form" on results of components

This change makes it possible to remove a default value of e.g. a checkbox

from an repeated field.

  1. … 2 more files in changeset.
use :object directly, when possible

  1. … 3 more files in changeset.
prefer XOTcl2 idioms

  1. … 7 more files in changeset.
- add URNs for jquery, bootstrap, get-http-object, xowiki.css and yui2

- fix return-string from popular-tags and improve stylability in includelet

- remove obsolete "header_stuff" from templates

- replace global parameters BootstrapCSS and BootstrapJS in favor of URNs

- bump version number to 5.10.0d6

  1. … 24 more files in changeset.
fix typos

  1. … 6 more files in changeset.
fix typos

  1. … 8 more files in changeset.
Simplify call pattern

ensure that enough components are created

Prefer XOTcl2 idioms

  1. … 3 more files in changeset.
merged changes from the oacs-5-9 branch and resolved conflicts

  1. … 7834 more files in changeset.
- repated formfields: set repeat formfield empty if nothing is returned from form (man thanks to Thomas Renner for the patch)

fix for cases in repeat fields, where min != 1

  1. … 1 more file in changeset.
reduce dependency on aljaxhelper

- add repeat fields dynamically via js if needed.

This can improves load times for long complex nested repeat structure significantly

  1. … 1 more file in changeset.
- provide data-repeat attribute to the repeat container

- make status informatin about the container or the element being prototype explicit for generating controls or not

- use :form_field_index for adding names recursively to the index

- provide more detailed debugging info

  1. … 1 more file in changeset.
- remove commented out "if disabled" code; otherwise, the controls are also shown when viewing the items

- add debugging aids in case creation of nested formfields fails

  1. … 2 more files in changeset.
- detect when repeat fields are used in input mode: as long we have no js-support, max repeat count form fields have to be created in advance

- avoid duplicate generations for form fields in some cases

  1. … 2 more files in changeset.