Hello All,
Please advise I cannot access the exchangeCodes properties while I am able to access this one...<property name="areaCode" value="205"/>
when I try to get the exchangeCodes I get null values.
Thanks
Richard
Code:<?xml version="1.0" encoding="ISO-8859-1"?> <!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd"> <beans> <bean id="SignupController" class="xxx.xxx.xxx.controller.SignupWizardController"> <property name="pages"> <list> <value>signup-start-phoneplans</value> <value>signup-step1-phonenumber</value> <value>signup-step2-phoneadapter</value> </list> </property> <property name="phonePlansDao"> <ref bean="PhonePlansDao"/> </property> <property name="sessionForm"><value>true</value></property> <property name="commandName"><value>sc</value></property> <property name="commandClass"><value>xxx.xxx.xxx.command.SignupCommand</value></property> <property name="countries" > <set> <bean id="us" class="com.voxsant.commons.constants.Country"> <property name="country" value="United States"/> <property name="stateProvinceRegion"> <set> <bean id="alabama" class="xxx.xxx.xxx.constants.StateProvinceRegion"> <property name="stateProvinceRegion" value="Alabama"/> <property name="areaCodes"> <set> <ref bean="ac205"/> </set> </property> </bean> </set> </property> </bean> <bean id="canada" class="com.xxx.xxx.constants.Country"> <property name="country" value="Canada"/> </bean> </set> </property> </bean> <bean id="ac205" class="com.xxx.xxx.constants.AreaCode"> <property name="areaCode" value="205"/> <property name="exchangeCodes" > <set> <value>267 (Bessemer)</value> <value>282 (Jasper)</value> <value>304 (Dora)</value> <value>316 (Centrevl)</value> <value>352 (Leeds)</value> <value>386 (Gardendale)</value> <value>390 (Graysville)</value> <value>409 (Tuscaloosa)</value> <value>419 (Alabaster)</value> <value>453 (Birmingham)</value> <value>683 (Pinson)</value> <value>742 (Livingston)</value> </set> </property> </bean> </beans>


Reply With Quote