Embedding visualizations in external web pages - issue#226(1b) #388
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
[issue#226, 1b] A new method (evaluateFragmentVis() ) is created in SearchUI class for parsing URL call parameters and displaying the htmldoc visualization view of a requested document in the corpus. This functionality is realized by first parsing the url query parameters of corpus name(c), visualizer (vis=htmldoc), stylesheet name(sty), document name(doc) (e.g., #c=shenoute.a22, vis=htmldoc, doc=YA421-428, sty=dipl, in base64), and directly calling the HTMLVis.createComponent() method. This creates and returns a Panel and the resulting panel containing the htmldoc visualization of requested document is then displayed (css style is correctly applied). Meanwhile a notification is given showing the parameter values (corpus, document, visualization, stylesheets) of the url call. The result should be exactly the same as clicking the document visualization in DocBrowser.