NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

JSF Page Layout question

 
Post new topic   Reply to topic    NetBeans Forums -> Java EE Users
View previous topic :: View next topic  
Author Message
ols



Joined: 19 Dec 2008
Posts: 9

PostPosted: Fri Dec 19, 2008 6:27 pm    Post subject: JSF Page Layout question Reply with quote

Hi all,

I have to create few JSF pages, that contain a header, a central part and a footer. The central part should be split in two vertical parts. The left part should contain a vertical menu composed of buttons. The right part is the main part of the page and it's width should be variable. If the width of the browser window change, then the width of the main part should change.

I have create 3 fragments, for the header, the footer and for the navigation.
The navigation is float: left
When I reduce a lot the width of the browser, the main part is reduced but it is written onto the buttons of the navigation part.

How can I manage that ? Is there another approach ? Do you any good links to this type of layout problem ?

Thanks a lot,

Olivier
Back to top
mir ip
Posted via mailing list.





PostPosted: Tue Dec 23, 2008 1:06 pm    Post subject: JSF Page Layout question Reply with quote

Hi,
You can use ICEFaces faclets. Here you can check hoe to do it http://facestutorials.icefaces.org/tutorial/dynamic-includes-tutorial.html
Or use struts templates.

Good luck.

--- On Fri, 12/19/08, ols <[i]address-removed>[/i] wrote:
Quote:
From: ols <address-removed>
Subject: [nbj2ee] JSF Page Layout question
To: address-removed
Date: Friday, December 19, 2008, 10:27 AM

Quote:
Hi all,I have to create few JSF pages, that contain a header, a central part and afooter. The central part should be split in two vertical parts. The left partshould contain a vertical menu composed of buttons. The right part is the mainpart of the page and it's width should be
variable. If the width of thebrowser window change, then the width of the main part should change.I have create 3 fragments, for the header, the footer and for the navigation.The navigation is float: leftWhen I reduce a lot the width of the browser, the main part is reduced but itis written onto the buttons of the navigation part.How can I manage that ? Is there another approach ? Do you any good links tothis type of layout problem ?Thanks a lot,Olivier
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> Java EE Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo