-
March 31st, 2010, 12:54 AM
#1
Issue with HelloWorld
Hi I am new to lightstreamer...my questions is:
I am using
<div source="lightstreamer" table="hellotable" item="greetings" field="message">loading...</div>
<div source="lightstreamer" table="hellotable" item="greetings" field="timestamp">loading...</div>
<div source="lightstreamer" table="hellotable" item="greetings" field="newitem">loading...</div>
and in my DataAdaptor I do this:
Map<String, String > data = new HashMap<String, String >();
data.put("message", c % 2 == 0 ? "Hello" : "World");
data.put("timestamp", new Date().toString());
data.put("newitem", c % 2 == 0 ? "NewItem" : "oldItem");
listener.smartUpdate(itemHandle, data, false);
However, only two of the fields show up on the screen? Where is the binding between the fields and the subscription? how do you add new fields?
Thanks in advance,
Alex
http://www.lightstreamer.com/vb/imag...lies/smile.gif
Similar Threads
-
By jim.macaulay@lbi.com in forum Adapter SDKs
Replies: 4
Last Post: January 6th, 2012, 10:57 AM
-
By rbg001 in forum Client SDKs
Replies: 3
Last Post: May 25th, 2011, 02:11 PM
-
By amoroso@forex.co.ke in forum Adapter SDKs
Replies: 3
Last Post: February 1st, 2010, 11:01 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
All times are GMT +1. The time now is 10:01 PM.
Bookmarks