I don't like the idea of specify a view layout by menu, or column1, column2, row 1, row2 etc. This means different thing to different people. The menu might go just below the header or on the right side, there really aren't any rules. A scroll panel can bet setup with some very simple css to meet N permutations.
One could build a taptu or Pulse application interfaces as follows:
<pagePanel>
<facet name="body" >
<outputList>
<repeat value="#
{bean.feeds}
var="feed" >
<outputListItem group="true">#
{feed.title}
</outputListItem>
<outputListItem>
<panelScroller autoHeight="false" style="height:120px;width:100%">
<repeat value="#
{feed.contents}
var="content" >
<outputLink value="#
{content.link}
>
<graphicImage value="#
{cotnent.image}
/>
</ouputLink>
</repeat>
</panelScroller>
</outputListItem>
</repeat>
<mobi:outputList>
</facet>
</pagePanel>
Here is simpler example of how I would put a menu bar on the right hand side of the screen:
<pagePanel>
<facet name="header" >Dyanmic view Example</facet>
<facet name="body" >
<!-- menu on the right hand side -->
<panelScroller style="width:70%">
<include src="/WEB-INF/content/splash.xhtml" />
</panelScroller>
<panelScroller style="width:30%">
<include src="/WEB-INF/content/menu.xhtml" />
</panelScroller>
</facet>
</pagePanel>
If I wanted a third column it would simply be
<pagePanel>
<facet name="header" >Dyanmic view Example</facet>
<facet name="body" >
<!-- menu on the right hand side -->
<panelScroller style="width:3%">
<include src="/WEB-INF/content/splash.xhtml" />
</panelScroller>
<panelScroller style="width:33%">
<include src="/WEB-INF/content/menu_2.xhtml" />
</panelScroller>
<panelScroller style="width:33%">
<include src="/WEB-INF/content/menu.xhtml" />
</panelScroller>
</facet>
</pagePanel>
I don't like the idea of specify a view layout by menu, or column1, column2, row 1, row2 etc. This means different thing to different people. The menu might go just below the header or on the right side, there really aren't any rules. A scroll panel can bet setup with some very simple css to meet N permutations.
One could build a taptu or Pulse application interfaces as follows:
<pagePanel>
{bean.feeds}<facet name="body" >
<outputList>
<repeat value="#
var="feed" >
{feed.title}<outputListItem group="true">#
</outputListItem>
{feed.contents}<outputListItem>
<panelScroller autoHeight="false" style="height:120px;width:100%">
<repeat value="#
var="content" >
{content.link}<outputLink value="#
>
{cotnent.image}<graphicImage value="#
/>
</ouputLink>
</repeat>
</panelScroller>
</outputListItem>
</repeat>
<mobi:outputList>
</facet>
</pagePanel>
Here is simpler example of how I would put a menu bar on the right hand side of the screen:
<pagePanel>
<facet name="header" >Dyanmic view Example</facet>
<facet name="body" >
<!-- menu on the right hand side -->
<panelScroller style="width:70%">
<include src="/WEB-INF/content/splash.xhtml" />
</panelScroller>
<panelScroller style="width:30%">
<include src="/WEB-INF/content/menu.xhtml" />
</panelScroller>
</facet>
</pagePanel>
If I wanted a third column it would simply be
<pagePanel>
<facet name="header" >Dyanmic view Example</facet>
<facet name="body" >
<!-- menu on the right hand side -->
<panelScroller style="width:3%">
<include src="/WEB-INF/content/splash.xhtml" />
</panelScroller>
<panelScroller style="width:33%">
<include src="/WEB-INF/content/menu_2.xhtml" />
</panelScroller>
<panelScroller style="width:33%">
<include src="/WEB-INF/content/menu.xhtml" />
</panelScroller>
</facet>
</pagePanel>