Everything on the server side is ok, i have used adapter set to define all my data adapters.
The problem is only on the client. I have to bind my page with the engine with schema={ "item"} which use non visual table A and ALSO i need to bind the page with the engine with schema = { "settings" } which use non visual table B. Because it is restricted to have more than one engine. So i am now trying the example StockListDemo_Frames with frames but the technology which i am using is hard and unknown for me to achieve this with frames.
I also tried this example PortfolioDemo with 2 adapters in set but they use one group which dont work for me.
As i told you i need to have 2 tables which have its own schema and group and use different adapters. It seems this is possible only with frames, which is my problem. Because when i reseive mesage from on the client in my second frame like this
pushPage.bind();
// seek the LightstreamerEngine created by the main page
pushPage.seekEngine("DemoCommonEngine", self.parent.frames["SLD_LSCONTAINER"]);
var schema = ['settings'];
var group = ['settings'];
var newTable = new NonVisualTable(group, schema, "MERGE");
newTable.setDataAdapter("SYSTEMSETTINGSJMSADAPTER");
newTable.onItemUpdate = updateItem;
pushPage.addTable(newTable, "main");
function updateItem(item, updateInfo) {
window.parent.updateItemCallback(item);
}
It says that there is no permission to call the function in the parent page. I think because the function updateItem is called by the newTable which call may be comes from the domain where lightstreamer is running, and i this function calls my function which is on the site domain such exception is thrown?
i am receiving the message but i cannot call method from the parent page where the frame is included in frameset nor calling method from the other frame (which is the thing i need).