I 'm having this peculiar problem with the page I'm trying to create (I'm using Tapestry 4.1.3. When the page loads, I get a Tapestry Exception Unable to read OGNL expression '<parsed OGNL expression>' of [EMAIL PROTECTED]: source is null for getProperty(null, "selectedCountryId") [context:/WEB-INF/Home.xhtml, line 130]
The "mystery" is that the error is traced at the DirectLink component; Tapestry does not have any problem with the Hidden component, arising suspicions that the problem is not actually that selectedCountryId is null (it should have a problem with the Hidden component) but that there's something I'm not doing right with the DirectLink component. What could be the case? Line 96: <form action="#" jwcid="quoteForm"> <input type="hidden" jwcid="@Hidden" value="ognl:selectedCountryId"/> ... Line 130: <a href="LocationSearch.xhtml" id="pickdestsearchlink" onclick='document.getElementById ("pickdestsearch").checked="checked"' jwcid="@DirectLink" listener="ognl: listeners.goToLocationSearch" parameters="ognl:new java.lang.Object[] {selectedCountryId, selectedLocationId == -1 ? otherCityId : selectedLocationId, checkIn == null ? null : checkIn.time, checkOut == null ? null : checkOut.time, adultsPerRoom}" >Search for a destination<br/> using keywords</a> <http://www.cn.ntua.gr/%7Enkons>