Hi,
 
Can anyone see why the following will would not work
 
<logic-el:match name="PersonStatus"
property="person.countryCode.countryCode"
value="${CountryCode.countryCode}">
 
PersonStatus is a session object that contains a nested object
countryCode of type CountryCode and the class CountryCode contains a
string m_countryCode.
 
There is also a session object CountryCode that is an arraylist of
different country codes e.g. "UK" is United Kingdom, "IE" is Ireland etc
 
I tried using  <bean:write ="PersonStatus"
property="person.countryCode.countryCode"> and kept getting the error
Null property value for 'countryCode', but I've done system.out checks
and the object is set with values.
 
Thanks
Suzy

Reply via email to