• 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

Populating value in managed bean

 
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi

I want to populate a value in managed bean(FACES-CONFIG-BEAN.XML), which was set in Request Attribute from some other jsp and forwarded to another jsp.

CODE IS SOME THING LIKE THIS :-

<managed-bean>
<description>
SSSSS
</description>
<managed-bean-name>ABCBEAN</managed-bean-name>
<managed-bean-class>java.util.HashMap</managed-bean-class>
<managed-bean-scope>request</managed-bean-scope>
<map-entries>

<map-entry>
<key>xxxx</key>
<value>#{VALUE TO BE FILLED FROM REQUEST ATTIBUTE}</value>
</map-entry>
</map-entries>
</managed-bean>

ANY HLEP IS APPRICIATED.
THANKS
CHANDRA
 
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
you should be able to access it using #{param.keyName}
 
reply
    Bookmark Topic Watch Topic
  • New Topic