Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GUI: Custom form to access pure plantuml #9

Open
igorrosenberg opened this issue Apr 3, 2015 · 2 comments
Open

GUI: Custom form to access pure plantuml #9

igorrosenberg opened this issue Apr 3, 2015 · 2 comments

Comments

@igorrosenberg
Copy link
Owner

See http://www.plantuml.com/plantuml/form
Duplicate through new controller

@igorrosenberg
Copy link
Owner Author

See a8b773d , and specificaly grails-app/views/uml/script.gsp

The idea is to have a , and to modify the "src" attribute value when the user clicks on the "Go" button. As the src URL cannot be the full POST data (it may be lots of data), the action should be two fold:

  • http POST form data, receive http 201
  • set src to 201:location

But that means the server needs to store, even temporarily, the POST data or the image. I don't like this.

@igorrosenberg
Copy link
Owner Author

http://www.plantuml.com/plantuml/form works this way:

  • user clicks on submit
  • user is redirected to new page
    • new page has the form filled with the previous UML script
    • new page includes a link containing the GZIPed UML script

I am not fond of:

  • page reload
  • img URL is compressed form of UML Script (this point is exactly the one I'm trying to circumvent: I want to be able to have arbitrarily long script data)

@igorrosenberg igorrosenberg changed the title Custom form to access pure plantuml GUI: Custom form to access pure plantuml May 14, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant