beremiz
Clone
Summary
Browse
Changes
Graph
SVGHMI: detachable_elements.ysl2 becomes detachable_pages.ysl2, and includes logic to process pages elements. Other minor code moves.
svghmi
2020-03-17, Edouard Tisserant
682bce953795
SVGHMI: detachable_elements.ysl2 becomes detachable_pages.ysl2, and includes logic to process pages elements. Other minor code moves.
These classes are intended for use server-side.
e.g. in a django view.py :
from pyjs.jsonrpc.django import JSONService, jsonremote
jsonservice = JSONRPCService()
@jsonremote(jsonservice)
def test(request, echo_param):
return "echoing the param back: %s" % echo_param