1118 Commits

Author SHA1 Message Date
Thomas Gelf
b9bd71cc13 DirectorObjectForm: more restrictive auto-id field 2015-08-03 12:54:40 +02:00
Thomas Gelf
d931eee9b3 DirectorObjectForm: customvars work with post 2015-08-03 12:54:40 +02:00
Thomas Gelf
ea2add6dc0 DirectorObjectForm: postpone "dummy" object creation 2015-08-03 12:54:40 +02:00
Thomas Gelf
02daf8b97a DirectorObjectForm: allow to set object externally 2015-08-03 12:54:40 +02:00
Thomas Gelf
44013eec42 DirectorObjectForm: remodel boolean helpers 2015-08-03 12:54:40 +02:00
Thomas Gelf
1e5deb2441 DirectorObjectForm: say "inherited from ..." 2015-08-03 12:54:40 +02:00
Thomas Gelf
213df7e34b DirectorObjectForm: remove now useless hook 2015-08-03 12:54:40 +02:00
Thomas Gelf
237aaffc45 ObjectController: code cleanup, use fields 2015-08-03 12:54:40 +02:00
Thomas Gelf
94e777a390 ObjectController: add fields action 2015-08-03 12:54:40 +02:00
Thomas Gelf
591e816638 ObjectController: simplify object loading 2015-08-03 12:54:40 +02:00
Thomas Gelf
1d617c7bdd DirectorObjectForm: relax private to protected 2015-08-03 12:54:40 +02:00
Thomas Gelf
de843b19ed QuickForm: set csrf value through addHidden 2015-08-03 12:54:40 +02:00
Thomas Gelf
483ba3fbbd QuickForm: setValue instead of setDefaultValue 2015-08-03 12:54:39 +02:00
Thomas Gelf
c38a9fcc12 CsrfToken: fix erraneous return value usage 2015-08-03 12:54:39 +02:00
Thomas Gelf
0203196ffd QuickForm: more robust submit button handling 2015-08-03 12:54:39 +02:00
Thomas Gelf
caa3f97048 ObjectController: re-add object type hack 2015-07-31 17:33:05 +02:00
Thomas Gelf
80fe9ccc11 Object forms: group check execution elements 2015-07-31 16:59:56 +02:00
Thomas Gelf
e97f3c946a DirectorObjectForm: fix overrideable object name 2015-07-31 15:51:07 +02:00
Thomas Gelf
cbdaf34339 DirectorDatafield, DirectorObjectForm: just lines 2015-07-31 15:48:40 +02:00
Thomas Gelf
7b07d07d02 QuickForm: prepare elements before onRequest 2015-07-31 15:46:46 +02:00
Thomas Gelf
591d933929 DirectorObjectForm: reorganize, simplify, improve 2015-07-31 14:51:41 +02:00
Thomas Gelf
299251276e ObjectController: improve title settings, clean up 2015-07-31 14:50:05 +02:00
Thomas Gelf
51672e33bd QuickForm: addHtml VS addHtmlNote (note is styled) 2015-07-31 14:48:17 +02:00
Thomas Gelf
bdb7d22e99 ObjectController: fix inverted titles 2015-07-30 16:51:20 +02:00
Thomas Gelf
f5ebb06d8a QuickForm: be strict on setting request only once 2015-07-30 15:39:51 +02:00
Thomas Gelf
1fc7f6e2cb QuickForm: dedicated method for special options 2015-07-30 15:39:09 +02:00
Thomas Gelf
10d2d513df DirectorObjectForm: remove (probably) useless hook 2015-07-30 12:54:54 +02:00
Thomas Gelf
8b9a212bf7 DirectorObjectForm: experiments with inheritance 2015-07-30 12:53:37 +02:00
Thomas Gelf
49042393bf DirectorObjectForm: use helper method for button 2015-07-30 12:52:38 +02:00
Thomas Gelf
9d4bd323a8 DirectorObjectForm: methods dealing with fields 2015-07-30 12:46:08 +02:00
Thomas Gelf
364904e8e7 DirectorObjectForm: less references 2015-07-30 12:44:40 +02:00
Thomas Gelf
63a5e3fb77 DirectorObjectForm: add missing use statement 2015-07-30 12:41:48 +02:00
Thomas Gelf
8c96af2348 DirectorObjectForm: postpone element creation
We must first load the object to have it available when creating
our form elements
2015-07-30 11:51:45 +02:00
Thomas Gelf
7ebb2dcdc9 QuickForm: add onRequest hook 2015-07-30 11:49:08 +02:00
Thomas Gelf
eb1d4c67b0 DirectorObjectForm: finally remove obsolete helpers 2015-07-30 11:48:42 +02:00
Thomas Gelf
db54a4f365 DirectorObjectForm: one more string to translate 2015-07-30 11:48:12 +02:00
Thomas Gelf
5ab69a4876 DirectorObjectForm: just spaces for obsolete tests 2015-07-30 11:47:46 +02:00
Thomas Gelf
2643b6ae8c DirectorObjectForm: improve import handling 2015-07-30 11:43:33 +02:00
Thomas Gelf
44a9755cce QuickForm: no label for hints 2015-07-30 10:09:44 +02:00
Thomas Gelf
d30d5c51c2 DirectorObjectForm: add a bunch of helper methods 2015-07-30 10:07:44 +02:00
Thomas Gelf
d93e498688 ObjectController: reorganize tabs
Edit is the new default action, config snippet is "preview"
2015-07-30 10:04:12 +02:00
Thomas Gelf
3253bf2c88 ObjectsController: reorganize tabs 2015-07-30 09:49:34 +02:00
Thomas Gelf
b97cb14e05 Objects: add template tree 2015-07-30 09:49:01 +02:00
Thomas Gelf
918660e3bf ObjectsController: support template distinction 2015-07-30 09:45:32 +02:00
Thomas Gelf
03436efa29 ObjectController: distinct templates and objects 2015-07-30 09:26:02 +02:00
Thomas Gelf
5a3fead131 DirectorObjectForm: allow to enforce object type...
...when creating new objects
2015-07-30 09:22:55 +02:00
Thomas Gelf
18782b9ff5 QuickForm: add buttons before onSetup() hook 2015-07-30 09:10:57 +02:00
Thomas Gelf
e98401d291 DirectorObjectForm: add setElementValue() helper 2015-07-30 08:54:03 +02:00
Thomas Gelf
c9dd2e284c QuickForm: addHtmlHint helper method 2015-07-30 08:54:03 +02:00
Thomas Gelf
a2cc9a612a DirectorObjectForm: move optionalEnum to QuickForm 2015-07-30 08:54:03 +02:00