This discussion is archived
1 Reply Latest reply: Jan 23, 2013 1:25 AM by Frank Nimphius RSS

Context initialization parameters for managed bean in adfc-config.xml

Dave.Jarvis Newbie
Currently Being Moderated
Hi,

I've posted a question on SO: http://stackoverflow.com/questions/14467013/context-initialization-parameters-for-managed-bean

Essentially, why does the following work in faces-config.xml:

<managed-bean>
<managed-bean-name>reportBean</managed-bean-name>
<managed-bean-class>ca.corp.report.view.OracleReportBean</managed-bean-class>
<managed-bean-scope>request</managed-bean-scope>
<managed-property>
<property-name>reportServerProtocol</property-name>
<property-class>java.lang.String</property-class>
<value>#{initParam['reporting.server.protocol']}</value>
</managed-property>
...
</managed-bean>

But does not work in adfc-config.xml?

Thank you!

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points