In a normal scenario, we assume that any back-end information is available to the Web Server, if needed.
Hence, the Web Server is still responsible for knowing what the supplied page is supposed to display.
In this case, if the page has to show all the available stocks,
the Web Server should ask to your feed for the list of available stocks,
so that the Web Server can compose the page
and make it show the stocks and ask Lightstreamer for the real time updates for those stocks.
However, if you find it easier to ask for the list of available stocks through Lightstreamer
(for instance, if you are using a simple feed simulator which is difficult to connect to your Web Server)
then your page could get the list by subscribing to a COMMAND mode item.
Obviously, your Data Adapter has to be extended, in order to supply this new item, according to the information it can get from the feed.
Your page, in order to handle the received list and subscribe to all the received stocks,
can take advantage of a
MultiDynaMetapushTable,
as demonstrated in the predeployed Portfolio Demo example provided with the distribution package.