then how can reuse it in another page??? can you compare Adobe Flex and Apache wicket. am Expecting your reply
Thanks&Regards, Gerald A On Tue, Jul 21, 2009 at 11:52 AM, Martin Makundi < martin.maku...@koodaripalvelut.com> wrote: > Hi! > > No, not page into tab. Just panel. Here TabPanel1...3 are your grid, > etc. content panels. Into the content panel you put the grid or > whatever you want. > > ** > Martin > > 2009/7/21 Gerald Fernando <gerald.anto.ferna...@gmail.com>: > > Hi martin, > > this is my code. > > now i have to insert separate page for each tab. > > these pages includes one for data grid and one page for ajax example ane > > page for component. > > shall we insert a page in to the tab?is it possible?if so tell me how to > do > > it. > > i used setResponsePage();but it shows error that markup file is not > found. > > please tell me the code. am debut to wicket > > how can i do this > > public class TabbedPanelPage extends WebPage > > { > > public TabbedPanelPage() > > { > > List tabs = new ArrayList(); > > tabs.add(new AbstractTab(new Model("first tab")) > > { > > public Panel getPanel(String panelId) > > { > > return new TabPanel1(panelId); > > } > > }); > > > > tabs.add(new AbstractTab(new Model("second tab")) > > { > > public Panel getPanel(String panelId) > > { > > return new TabPanel2(panelId); > > } > > }); > > > > tabs.add(new AbstractTab(new Model("third tab")) > > { > > public Panel getPanel(String panelId) > > { > > return new TabPanel3(panelId); > > } > > }); > > > > add(new TabbedPanel("tabs", tabs)); > > } > > > > private static class TabPanel1 extends Panel > > { > > > > public TabPanel1(String id) > > { > > super(id); > > > > > > } > > }; > > > > private static class TabPanel2 extends Panel > > { > > public TabPanel2(String id) > > { > > super(id); > > } > > }; > > private static class TabPanel3 extends Panel > > { > > public TabPanel3(String id) > > { > > super(id); > > } > > }; > > } > > > > On Mon, Jul 20, 2009 at 3:58 PM, Martin Makundi < > > martin.maku...@koodaripalvelut.com> wrote: > > > >> Copy-paste the example from the web and replace the one panel with a > grid. > >> > >> ** > >> Martin > >> > >> 2009/7/20 Gerald Fernando <gerald.anto.ferna...@gmail.com>: > >> > yes i mean it.am debut to wicket.how can i achive it > >> > please help me > >> > my requirement is > >> > when i click first tab it should shows a Grid > >> >> 2nd tab - panel > >> >> 3rd tab - another componet > >> >> 4th tab - Another componet > >> > > >> > > >> > On Mon, Jul 20, 2009 at 11:35 AM, Martin Makundi < > >> > martin.maku...@koodaripalvelut.com> wrote: > >> > > >> >> You mean wicket TabbedPanel component? > >> >> > >> >> > >> >> > >> > http://wicketstuff.org/wicket13/compref/?wicket:bookmarkablePage=:org.apache.wicket.examples.compref.TabbedPanelPage > >> >> > >> >> ** > >> >> Martin > >> >> > >> >> 2009/7/20 Gerald Fernando <gerald.anto.ferna...@gmail.com>: > >> >> > Hello Friends, > >> >> > How can i do tab panel with child coponent. > >> >> > when i click first tab it should shows a Grid > >> >> > 2nd tab - panel > >> >> > 3rd tab - another componet > >> >> > 4th tab - Another componet > >> >> > > >> >> > how can i achieve this? > >> >> > if possible give me some model code > >> >> > > >> >> > -- > >> >> > Thanks®ards, > >> >> > Gerald A > >> >> > > >> >> > >> >> --------------------------------------------------------------------- > >> >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > >> >> For additional commands, e-mail: users-h...@wicket.apache.org > >> >> > >> >> > >> > > >> > > >> > -- > >> > Thanks®ards, > >> > Gerald A > >> > > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > >> For additional commands, e-mail: users-h...@wicket.apache.org > >> > >> > > > > > > -- > > Thanks®ards, > > Gerald A > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > -- Thanks®ards, Gerald A