Author: vbaranov
Date: 2008-04-04 09:41:20 -0400 (Fri, 04 Apr 2008)
New Revision: 7610
Modified:
trunk/framework/impl/src/main/java/org/ajax4jsf/component/UIDataAdaptor.java
Log:
http://jira.jboss.com/jira/browse/RF-2942
Modified: trunk/framework/impl/src/main/java/org/ajax4jsf/component/UIDataAdaptor.java
===================================================================
---
trunk/framework/impl/src/main/java/org/ajax4jsf/component/UIDataAdaptor.java 2008-04-04
13:24:28 UTC (rev 7609)
+++
trunk/framework/impl/src/main/java/org/ajax4jsf/component/UIDataAdaptor.java 2008-04-04
13:41:20 UTC (rev 7610)
@@ -745,8 +745,11 @@
StringBuilder parentIds = new StringBuilder();
while (null != (ancestorContainer = ancestorContainer.getParent())) {
if (ancestorContainer instanceof NamingContainer) {
- parentIds.append(ancestorContainer.getContainerClientId(faces))
- .append(NamingContainer.SEPARATOR_CHAR);
+ String containerClientId = ancestorContainer.getContainerClientId(faces);
+ // skip case when clientId of ancestor container is null
+ if(containerClientId != null) {
+ parentIds.append(containerClientId).append(NamingContainer.SEPARATOR_CHAR);
+ }
break;
}
}