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

Frame set developing in JSF  RSS feed

 
RamaKrishna Thota
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All

I am new to JSF,i want to use Frameset in JSF give me some idea on this.I have a link in JavaScript.

Thanks in Advance
 
Tim Holloway
Bartender
Posts: 18531
61
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Framesets and JSF don't get along very well. Usually you'll have less trouble if you use Facelets tiling and templates.

The one thing that Framesets tends to be better at is the ability to scroll frames (for example, the JavaDocs web page and class listing frame). However, you can make an HTML <div> scrollable.
 
Joe Khan
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Framesets come with draggable splitter(divider) as well. Is there any other component with splitter which is supported by JSF?
 
Tim Holloway
Bartender
Posts: 18531
61
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Once a topic thread has gone dormant for 6 months or so, we'd prefer that you just start a new thread, actually.

I think CSS supports this sort of thing these days. You might also take a look at some of the extended JSF tag library products, though.
 
Joe Khan
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Tim for your quick reply. I will be careful about your dormant limit. I don't think pure CSS can do that. I tried Icefaces divider component but it's doing some javascript logic and is very buggy same goes to primefaces divider. I prefer to use some standard HTML component rather than javascript hack.
 
Tim Holloway
Bartender
Posts: 18531
61
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
http://www.w3schools.com/cssref/css3_pr_resize.asp

To get something more like the traditional splitter would probably require JavaScript. The JSF extension tagsets often include jQuery, which offers solutions like this:

http://blog.softlayer.com/2012/no-iframes-dynamically-resize-divs-with-jquery/

Note that JSF's id values are not the same as HTML id values, so some small adjustments are required to make that sample JSF-friendly.
 
Joe Khan
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Thanks Tim for letting me know about CSS3 resize I didn't know about that.

http://blog.softlayer.com/2012/no-iframes-dynamically-resize-divs-with-jquery/

I would personally prefer jQuery over pure JavaScript but the company I'm currently contracting with won't allow any direct solutions like that cause they usually hire JSF/Java guys rather than JavaScript/jQuery ones. Also they are officially supporting IE so CSS3 is also out of question, that really sucks!!

Well I'm still playing with Framesets and jsf, see if they can be used together ;)






 
Tim Holloway
Bartender
Posts: 18531
61
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Whether they want jQuery or not, they've probably got it.

That's what JSF extensions such as RichFaces and IceFaces use internally for their AJAX support.

And I hope they're not trying to sell anything via IE, because I don't run IE on any system I handle money with.
 
Joe Khan
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
And I hope they're not trying to sell anything via IE, because I don't run IE on any system I handle money with.

Yea, I don't understand myself why companies till using crappy and insecure browser, looks like Microsoft monopoly.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!