The error occurs only if i include <managed-property> inside the <managed-bean> in faces-config.xml. The moment i remove <managed-property> from face-config.xml the error disappears & page gets rendered properly.

The purpose in using <managed-property> is to integrate JSF with Spring i.e. calling deviceManager

Any pointers/suggestions in resolving the error will be highly appreciated

Regards Bansi

Bansilal Haudakari
Greenhorn

Joined: Jun 28, 2004
Posts: 15

posted Jan 07, 2007 17:19:00

0

The TestBean do have a property for DeviceManager along with setter/getter methods as shown below. Sorry for not including in earlier posting

The Scenario 1 works absolutely fine as the expression '#{test.selectedDevice}' gets its value from setter/getter method in the backing bean(TestBean.java) . This is expected behaviour & wondering why it doesn't work similarly in Scenario 2 instead complains Cannot get value for expression '#{test.selectedDevice}'

I am willing to upload the war file. Any pointers/suggestions in resolving the error will be highly appreciated