<div dir="ltr">Just add an extra key in the object that you provide at launch time that is based on the URL and use that key as an argument to --file-to-load.<div>It is as simple as that.</div><div><br></div><div>Seb</div>
<div><br></div><div>PS: You can use that documentation to help you out. <a href="http://www.paraview.org/ParaView3/Doc/Nightly/www/js-doc/index.html#!/guide/parallel_app">http://www.paraview.org/ParaView3/Doc/Nightly/www/js-doc/index.html#!/guide/parallel_app</a></div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Nov 6, 2013 at 11:41 AM, kyr <span dir="ltr"><<a href="mailto:akyrieleis@gmail.com" target="_blank">akyrieleis@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I'm using ParaView-Linux-64bit-glibc-2.3.6-Nightly and<br>
JettySessionManager-Server1.0. In the Jetty config file I have added:<br>
<br>
pw.visualizer.cmd=./bin/pvpython<br>
lib/paraview-4.0/site-packages/paraview/web/pv_web_visualizer.py --data-dir<br>
. --load-file ../Data/file_1.pvsm --port PORT --authKey SECRET<br>
pw.visualizer.cmd.run.dir=/.../Paraw/ParaView-4.0.1-Linux-64bit_nightly/<br>
pw.visualizer.cmd.map=PORT:getPort|SECRET:secret<br>
<br>
In the embed.html file of the LiveArticle app (that came with paraview) I<br>
refer to the visualizer to load the pvsm file.<br>
<br>
However, I don't want to have different Jetty config files for different<br>
files to load. I'm not sure how the Jetty manager talks to paraview and how<br>
the file location is transferred. How can I specify the file name to load in<br>
the embed.html file instead of in the Jetty config file ?<br>
<br>
Many thanks<br>
<br>
k.<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://the-unofficial-paraview-developers-forum.34153.x6.nabble.com/pv-web-visualizer-file-outide-Jetty-config-tp2596.html" target="_blank">http://the-unofficial-paraview-developers-forum.34153.x6.nabble.com/pv-web-visualizer-file-outide-Jetty-config-tp2596.html</a><br>
Sent from the The Unofficial ParaView Developers Forum mailing list archive at Nabble.com.<br>
_______________________________________________<br>
Paraview-developers mailing list<br>
<a href="mailto:Paraview-developers@paraview.org">Paraview-developers@paraview.org</a><br>
<a href="http://public.kitware.com/mailman/listinfo/paraview-developers" target="_blank">http://public.kitware.com/mailman/listinfo/paraview-developers</a><br>
</blockquote></div><br></div>