andrewchukwu Hi All, I am trying to get LightStreamer to update my Richfaces page (Ajax4JSF/RichFaces), however the values do not seem to be updated. Has anyone tried integrating LS scripts with MyFaces/RichFaces implementations? I think the A4J/RF scripts break LS scripts. Andrew
Mone Hello, we've no experience with Ajax4JSF/RichFaces but we've integrated Lightstreamer web client library with different tools with no problems (see: http://www.lightstreamer.com/demos.htm ). Can you see any exceptions on the browser while testing? Implement the onStatusChange callback, does the client connect to the server?
andrewchukwu Hi Mone, Thanks for the response, I will implement as suggested and let you know. I will also get together a sample containing just a few items so you can assess the code In event I fail to get it working. Andrew
andrewchukwu Hi, I have managed to get the pages updating - The error was I had a <h:form> tag (initially for the drop down menu at the end of the column) surrounding the script elements. I moved this to the correct place, around each drop down and the items were displayed. I am using a rich tab panel, so had to place the LS <script></script> element in the panel containing the table as placing it outside of the tabbed panel means it is called on tab panels that do not contain the relevant table. Seems to only work in IE - so will debug this now Sample source in Attachment of a Call Center App. show current calls stats: (RichFaces 3.1.2GA running in Tomcat + Jetty)
mohamida Hi !! Plz, can you tell us how you did to deploy your example on JBoss ? ( what did you put on "setLSPort" and... ???) Because i want to test it on my machine (JBoss and Lightstreamer are on the same machine), i followed what is written on the doc (LightStreamer\pages\demos\HOW_TO_DEPLOY_ON_YOUR_WEB_SERVER.TXT), but i couldn't make it !!!
Dario Crivelli As you are currently deploying both servers on the same machine, just in case, please consider this post.