on 12-03-2009 5:57 AM
Hi All,
I want to add a clock in webdynpro , something like a label which should be keep on changing when seconds changes ...
I want to display something like this..
Clock
DATE , DAY HH:MM:SS ..
I have done this in BSP using a service call using AJAX. I know that we cannot write java scripts in ABAP webdynpro .
Whether this can be handled through timed trigger without affecting the phase model?
But I have seen some of the blogs posted by Mr.Thomas where long polling can be used in ABAP webdynpro similar to AJAX from version 7.02 using cl_wd_notification_service.
Can you please help me out here.
thanks,
Krishna
TimedTrigger defintely wouldn't be appropriate for an update that would happen every second. You would be constantly locking the page and firing the entire phase model and delta rendering. Very innefficient and it would render the rest of the page useless.
Notification service in 7.02 is for pushing data updates to the client, but it isn't designed for pushing an update once per second. Although you wouldn't be firing the phase model, this would still be very inefficient.
Why do you need the server involved at all. This seems like something you should do completely on the client side. iFrame could be an option as suggested, but only on 7.02. The iFrame is deprecated on 7.0 and 7.01.
Personally I would go with the suggestion of FlashIslands if you are on 7.01. This way you could build the clock entirely on the client side.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Thomas,
Thanks for your detailed explanation. We are currently using Net weaver 7.01 as suggested by you I will try using Flash islands.
Can you please let me know is there any demo or blogs provided on integrating flash islands on ABAP Webdynpro?
Thanks once again.
@ Lekha,
Thanks for your reply.
Regards,
Krishnakumar
Refer these links on the same -
http://wiki.sdn.sap.com/wiki/display/EmTech/SAPRichIslandsforAdobe+Flash
http://www.sdn.sap.com/irj/scn/elearn?rid=/library/uuid/a0c91fc0-932d-2c10-4ca7-f5774950c8e3
http://www.sdn.sap.com/irj/scn/elearn?rid=/library/uuid/c060b283-4a8d-2b10-b0a0-d85040140318
http://www.sdn.sap.com/irj/scn/elearn?rid=/library/uuid/7036b4a1-6f90-2b10-0cb1-c55ddc35593c
Regards,
Lekha.
Edited by: Lekha on Dec 4, 2009 10:37 AM
Hi,
You can use the Timed trigger UI element, which will refresh the UI in cretin time preiods.
other wise you can integrate any html page
Regards,
Naga
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.