• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

Frame set developing in JSF

 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Saloon Keeper
Posts: 25466
180
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Saloon Keeper
Posts: 25466
180
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Saloon Keeper
Posts: 25466
180
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Saloon Keeper
Posts: 25466
180
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Anything worth doing well is worth doing poorly first. Just look at this tiny ad:
free, earth-friendly heat - a kickstarter for putting coin in your pocket while saving the earth
https://coderanch.com/t/751654/free-earth-friendly-heat-kickstarter
reply
    Bookmark Topic Watch Topic
  • New Topic