Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 3273

Re: Two lists in a view

$
0
0

One way is to create a view for each list. Call them from the main as below.

 

Initial View:

<Page title="2 Lists">

  <content>

  <mvc:XMLView viewName="TestForm.view.view1" height="50%"></mvc:XMLView>

  <mvc:XMLView viewName="TestForm.view.view2" height="50%"></mvc:XMLView>

  </content>

</Page>

 

View1 & View2 sample code like below to display your list:

<App height="100%">

<Page>

  <List items="{fruits>/}">

  <items>

  <StandardListItem title="{fruits>name}">

  </StandardListItem>

  </items>

  </List>

</Page>

</App>


Viewing all articles
Browse latest Browse all 3273

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>