Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

jsf or ice faces

 
subhadra tatavarthy
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
how to divide rows in a page using jsf
i want to divide a page in to 3 rows, in that i want to insert logo,time and sysdate in one row,
flash image and login box in the second row
and third is the footer
or else we can use ice faces
 
Tim Holloway
Saloon Keeper
Pie
Posts: 18152
52
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ice Faces is JSF. It's just extended JSF.

However, what you're describing is a common thing to do. "Rows" is a bad term, though. That implies something like what you see in a table. In windowing terms, the kind of divisions you are describing are usually called "panes" or "panels" or "zones".

Basic JSF can use the h:panelGrid columns="1" element to set up an area where elements appear vertically. You can then make each of your "rows" be a panelGrid within that outer panelGrid.

A more flexible approach is to use tiling. The old Struts Tiles facility supported that, although I always found it awkwards. More recently, you can tile a display using Facelets. Facelets is available as a add-on to JSF version 1 and is a standard part of JSF version 2.
 
subhadra tatavarthy
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thank you Tim Holloway. could you give me some example code like dividing in to 3 frames horizantally
and inserting the flash image(.swf) files in to that rows
 
Tim Holloway
Saloon Keeper
Pie
Posts: 18152
52
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


Caution: not all of my browsers can play SWF, so if you plan on selling me anything, make sure SWF isn't the only way to use your app. I have made "big-ticket" purchase decisions where a big-name company lost my business because they were Flash-only.
 
subhadra tatavarthy
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thank you Tim Holloway
can i put text boxes (like user name, password) on the image
if yes please give me some example code
and tell me about the alignments also(like positions , left ,right, top, bottom)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic