• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Face managed bean in RAD7

 
Ranch Hand
Posts: 80
  • 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 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
reply
    Bookmark Topic Watch Topic
  • New Topic