Hi Dario,
I think that I'm almost there, hehehehe, and I need to put these application to work very quickly. The pressure is big.
Below I'm sending my webclient code. In this code, I took the script of for UpdateItem, because I read that the update is done automatically. But even without the script, nothing happens in my browser.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="
http://www.w3.org/1999/xhtml" >
<head><title>
Untitled Page
</title><link href="StyleSheet.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="ls/lscommons.js" />
<script type="text/javascript" src="ls/lspushpage.js" />
</head>
<body>
<form name="form1" method="post" action="default.aspx" id="form1">
<div>
<input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPDwUJLTUzNzgxOTg3D2QWAgIDD2QWAgIBDzwrAA0BCxYEHghDc3NDbGFzcwUGcXVvdGVzHgRfIVNCAgJkGAEFBGxpc3QPZ2Q9l/FTp7WWeMvBW1XfoFT5A3riIA==" />
</div>
<script src="/AEHomebroker/WebResource.axd?d=kT85M_vgGAr4ZF9K91oyBbsJ56Xgw_9yyB3pIXESA-85usLondLjOMzr6FyzcNh6wNEEZdMjPlaCosELNUewNQ2&t=633402231780434684" type="text/javascript"></script>
<script src="/AEHomebroker/WebResource.axd?d=kT85M_vgGAr4ZF9K91oyBbsJ56Xgw_9yyB3pIXESA-85usLondLjOMzr6FyzcNh69JGgZh8vhVtlFgXGe3UOgA2&t=633402231780434684" type="text/javascript"></script>
<div>
<table id="list" class="quotes"><tr>
<th>MelhorOfertaCompra</th><th>MelhorOfertaVenda</th><th>Papel</th><th>Ultimo</th>
</tr><tr>
<td><div source="lightstreamer" table="list" item="PETR4" field="MelhorOfertaCompra"></div></td><td><div source="lightstreamer" table="list" item="PETR4" field="MelhorOfertaVenda"></div></td><td><div source="lightstreamer" table="list" item="PETR4" field="Papel"></div></td><td><div source="lightstreamer" table="list" item="PETR4" field="Ultimo"></div></td>
</tr><tr>
<td><div source="lightstreamer" table="list" item="VALE5" field="MelhorOfertaCompra"></div></td><td><div source="lightstreamer" table="list" item="VALE5" field="MelhorOfertaVenda"></div></td><td><div source="lightstreamer" table="list" item="VALE5" field="Papel"></div></td><td><div source="lightstreamer" table="list" item="VALE5" field="Ultimo"></div></td>
</tr><tr>
<td><div source="lightstreamer" table="list" item="BBDC4" field="MelhorOfertaCompra"></div></td><td><div source="lightstreamer" table="list" item="BBDC4" field="MelhorOfertaVenda"></div></td><td><div source="lightstreamer" table="list" item="BBDC4" field="Papel"></div></td><td><div source="lightstreamer" table="list" item="BBDC4" field="Ultimo"></div></td>
</tr></table><div>
</div>
</div>
<script type="text/javascript">
<!--
var lsPage = new PushPage();
lsPage.context.setDebugAlertsOnClientError(true);
lsPage.context.setDomain("localhost");
lsPage.onEngineCreation = startEngine;
lsPage.bind();
lsPage.createEngine("SLEngine", "/aehomebroker/ls");
var group = "PETR4 VALE5 BBDC4";
var schema = "MelhorOfertaCompra MelhorOfertaVenda Papel Ultimo";
var newTable = new OverwriteTable(group, schema,'MERGE');
newTable.setSnapshotRequired(false);
newTable.setPushedHtmlEnabled(true);
lsPage.addTable(newTable, 'list');
function startEngine(eng) {
eng.policy.setMaxBandwidth(30);
eng.policy.setIdleTimeout(30000);
eng.connection.setLSHost("localhost");
eng.connection.setLSPort("8080");
eng.connection.setAdapterName("AETEST");
eng.changeStatus("STREAMING");
}
// -->
</script>
</form>
</body>
</html>