Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Face Managed Bean

 
siva prakash
Ranch Hand
Posts: 80
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I am new to JSF jsr168 portlet development, I have created 2 portlets and 2 face managed beans using option (Face Managed Bean in PAGE DATA view in RAD) and made them application scope.

I want to use some methods and variables defined in first bean in 2nd bean ( order of flow of those pages is 1 and then 2 JSF ). I thought to extend first Face managed bean but my 2nd face managed bean is already existing a class,


my doubts :


1) can i use already existing face managed bean in another managed bean, if so how. do i need to create a new instance of first managed bean using new operator (which i feel violates JSF framework).


its very urgent and any help is appreaciable.





Thanks,
Prakash
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!