|
|
|
|
|
|
|
|
|
|
Re: Xtext web services validate [message #1753107 is a reply to message #1753104] |
Wed, 01 February 2017 20:53 |
|
which server are you talking to
in xtext web support you have the client (in the browser, javascript + editor framework)
that talks to the xtext services in the backend
these services support stuff like
- content assist
- sending text updates (what the user typed)
- ask for validation
- ask for generation + the results.
=> everything happens in the backend (parsing, ast, validation, generation)
so i dont get what you want to send from where to where.
what is your "back" the client? the server?
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Day Job: https://www.everest-systems.com
|
|
|
Re: Xtext web services validate [message #1753113 is a reply to message #1753107] |
Wed, 01 February 2017 22:43 |
Alan Frye Messages: 41 Registered: January 2017 |
Member |
|
|
I have a web app that is using the codemirror editor along with other components of my app. The user can use the codemirror editor to type in the dsl text which makes calls to the xtext services for update, validation. parsing and generating the ast. Once the user has type in the text and validation service has validated and the ast is generated. I want to be able to send a message from the xtext backend via a servlet to the web app not the editor with the ast and app specific information to display to the user.
I hope this make more sense. I was hoping that I would be able to know when the dsl has been validated for the backed java server(Jetty)
[Updated on: Wed, 01 February 2017 23:00] Report message to a moderator
|
|
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.05503 seconds