cancel
Showing results for 
Search instead for 
Did you mean: 

about real time data refresh

Former Member
0 Kudos

as title as said,i need to get the real time data in my view,how to realize it?

e.g.:

i have a table in my view.i have three users(userA/userB/userC);

now userA and userB:opened the portal to query data.assume they have the same condition to query data to list in the table(So they got the same screen).

after this, userC modified some data which is displayed in the userA and userB screen.

so userA and userB need to refresh their data in the table.

My original ideal is(Client/Server):

a message will be sent to server after userC modified data.

Server will passed the message to all user who are opened the view to list data in table by some port.

the users(this refer to usreA and userB) who opened the view will open a thread to listen the server port.

================Above is ok.========================

when it found any message ,then invoke some function to reload data from DB again.

as we know,<i>in WD node is be binded to table,then i put all logic data to node.[</i>u]e.g.</u>

<u>ArrayList listData=proxy.getXX(..);

wdContext.nodeX().bind(listData))</u>

<b>but in your thread code(<i>java class</i>) u cann't get wdContext.nodeX() object.that can be userful only in you WD Implementation.</b>.

this is to say:

in my thread code:

...

if(receivedMessage){

ArrayList listData=proxy.getXX(..);

}

....

but i cann't pass listData to web dynpro node(because it is in thread).

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

any advice?

Former Member
0 Kudos

Wingoal,

Either Armin or Bertram mentioned on this forum that in later versions of WD MessageBasegTrigger control will be available. It will provide necessary "push" (real-time notifications)functionality.

For now you can emulate "push" with "poll", use TimedTrigger UI control.

Valery Silaev

EPAM Systems

http://www.NetWeaverTeam.com