<mobi:commandButton id="button1" value="Menu">
<mobi:transition stack="stack1" paneTo="pane1" transition="slideLeft"/>
<mobi:ajax execute="@this" render="@all"/> <!-- will be ignored if paneTo has client="true" -->
</mobi:commandButton>
<mobi:contentStack id="stack1">
<mobi:contentPane id="pane1" client="true">
<mobi:contentStackMenu>
<mobi:contentMenuItemGroup label="PaneGroup"> <!--new implementation as easier to do accordion style-->
<mobi:contentMenuItem value="pane1" label="panel1">
<mobi:transition stack="stack1" paneTo="pane1" transition="slideRight"/>
, <mobi:ajax execute="@this" render="@all"/> <!-- will be ignored if paneTo has client="true" -->
</mobi:contentMenuItem>
<mobi:contentMenuItem value="pane2" label="panel2" singleSubmit="true" >
<mobi:transition stack="stack1" paneTo="pane1" transition="slideLeft"/>
</mobi:contentMenuItem>
</mobi:contentMenuItemGroup>
<mobi:contentMenuItemGroup label="LinkGroup">
<mobi:contentMenuItem value="http: label="
</mobi:contentMenuItemGroup>
</mobi:contentStackMenu>
</mobi:contentPane>
<mobi:contentPane id="pane2" client="true">
<h3> some stuff </h3>
</mobi:contentPane>
</mobi:contentStack>
to implement mobi:transition, it would need to be a child of a UICommand like commandButton or contentMenuItem.
It would need to link in with existing support for mobi:ajax
In JSP, could have