Well, I think you can't do it if you keep using SimpleMenuItem and the basic tabsLayout..... You have to implement your own menu item, adding an attribute indicating which tab has to be selected. Then you can even not associate a body with a tab. and you have to make a tile-definition for each possible view.
// define a layout with 2 tabs <definition name="main" path="myTabsLayout.jsp"> <put name="selected" value=""/> <putList name="listeOnglets"> <bean classtype="package.myTab"> <set-property property="id" value="Tab1"/> <set-property property="lien" value="goToMyFormPage1.do"/> </bean> <bean classtype="package.myTab"> <set-property property="id" value="Tab2"/> <set-property property="lien" value="goToMyPage2.do"/> </bean> </putList> </definition> // define the different "pages" using this layout <definition name="myFormPage1" extends="main"> <put name="selected" value="Tab1"/> <put name="body" value="/tiles/Form1.jsp"/> // the action of the form has to forward to myResultPage1 definition </definition> <definition name="myResultPage1" extends="main"> <put name="selected" value="Tab1"/> <put name="body" value="/tiles/results.jsp"/> </definition> <definition name="myPage2" extends="main"> <put name="selected" value="Tab2"/> <put name="body" value="/tiles/commande/CommandeListe.jsp"/> </definition> Hope it helps Caroline --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]