These are chat archives for synrc/n2o

17th
Nov 2016
Roman
@AstRonin
Nov 17 2016 07:18
@m-2k yes, it's for sgi, send msg to server instead of ajax
Andy
@m-2k
Nov 17 2016 07:19
not_bad.jpg
cgi.js надо было тогды )
Roman
@AstRonin
Nov 17 2016 07:21
ну потому что это эмулирует протокол http,
не html.js, a http.js
Andy
@m-2k
Nov 17 2016 07:21
ё-мое
Sébastien Saint-Sevin
@seb3s
Nov 17 2016 10:27
Hi, any inputs for my validation question ?
PlatinumThinker
@platinumthinker
Nov 17 2016 11:10
привет, есть ли какие то примеры использования rest в n2o?
Sébastien Saint-Sevin
@seb3s
Nov 17 2016 18:37
ok I've been able to integrate it with parsley js library for form validation
for those interested, I've used the validation field on #event
an example to explain
                actions=[#event{postback={update_meeting, Tuple#tb_meeting.id},
                    target=btn_update,
                    type=click,
                    delegate= ?MODULE,
                    source=[name, descr, id_meeting_model, duration, start_dt],
                    validation="if (parsley_edit_meeting.validate()) "
                        "parsley_edit_meeting.reset(); "
                        "else return false;"}],
Andy
@m-2k
Nov 17 2016 23:33
ninenines/ranch#95
надо бы ранч в депсах n2o обновить что ли