Hi all, I am calling an event handler which adds a member to a list that I have stored on a tapestry page. Unfortunately, the 'update' doesn't seem to stay around after the method - the list is still in the same state without the added object after the method completes. I am unsure of how to solve this issue or what to do. Below is code that will help make my question clearer:
void onUpdateClusters() { if (isCluster) { SearchRequest sr = new SearchRequest(searchTerm); sr.setFacetSelList(facetedSel); sr.setStart(0); sr.setSortDir(SortDir.DESC); cluster = SearchUtil.getInstance(this.getStore()).getClusterSearch(sr); cluster.sortValuesByScore(); int trimTo = Math.min(10, cluster.getValues().size()); List<FacetSelection> selections = cluster.getValues().subList(0, trimTo); cluster.setValues(selections); cluster.setValueCount(trimTo); facets.add(cluster); TangoWeb.getLogger().info("new facets onUpdateClusters(): " + facets.toString()); } The 'facets' object is the list that I would like to update to contain the value 'cluster'. I verified by logline that the list is updated within the method, but that the list is saved in its original state once the method completes. What can I do to see that the list updates with the new 'cluster' value appended? Tim