jmvanel / semantic_forms

Form generators leveraging semantic web standards (RDF(S), OWL, SPARQL , ...
Other
75 stars 23 forks source link

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

Open jmvanel opened 7 years ago

jmvanel commented 7 years ago

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 commented 7 years ago

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 :)

weeger commented 7 years ago

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

weeger commented 7 years ago

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 commented 7 years ago

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