to get a value on the user parameter of the isSelected method you have to set a user name (and a password if needed) on the client side. In example, if you're using the javascript client you can call the
setUserNamemethod of the
Connection instance of your
LightstreamerEngineinstance obtained through the
onEngineCreation callback:
[syntax="JS"]var lsPage = new PushPage();
[...]
lsPage.onEngineCreation = function(lsEngine) {
lsEngine.connection.setUserName("userName");
[...]
};[/syntax]
Btw note that maybe in your case it could be better if you use two different items instead of using a single item to be filtered.
see
http://www.lightstreamer.com/vb/showthread.php?t=61