on 04-05-2013 8:11 AM
Hi Experts,
Client is asking to show their stock price in a field on a view.
I have a web service to be called but, the prices are changing every second and he need to see the
updated price on the page.
If i call web service in a infinite loop the rest of the page is locked(Single thread).
Kindly advice, the answer will be rewarded.
Thanks and Regards,
Anurag.
Hi Anurag,
You don't need to call the webservice in infinite loop. There are lot of options that you can try:
1) The first one is the RSS feeds if available for the stock quote that you have.
2) You can even use the TimeTriggered UI element and then call the webservice. You can set the delay like 10 sec or whatever that is agreeable.
Let me know if that helps. Thanks!
Abhinav
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.