given the following:
<rich:tree
...
reRender="#{adaptor.reRenderedAreasOnTreeClick}"
...
>
...
</rich:tree>
where adaptor.reRenderedAreasOnTreeClick returns the "" string, the java.lang.StringIndexOutOfBoundsException is thrown at: org.ajax4jsf.context.AjaxContextImpl.convertId(AjaxContextImpl.java:384)
private String convertId(UIComponent component, String id) {
if (id.charAt(0) == NamingContainer.SEPARATOR_CHAR) {
here id's value is ""
read from
org.ajax4jsf.renderkit.AjaxRendererUtils.getAjaxAreas()
read from
adaptor.reRenderedAreasOnTreeClick
i guess this bug affects all components, i was confrunted with this problem using the rich:tree component. As a quick solution, return null instead.