This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes JSF and the fly likes Suggestion sought on JSF page layout design Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » JSF
Reply Bookmark "Suggestion sought on JSF page layout design" Watch "Suggestion sought on JSF page layout design" New topic
Author

Suggestion sought on JSF page layout design

Kumar Gaurav
Ranch Hand

Joined: Apr 08, 2008
Posts: 108
Hi All,

As part of my project requirement i need to display multiple small windows (similar to portlets) in one jsp page. I am using JSF(Sun RI, Richfaces) tags in my jsp page.

Now one way to do this to go for portlet. What if i want to implement it in jsp page to display multiple windows .

Any help on how to do this will be very helpful.


Regards,
Gaurav
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 14487
    
    7

The technical term for "small windows in a page" is panes. A window is a free-floating GUI object; window panes are fixed within windows.

If you need independent behaviours, you need a portal. That's what portals are all about. However, if you just need to slice up a display area, you have a number of options.

For crude and nasty, you can just use HTML's table and div elements.

For page-tiling stuff Facelets works well. The actual display subdiivision can be done using HTML or using JSF elements such as panelGrid. I don't really recommend using raw HTML on JSF pages myself, but I've done so occasionally.

RichFaces also has some extension tags that may be useful. Look at the RichFaces "panel" tag and its relatives. They can be used to make a display look very portal-like even though it isn't actually a portal. Additionally, some of the panel options include the ability to grow or shrink panes dynamically.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Suggestion sought on JSF page layout design
 
Similar Threads
Best way to display/not display a div based on a value in my JavaBean
how to display multiple lines
create multiple checkboxes with Data base values in jsf page
How to display Ajax result on the same jsp page
JSF Popup from JSP page