Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Frames in JSF  RSS feed

 
prashanth chaitanya
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can any one suggest how to use frames in JSF. we are using facelets and richfaces integrated by JBOSS SEAM.
we have a requirement of showing table in one frame when a command Link is clicked in other frame.

 
Tim Holloway
Bartender
Posts: 18531
61
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Frames don't work very well for stuff like this. You'll generally do better using Facelets tiling. That will usually give you the same basic sort of display while managing the display components in a JSF-friendly manner.

One advantage of frames, of course it that they have the ability to be resized and scrolled, but DHTML can do that on ordinary pages now.
 
prashanth chaitanya
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there anyway like component resizing in one screen does not move other parts of screen. For example i use a rich tree which expands and contracts as needed disturbing other components surrounding it(changing the position on the screen).
We use ajax output panels for rendering components which causes a component to be rendered or not to be rendered depending on a condition.
The main reason in using frames was not to disturb the other components when rich tree is expanded or contracted.
Is there anyway i can prevent this?


 
Tim Holloway
Bartender
Posts: 18531
61
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
prashanth chaitanya wrote:Is there anyway like component resizing in one screen does not move other parts of screen. For example i use a rich tree which expands and contracts as needed disturbing other components surrounding it(changing the position on the screen).
We use ajax output panels for rendering components which causes a component to be rendered or not to be rendered depending on a condition.
The main reason in using frames was not to disturb the other components when rich tree is expanded or contracted.
Is there anyway i can prevent this?




I have a site that does this, and it doesn't use frames. The Beta Test version of it is at http://www3.mousetech.com:8180/joyslist (should go into production in a few weeks). It's a slow data link, however, so please forgive it. If it wasn't for caching and AJAX it would have been a lot worse - the expanded menu runs to 3 MB!
 
prashanth chaitanya
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you please tell me the technilogies you are using?
 
Tim Holloway
Bartender
Posts: 18531
61
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Facelets, RichFaces (the menu, among other things), JSF 1.2, Spring Framework, JPA 1.2 (or somewhere thereabouts), PostgreSQL database (although with JPA, that's changeable).

And an honorable mention to PrettyFaces for providing direct URL access and bookmarkable pages.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!