How to organize pages layout in real world applications
Hi all, We'll plan to use wicket in our application for one enterprise's information management system. the app's portal layout is someting like this: --- | Header | --- | | | | | | |Nav| Client| | | | | | | | | | | | | | | | | | | | | | --- | footer | --- When we use Wicket's layout way -- Orgnized everything into one page using child, we found that it's reload everything ( header nav etc.) everytime when click links in client area. Is there a nice way organize those pages in a ajax partial refresh way? For example , Nav and client are all represent by a separated *independent* page, When click nav area, only refresh client area, (*Note* client area is represent by a client Page, not a panel). Thanks. Zenberg ding,zenberg.d...@gmail.com 2009-10-13
Re: Page content setting on a panel.
Thank u, I'll check it I would use an iframe instead of doing this, or I would use panels instead of pages. But you may want to look at the code of ModalWindow in wicket extensions since it is capable of doing what you want, i.e. displaying the content of a page within a div. Zenberg Ding wrote: Hi, How can let a page render to a panel component, then I can avoid page inherited and whole page refresh to build my pages layout. Think about this : html body span wicket:id=navigator/ span wicket:id=content/ /body /html onNavNodeClicked(AjaxRequestTarget target) { MyPage page = new MyPage(...); Component component = getPage().get(content); ((Panel)component).setRenderPage(page); // this method is what i wanted. target.add(component); //my page's cotent rendered } so, is there any way to reach this? Thanks. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- 使用 Opera 革命性的电子邮件客户程序: http://www.opera.com/mail/ - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Page content setting on a panel.
Hi, How can let a page render to a panel component, then I can avoid page inherited and whole page refresh to build my pages layout. Think about this : html body span wicket:id=navigator/ span wicket:id=content/ /body /html onNavNodeClicked(AjaxRequestTarget target) { MyPage page = new MyPage(...); Component component = getPage().get(content); ((Panel)component).setRenderPage(page); // this method is what i wanted. target.add(component); //my page's cotent rendered } so, is there any way to reach this? Thanks. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
When and how to use tag 'wicket:component'?
Hi folks, I just wonder when and how to use tag 'wicket:component'. what's the intention of this tag exists? Thanks - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Need Wicket Examples
Check out svn's code, copy examples to your nb project folder, run it :) On Thu, Mar 26, 2009 at 12:06:23AM -0700, FaRHaN wrote: I have Wicket in Action book but those examples are being explained in Ant/Maven and not in netbeans IDE. Are there any examples which are also executable in netbeans IDE ? In Netbeans, install the Maven plugin and create a new Maven project using an existing pom.xml. Philippe - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org