Thanks all
Ps:Sorry, but I have mentioned I want to stay in jsf and no jsp. I will see facelets.
On 8/16/06, Frank Russo <[EMAIL PROTECTED]> wrote:
Or if you are starting a new project, you can look into using Facelets
instead of JSP...
Frank Russo
Senior Developer
FX Alliance, LLC
-----Original Message-----
From: Martin Marinschek [mailto: [EMAIL PROTECTED]]
Sent: Wednesday, August 16, 2006 7:39 AM
To: MyFaces Discussion; [EMAIL PROTECTED]
Subject: Re: Doubt about design of JSF applications
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

