...
Code Block | ||||
---|---|---|---|---|
| ||||
<!-- worldweatheronline.com Weather DAO Implementation --> <!-- <bean id="weatherDaoImpl" class="org.jasig.portlet.weather.dao.worldwide.WorldWeatherOnlineDaoImpl"> <property name="key" value="YOURKEY"/> <property name="imageMapping"><value>classpath:wwo-image-mapping.properties</value></property> </bean> --> <!-- Yahoo! Weather DAO Implementation --> <bean id="weatherDaoImpl" class="org.jasig.portlet.weather.dao.yahoo.YahooWeatherDaoImpl"> <property name="key" value=""/> <!-- ENTER YOUR KEY HERE --> <property name="weatherParsingService" ref="weatherParsingService"/> <property name="locationParsingService" ref="locationParsingService"/> <property name="messageSource" ref="messageSource"/> </bean> |
...
Custom WeatherPortlet Build
The applicationContext.xml
file is included in the WeatherPortlet release in the location referenced above. Just edit this file as instructed above.