Results 1 to 7 of 7
  1. #1
    Member
    Join Date
    Nov 2007
    Location
    ROMFORD
    Posts
    3

    LightStreamer and JBoss Richfaces UI

    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

  2. #2
    Power Member
    Join Date
    Jul 2006
    Location
    Cesano Maderno, Italy
    Posts
    784
    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?

  3. #3
    Member
    Join Date
    Nov 2007
    Location
    ROMFORD
    Posts
    3

    LightStreamer and JBoss Richfaces UI

    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

  4. #4
    Member
    Join Date
    Nov 2007
    Location
    ROMFORD
    Posts
    3

    Smile LightStreamer + JBoss RichFaces working sample

    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)
    Attached Files Attached Files

  5. #5
    Senior Member
    Join Date
    Jul 2009
    Location
    not
    Posts
    41
    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_W EB_SERVER.TXT), but i couldn't make it !!!

  6. #6
    Administrator
    Join Date
    Jul 2006
    Location
    Milan
    Posts
    1,090
    As you are currently deploying both servers on the same machine,
    just in case, please consider this post.

  7. #7
    Senior Member
    Join Date
    Jul 2009
    Location
    not
    Posts
    41
    thank you dario.
    i made it finally.

 

 

Similar Threads

  1. LightStreamer and JBoss Richfaces UI
    By andrewchukwu in forum General
    Replies: 0
    Last Post: November 23rd, 2007, 03:30 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT +1. The time now is 12:30 PM.