Commit 1b046e7cc6ce2d26f807b386429004a2ddf969b5
1 parent
bc9219ca
replace "htmlId" by "html_Id", "init" by "wav", string label by "label" due to recent changes
Showing
1 changed file
with
12 additions
and
12 deletions
Show diff stats
database/vtm/view_table_renderer.anubis
| ... | ... | @@ -64,29 +64,29 @@ public define List(CXM_Form_Field) |
| 64 | 64 | { |
| 65 | 65 | hidden(name, value) then |
| 66 | 66 | //print("hidden "+name+" = "+value); |
| 67 | - [hidden(htmlId(""), wan(name), init(value))], | |
| 67 | + [hidden(html_Id(""), wan(name), wav(value))], | |
| 68 | 68 | primary_key(idx) then |
| 69 | - [hidden(htmlId(""), wan("id"), init(idx))], | |
| 69 | + [hidden(html_Id(""), wan("id"), wav(idx))], | |
| 70 | 70 | information(s_name, c_name, value, width, help) then |
| 71 | - [input_readonly(_T(s_name), wan(c_name), init(value), if width > 0 then custom(width) else narrow), help_line(help, _T)], | |
| 71 | + [input_readonly(label(_T(s_name), no_help), wan(c_name), init(value), if width > 0 then custom(width) else narrow), help_line(help, _T)], | |
| 72 | 72 | text(s_name, c_name, value, help) then |
| 73 | - [input(_T(s_name), wan(c_name), init(value), narrow, mandatory), help_line(help, _T)], | |
| 73 | + [input(label(_T(s_name), no_help), wan(c_name), init(value), narrow, mandatory), help_line(help, _T)], | |
| 74 | 74 | foreign_text(s_name, c_name, value, select, help) then |
| 75 | - [selector_c([],_T(s_name), htmlId(""), wan(c_name), 1, select.get(db), success(init(to_String(value))), mandatory), help_line(help, _T)], | |
| 75 | + [selector_c([],label(_T(s_name), no_help), html_Id(""), wan(c_name), 1, select.get(db), success(init(to_String(value))), mandatory), help_line(help, _T)], | |
| 76 | 76 | choices_text(s_name, c_name, value, select, help) then |
| 77 | - [selector_c([],_T(s_name), htmlId(""), wan(c_name), 1, select.get(db), success(init(value)), mandatory), help_line(help, _T)], | |
| 77 | + [selector_c([],label(_T(s_name), no_help), html_Id(""), wan(c_name), 1, select.get(db), success(init(value)), mandatory), help_line(help, _T)], | |
| 78 | 78 | text_area(s_name, c_name, value, help) then |
| 79 | - [text_area([],_T(s_name), htmlId(""), wan(c_name), init(value), narrow, (Int)5, mandatory), help_line(help, _T)], | |
| 79 | + [text_area([],label(_T(s_name), no_help), html_Id(""), wan(c_name), init(value), narrow, (Int)5, mandatory), help_line(help, _T)], | |
| 80 | 80 | boolean(s_name, c_name, value, help) then |
| 81 | - [checkboxr([],_T(s_name), htmlId(""), wan(c_name), wav(c_name),value, mandatory), help_line(help, _T)], | |
| 81 | + [checkboxr([],label(_T(s_name), no_help), html_Id(""), wan(c_name), wav(c_name),value, mandatory), help_line(help, _T)], | |
| 82 | 82 | integer(s_name, c_name, value, help) then |
| 83 | - [input(_T(s_name), wan(c_name), init(abs_to_decimal(value)), small, mandatory), help_line(help, _T)], | |
| 83 | + [input(label(_T(s_name), no_help), wan(c_name), init(abs_to_decimal(value)), small, mandatory), help_line(help, _T)], | |
| 84 | 84 | date(s_name, c_name, value, help) then |
| 85 | - [input([class("datepicker")], _T(s_name), htmlId(c_name), wan(c_name), init(value), small, non_mandatory), help_line(help, _T)], | |
| 85 | + [input([class("datepicker")], label(_T(s_name), no_help), html_Id(c_name), wan(c_name), init(value), small, non_mandatory), help_line(help, _T)], | |
| 86 | 86 | time(s_name, c_name, value, help) then |
| 87 | - [input([class("timepicker")], _T(s_name), htmlId(c_name), wan(c_name), init(value), small, non_mandatory), help_line(help, _T)], | |
| 87 | + [input([class("timepicker")], label(_T(s_name), no_help), html_Id(c_name), wan(c_name), init(value), small, non_mandatory), help_line(help, _T)], | |
| 88 | 88 | datetime(s_name, c_name, value, help) then |
| 89 | - [input([class("datetimepicker")], _T(s_name), htmlId(c_name), wan(c_name), init(value), custom(18), mandatory), help_line(help, _T)], | |
| 89 | + [input([class("datetimepicker")], label(_T(s_name), no_help), html_Id(c_name), wan(c_name), init(value), custom(18), mandatory), help_line(help, _T)], | |
| 90 | 90 | }, |
| 91 | 91 | edit_form_lines(db, _T, t, reverse(line)+so_far) |
| 92 | 92 | }. | ... | ... |