semantic_forms icon indicating copy to clipboard operation
semantic_forms copied to clipboard

Write JavaScript HTML formatter for JSON from service /form-data

Open jmvanel opened this issue 9 years ago • 4 comments

See doc. about service /form-data : https://github.com/jmvanel/semantic_forms/wiki/Application-development-manual#the-form-data-web-service

I propose to put this JS code in: semantic_forms/scala/forms_play/files/javascripts

with a new sample HTML in : semantic_forms/scala/forms_play/files/example2.html

The implementation can plain JS, JQuery , or mustache template.

jmvanel avatar Dec 29 '16 16:12 jmvanel

Weeger created a repository for the JS client in plain JS, jQuery , Bootstrap : https://github.com/assemblee-virtuelle/semantic_forms_client_js

One more with Mustache, and the issue is closed :)

jmvanel avatar Jan 05 '17 09:01 jmvanel

http://sf-client.wexample.com/

weeger avatar Jan 05 '17 17:01 weeger

XMLHttpRequest cannot load http://163.172.179.125:9111/authenticate?userid=sf_client&password=sf_client&confirmPassword=sf_client. Redirect from 'http://163.172.179.125:9111/authenticate?userid=sf_client&password=sf_client&confirmPassword=sf_client' to 'http://163.172.179.125:9111/' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://127.0.0.1:8080' is therefore not allowed access.

weeger avatar Jan 05 '17 17:01 weeger

http://stackoverflow.com/questions/2870371/why-is-jquerys-ajax-method-not-sending-my-session-cookie

weeger avatar Jan 05 '17 18:01 weeger