Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Face managed bean in RAD7

 
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic