Hi, Getting the following exception for the <select jwcid="cities"></select> in Home.html
The code in the Home.page is given below <component id="city" type="PropertySelection"> <binding name="model" value="cities" /> <binding name="value" value="city"/> </component> changes related to "city" in Home.java ------------------------------------- public IPropertySelectionModel getCities(){ if (getCountry().equals("US")) { return new StringPropertySelectionModel(new String[] { "New York", "Boston", "Chicago" }); } else if(getCountry().equals("China")){ return new StringPropertySelectionModel(new String[] { "Beijing", "Shanghai" }); } else if(getCountry().equals("UK")){ return new StringPropertySelectionModel(new String[] { "London" , "Birmingham" }); } else { return new StringPropertySelectionModel(new String[] { "Santiago", "Arica" }); } } Exception ->>> --------- [ +/- ] Exception: Unable to read OGNL expression '<parsed OGNL expression>' of $DropDown_0@3c1[Home]: cities org.apache.tapestry.BindingException binding: ExpressionBinding[Home cities] location: context:/WEB-INF/Home.page, line 14, column 45 9 <component id="country" type="Autocompleter"> 10 <binding name="value" value="country"/> 11 <binding name="model" value="countryAutoCompleteModel"/> 12 </component> 13 <component id="city" type="PropertySelection"> 14 <binding name="model" value="cities" /> 15 <binding name="value" value="city"/> 16 </component> 17 </page-specification> Can anybody suggest what needs to be done in this case? -- View this message in context: http://tapestry.1045711.n5.nabble.com/How-to-resolve-Exception-Unable-to-read-OGNL-expression-parsed-OGNL-expression-tp4315469p4315469.html Sent from the Tapestry - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org