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/images/smilies/smile.gif