Hi martin, sorry to say that can you please give me elobrate please Thanks&Regards, Gerald A
On Tue, Jul 21, 2009 at 12:39 PM, Martin Makundi < [email protected]> wrote: > > then how can reuse it in another page??? > > Panel can be put anywhere. You can put Panel into Page or Panel into > AnotherPanel and so on. > > TabPanel1 > | > +---- add(new GridPanel()); > > AntoherPanel > | > +---- add(new GridPanel()); > > SomePage > | > +---- add(new GridPanel()); > > > can you compare Adobe Flex and Apache wicket. > > They have nothing in common. > > > am Expecting your reply > > Hope this helps. > > ** > Martin > > > > > On Tue, Jul 21, 2009 at 11:52 AM, Martin Makundi < > > [email protected]> 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 <[email protected]>: > >> > 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 < > >> > [email protected]> wrote: > >> > > >> >> Copy-paste the example from the web and replace the one panel with a > >> grid. > >> >> > >> >> ** > >> >> Martin > >> >> > >> >> 2009/7/20 Gerald Fernando <[email protected]>: > >> >> > 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 < > >> >> > [email protected]> 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 <[email protected]>: > >> >> >> > 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: [email protected] > >> >> >> For additional commands, e-mail: [email protected] > >> >> >> > >> >> >> > >> >> > > >> >> > > >> >> > -- > >> >> > Thanks®ards, > >> >> > Gerald A > >> >> > > >> >> > >> >> --------------------------------------------------------------------- > >> >> To unsubscribe, e-mail: [email protected] > >> >> For additional commands, e-mail: [email protected] > >> >> > >> >> > >> > > >> > > >> > -- > >> > Thanks®ards, > >> > Gerald A > >> > > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: [email protected] > >> For additional commands, e-mail: [email protected] > >> > >> > > > > > > -- > > Thanks®ards, > > Gerald A > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > -- Thanks®ards, Gerald A
