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

JSF hurts my head...  RSS feed

 
Kev D'Arcy
Ranch Hand
Posts: 75
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm doing some investigation on JavaServer Faces... and having found loads of
articles and demo applications... I think (emphasis on think) I have a fair
idea of how it all hangs together... From what I've read, the basic premise
is to design the Java beans first that control the functionality of an
application and then wrap the JSP user interface and navigation around these
beans. No problems here so far... I know you can go back and forth between
faces and non-faces components, but this seems not to be the goal of JSF. So,
now to my question... If I stick with the pure JSF model, how do I access
application/session scope variables in my beans? Is there some static methods
in the JSF spec that I should be using? Should I just use non-faces components
to access them? Am I completely off the mark? Does anyone know of a really
good complete idiots guide to JSF?
 
Srinivasa Raghavan
Ranch Hand
Posts: 1228
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes even i wanna to learn JSF can any one tell me a good guide and the links having JSF jar's.
 
Balaji Loganathan
author and deputy
Bartender
Posts: 3150
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How about this http://www.javaranch.com/newsletter/200404/Journal200404.jsp#a3 from our Javaranch Staff ??
 
Kev D'Arcy
Ranch Hand
Posts: 75
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Balaji!

I had seen a similar app on another site... That's basically the level I'm
at, though I still don't know how to access session/application scope
variables from within my code. Do I have to use non-faces (i.e. a servlet)
comonent or are there static methods in the JSF framework I can use?
 
Balaji Loganathan
author and deputy
Bartender
Posts: 3150
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think its better if you post JSF questions in our Web Application Frameworks forum.
 
Kev D'Arcy
Ranch Hand
Posts: 75
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Oops! Didn't know there was one!
 
Nathan Pruett
Bartender
Posts: 4121
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving to the Web Applications Frameworks forum...
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!