Ralf Becker
12c308cd71
backport of several eT2 fixes from work on ranking / result-service app:
...
r52153: implement part attribute with values "header" and "footer" to put rows in thead or tfoot instead of tbody of table
r52163: stop etemplate_widget_template::instance from returning a stdClass object for a not found template after content-expanding, leading to a fatal error in etemplate_widget line 338
r52175: there should be no validation for disabled widgets
r52176: $cont is NOT root but current name-space in old eTemplate, leaving now identical $_cont for now
r52194: fixed eT2 data returned from client for case where name-space contains more then one component eg. "nm[rows]"
r52195: fixed not run validation on server-side for templates included via template tag
r52196: implement formatting of numbers in read-only widget
2015-03-18 22:16:15 +00:00
Nathan Gray
bf89266ddc
Only require one radiobox to be set, checked by ID
2014-12-15 20:54:30 +00:00
Nathan Gray
15ddeb2a24
- Avoid duplicate ID warning by only returning the value from the matching radio button
...
- Fix radiobuttons where the options/values were set in the template instead of sel_options
2014-07-07 16:19:37 +00:00
Ralf Becker
4ac94b2c01
remove label from readonly radiobutton, as we show label of checked option as value
2014-07-01 16:03:31 +00:00
Ralf Becker
15fbd6bde8
fixed not working custom fields of type radio
2014-06-30 19:34:53 +00:00
Ralf Becker
c00e79af78
partial fix for addressbook CRM view does not propagate prefered telephone number to phone popup, set_value() on et2_radiobox_ro is NOT working
2014-02-13 17:51:02 +00:00
Ralf Becker
6df2fa827d
fixed not working options for readonly radiobutton eg. "something,♥": missing legacyOptions for et2_radionbox_ro and no entity_decoding from attributes in template (they require it because of xml)
2014-02-13 17:29:02 +00:00
Ralf Becker
8d86f8496b
fixed radiobutton not (always) returning correct value plus fixing ide warnings
2014-02-13 09:50:49 +00:00
Nathan Gray
a458019490
Avoid some missing attribute warnings by not trying to set needed on readonlys, which don't support it.
2014-01-11 16:40:45 +00:00
Ralf Becker
f40f41a7d4
set_value now iterates over all radioboxes with same id and (un)checks them depending on given value, DOM-id get now set_value appended to be unique
2013-10-09 16:22:35 +00:00
Nathan Gray
f4a6c9859a
More fixes forjQuery/jQueryUI update issues
2013-07-20 17:20:55 +00:00
Nathan Gray
0c6f70005a
Implement some basic client-side validation (required)
2013-06-26 20:50:10 +00:00
Nathan Gray
442c9e6356
- Add required attribute to radiobox so it can pass it on to radio buttons
...
- Add detached DOM support to play nice in datagrid rows
2013-06-25 20:53:39 +00:00
Nathan Gray
8a2c791be3
For radiobox customfields, implement "empty" first value = extra group label
2013-06-18 20:55:13 +00:00
Nathan Gray
b933b17446
Put radio button labels after radio button by default
2013-06-18 15:08:50 +00:00
Ralf Becker
e64c4fbd04
add some JSDoc so Eclipse shows an outline: @memberOf and @augments (not yet understood by Eclipse), also fixed many warnings (mostly missing semicolons)
2013-04-13 19:00:13 +00:00
Nathan Gray
2beaed766c
Get radio/checkbox to validate values that come from content
2012-05-08 20:25:56 +00:00
Nathan Gray
be878e3e79
Get radio customfield working in popup + nm
2012-03-23 18:57:13 +00:00
Andreas Stöckel
53f4064cdc
Added some naming scheme to the js files
2011-08-24 10:18:07 +00:00