Hi Seb,<div><br></div><div>it seems that <span style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif"> </span><a href="http://localhost:8080/PWSimple/" style="color:rgb(17,85,204);font-size:13px;font-family:arial,sans-serif" target="_blank">http://localhost:8080/PWSimple</a> application works right, it shows all renderers.</div>
<div><br></div><div>Maybe the probIem is that i'm newbie in javascript too... I send you the index.jsp file and the log file. In the log file i get some warnings but i don't know the meaning...</div><div><br></div>
<div>Thank you.</div><div>Víctor.</div><div><br><div class="gmail_quote">2012/7/16 Sebastien Jourdain <span dir="ltr"><<a href="mailto:sebastien.jourdain@kitware.com" target="_blank">sebastien.jourdain@kitware.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Victor,<br>
<br>
the web page localhost:8080/PWService/test/index.jsp is really made<br>
for testing purpose...<br>
Meaning that, Selenium is used to execute some JavaScript code in that<br>
web page context and double check that the server is responding the<br>
way it is supposed to do.<br>
<br>
Did you tried any of the sample application provided with ParaViewWeb ?<br>
<br>
Like this one: <a href="http://localhost:8080/PWSimple/" target="_blank">http://localhost:8080/PWSimple/</a> ?<br>
<br>
If nothing is showing up then, it is likely that your ParaViewWeb<br>
server is not properly install. If not, then, I'll need the full web<br>
page because your JavaScript seems OK, if you do have some HTML<br>
container with id "container-1" like as follow.<br>
<br>
<html><br>
<body><br>
<div id="container-1"><br>
</div><br>
</body><br>
</html><br>
<br>
Seb<br>
<div><div><br>
On Mon, Jul 16, 2012 at 3:33 AM, victor sv <<a href="mailto:victorsv@gmail.com" target="_blank">victorsv@gmail.com</a>> wrote:<br>
> Hi again,<br>
><br>
> sorry for the previous mail, i wrote it very bad :)<br>
><br>
> Ok, i want to see something in the client side, and i use the previous code<br>
> for that.<br>
> When i go to localhost:8080/PWService/test/index.jsp only "Page used for<br>
> testing purpose" message is showed.<br>
> Every time i reload the webpage i can see a new "Active process" in<br>
> localhost:8080/PWService/ , when i click in "View" link the renderer is<br>
> showed right.<br>
><br>
> The same is happening with the new line, and nothing is showed in<br>
> localhost:8080/PWService/test/index.jsp, only "Page used for testing<br>
> purpose" . I would like to show the renderer in client side<br>
><br>
> do you know how?<br>
><br>
> I try with other renderers with the same result.<br>
><br>
> Thanks :)<br>
> Víctor.<br>
><br>
> 2012/7/14 Sebastien Jourdain <<a href="mailto:sebastien.jourdain@kitware.com" target="_blank">sebastien.jourdain@kitware.com</a>><br>
>><br>
>> You need to enable the webgl exporter on the server side as by default<br>
>> we only generate images...<br>
>><br>
>> paraview.updateConfiguration(true, "JPEG", "WebGL");<br>
>><br>
>> On Fri, Jul 13, 2012 at 9:03 AM, victor sv <<a href="mailto:victorsv@gmail.com" target="_blank">victorsv@gmail.com</a>> wrote:<br>
>> > Hi all,<br>
>> ><br>
>> > I'm trying to show something in the client side, but i can see the<br>
>> > renderer<br>
>> > in PWService. I use the following javascript code:<br>
>> > <script type="text/javascript"><br>
>> > var serverURL = '<a href="http://localhost:8080/PWService" target="_blank">http://localhost:8080/PWService</a>';<br>
>> > var paraview = new Paraview(serverURL);<br>
>> > paraview.createSession('testing','basic-test');<br>
>> > var activeView = paraview.CreateIfNeededRenderView();<br>
>> ><br>
>> > var cyl = paraview.Cylinder();<br>
>> > cyl.setResolution(1024)<br>
>> > paraview.Show();<br>
>> ><br>
>> > var renderer = new webGLScriptRenderer("webgl", serverUrl);<br>
>> > renderer.init(paraview.sessionId, activeView.__selfid__);<br>
>> > renderer.setSize('640','480');<br>
>> > renderer.bindToElementId("container-1");<br>
>> > renderer.setForceSquareSize(true);<br>
>> > renderer.start();<br>
>> ><br>
>> > </script><br>
>> ><br>
>> > What am i doing wrong?<br>
>> ><br>
>> > Best regards,<br>
>> > Víctor.<br>
>> ><br>
>> > _______________________________________________<br>
>> > Paraview-developers mailing list<br>
>> > <a href="mailto:Paraview-developers@paraview.org" target="_blank">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>
>> ><br>
><br>
><br>
</div></div></blockquote></div><br></div>