Our project uses lots of POJO Seam components with PAGE scope, and we can use the ajax(richfaces ajax4j), works fine.
Could you provide you code(backing bean, xhtml)?
Thanks, but, it was my mistake, I am using SpringJdbc for this project (its a legacy database with stored procedures and other crazy stuff so integration with JPA/Hibernate was not an option):
Map<String, Object> subactivity= jdbcTemplate.queryForMap(...
it turns out that the map returned is a ListOrderedMap.decorate(new CaseInsensitiveMap()); and therefore its key/values can be linked to JSF like this:
or like this (I was using the former)
But I didnt know that, so, when I asked for a rerender after calling an action with a commmandLink, I was returning a plain old HashMap:
Map<String, Object> transfomedSubactivity = new HashMap<String, Object>(); transfomedSubactivity.putAll(subactivity) return transfomedSubactivity;
and that changed all the keys to uppercase, therefore this didn't work anymore:
and I wrongly believed it was because of ScopeType.PAGE, but it was because HashMap is case sensitive.