setting EntitySet in SmartTable from view's controller
<p>I have two views, <br/>
view A : Has a set of  entityset names, out of which one is chosen and passed to secondview; as a string.<br/>
view B : Has a smarttable that renders an entityset.</p>

<p>How to set the entityset in the smart table from the view's controller in View B? <br/>
For example, if entityset called "aSet" is chosen in View A, then same is sent as argument to second view, View B. <br/>
Then "aSet" should be set as entitySet in the smarttable in View B.
<br/> The entity sets are listed in the metadata.
<br />I am developing on SAP WebIDE, with views being written in xml and controller writter in js.</p>

<p>Thanks.</p>