Hi Dudu, yes, this will work as well - it doesn't matter where you break up your pages to create templates and "tiles-variables".
regards, Martin P.S.: Facelets is of course an alternate suggestion, but you mentioned you want to stay with JSP... On 8/16/06, Dudu <[EMAIL PROTECTED]> wrote:
Perfect Martin! And jsf alone cannot to solve this problem right? I need the same panelPage (ADF) in all pages, and the childrens of it are diferent. Diferent tables and inputs. Are you sure tiles I'll be able to do this? On 8/16/06, Martin Marinschek <[EMAIL PROTECTED]> wrote: > Hi Dudu, > > The problem you are telling us about sounds like you should have a > look at integrating Tiles with JSF - there is a special > JspTilesViewHandlerImpl class in MyFaces which will help you with > this. You can look at the Tiles-Example of MyFaces to find out how it > works. > > Basically, you'll need to add the JspTilesViewHandlerImpl to your > faces-config.xml, a special context parameter to your web.xml, and a > tiles-config.xml to your WEB-INF > directory. > > Then you'll need to extract a basic template from your JSF pages, and > you can extend your other pages from this template. > > regards, > > Martin > > On 8/16/06, Dudu <[EMAIL PROTECTED]> wrote: > > I start developing jsf applications who the components is always generated > > dinamically, and there are few pages. > > > > Now I'm starting a personal project, and the components are static... > > There are a PanelPage, and inside the menu1 facet there are a menuTab with > > various commandMenuItems > > When the user click on a commandMenuItem, what I should to do: > > 1 - Navigate to other page, who the panelPage will be repetead, and the > > center is the content what I want. > > or: > > 2 - Without navigation, clearing and after adding childrens to the central > > panelPage, who there are a menuTab on menu1 facet > > > > My doubt is, "and every page I need to put the same panelPage with different > > central content", is it correct??? Anyone can indicate me a document with > > this discussion?? > > > > Thanks. > > > > ps: I know the facelets, but I must try to do this using only JSF. > > > > > -- > > http://www.irian.at > > Your JSF powerhouse - > JSF Consulting, Development and > Courses in English and German > > Professional Support for Apache MyFaces > -- ---------- Dudu GoogleTalk: eduardopichler[at]gmail[dot]com skype:eduardopichler
-- http://www.irian.at Your JSF powerhouse - JSF Consulting, Development and Courses in English and German Professional Support for Apache MyFaces