/** * @param id the component ID * @return <code>true</code> if this ID is unique within the closest naming * container, otherwise <code>false</code> */ private boolean isSpecifiedIdUnique(String id) { UIComponentClassicTagBase containerTag = getParentNamingContainerTag(); UIComponent c = containerTag.component.findComponent(id); if (c == null) { return true; } else { UIComponent parent = c.getParent(); if (parent.equals(this.parentTag.component)) { // the component we found has the same parent, If we find // a sibling with the same ID, return true so that the // id is incremented, otherwise, return false. List<String> created = this.parentTag.createdComponents; return !(created != null && created.contains(id)); } else { return false; } } }
/** * @param id the component ID * @return <code>true</code> if this ID is unique within the closest naming * container, otherwise <code>false</code> */ private boolean isSpecifiedIdUnique(String id) { UIComponentClassicTagBase containerTag = getParentNamingContainerTag(); UIComponent c = containerTag.component.findComponent(id); if (c == null) { return true; } else { UIComponent parent = c.getParent(); if (parent.equals(this.parentTag.component)) { // the component we found has the same parent, If we find // a sibling with the same ID, return true so that the // id is incremented, otherwise, return false. List<String> created = this.parentTag.createdComponents; return !(created != null && created.contains(id)); } else { return false; } } }
/** * @param id the component ID * @return <code>true</code> if this ID is unique within the closest naming * container, otherwise <code>false</code> */ private boolean isSpecifiedIdUnique(String id) { UIComponentClassicTagBase containerTag = getParentNamingContainerTag(); UIComponent c = containerTag.component.findComponent(id); if (c == null) { return true; } else { UIComponent parent = c.getParent(); if (parent.equals(this.parentTag.component)) { // the component we found has the same parent, If we find // a sibling with the same ID, return true so that the // id is incremented, otherwise, return false. List<String> created = this.parentTag.createdComponents; return !(created != null && created.contains(id)); } else { return false; } } }
/** * @param id the component ID * @return <code>true</code> if this ID is unique within the closest naming * container, otherwise <code>false</code> */ private boolean isSpecifiedIdUnique(String id) { UIComponentClassicTagBase containerTag = getParentNamingContainerTag(); UIComponent c = containerTag.component.findComponent(id); if (c == null) { return true; } else { UIComponent parent = c.getParent(); if (parent.equals(this.parentTag.component)) { // the component we found has the same parent, If we find // a sibling with the same ID, return true so that the // id is incremented, otherwise, return false. List<String> created = this.parentTag.createdComponents; return !(created != null && created.contains(id)); } else { return false; } } }
/** * @param id the component ID * @return <code>true</code> if this ID is unique within the closest naming * container, otherwise <code>false</code> */ private boolean isSpecifiedIdUnique(String id) { UIComponentClassicTagBase containerTag = getParentNamingContainerTag(); UIComponent c = containerTag.component.findComponent(id); if (c == null) { return true; } else { UIComponent parent = c.getParent(); if (parent.equals(this.parentTag.component)) { // the component we found has the same parent, If we find // a sibling with the same ID, return true so that the // id is incremented, otherwise, return false. List<String> created = this.parentTag.createdComponents; return !(created != null && created.contains(id)); } else { return false; } } }
/** * @param id the component ID * @return <code>true</code> if this ID is unique within the closest naming * container, otherwise <code>false</code> */ private boolean isSpecifiedIdUnique(String id) { UIComponentClassicTagBase containerTag = getParentNamingContainerTag(); UIComponent c = containerTag.component.findComponent(id); if (c == null) { return true; } else { UIComponent parent = c.getParent(); if (parent.equals(this.parentTag.component)) { // the component we found has the same parent, If we find // a sibling with the same ID, return true so that the // id is incremented, otherwise, return false. List<String> created = this.parentTag.createdComponents; return !(created != null && created.contains(id)); } else { return false; } } }
/** * @param id the component ID * @return <code>true</code> if this ID is unique within the closest naming * container, otherwise <code>false</code> */ private boolean isSpecifiedIdUnique(String id) { UIComponentClassicTagBase containerTag = getParentNamingContainerTag(); UIComponent c = containerTag.component.findComponent(id); if (c == null) { return true; } else { UIComponent parent = c.getParent(); if (parent.equals(this.parentTag.component)) { // the component we found has the same parent, If we find // a sibling with the same ID, return true so that the // id is incremented, otherwise, return false. List<String> created = this.parentTag.createdComponents; return !(created != null && created.contains(id)); } else { return false; } } }
/** * @param id the component ID * @return <code>true</code> if this ID is unique within the closest naming * container, otherwise <code>false</code> */ private boolean isSpecifiedIdUnique(String id) { UIComponentClassicTagBase containerTag = getParentNamingContainerTag(); UIComponent c = containerTag.component.findComponent(id); if (c == null) { return true; } else { UIComponent parent = c.getParent(); if (parent.equals(this.parentTag.component)) { // the component we found has the same parent, If we find // a sibling with the same ID, return true so that the // id is incremented, otherwise, return false. List<String> created = this.parentTag.createdComponents; return !(created != null && created.contains(id)); } else { return false; } } }
/** * @param id the component ID * @return <code>true</code> if this ID is unique within the closest naming * container, otherwise <code>false</code> */ private boolean isSpecifiedIdUnique(String id) { UIComponentClassicTagBase containerTag = getParentNamingContainerTag(); UIComponent c = containerTag.component.findComponent(id); if (c == null) { return true; } else { UIComponent parent = c.getParent(); if (parent.equals(this.parentTag.component)) { // the component we found has the same parent, If we find // a sibling with the same ID, return true so that the // id is incremented, otherwise, return false. List<String> created = this.parentTag.createdComponents; return !(created != null && created.contains(id)); } else { return false; } } }
/** * @param id the component ID * @return <code>true</code> if this ID is unique within the closest naming * container, otherwise <code>false</code> */ private boolean isSpecifiedIdUnique(String id) { UIComponentClassicTagBase containerTag = getParentNamingContainerTag(); UIComponent c = containerTag.component.findComponent(id); if (c == null) { return true; } else { UIComponent parent = c.getParent(); if (parent.equals(this.parentTag.component)) { // the component we found has the same parent, If we find // a sibling with the same ID, return true so that the // id is incremented, otherwise, return false. List<String> created = this.parentTag.createdComponents; return !(created != null && created.contains(id)); } else { return false; } } }
getParentNamingContainerTag().getNamingContainerChildIds().get(clientId); if (getParentNamingContainerTag().getNamingContainerChildIds().containsKey(clientId)) { + clientId + "', first used in tag: '" + getParentNamingContainerTag().getNamingContainerChildIds().get(clientId).getClass().getName() throw new JspException(new IllegalStateException(msg)); } else { getParentNamingContainerTag().getNamingContainerChildIds().put(clientId, this);
getParentNamingContainerTag().getNamingContainerChildIds().get(clientId); if (getParentNamingContainerTag().getNamingContainerChildIds().containsKey(clientId)) { + clientId + "', first used in tag: '" + getParentNamingContainerTag().getNamingContainerChildIds().get(clientId).getClass().getName() throw new JspException(new IllegalStateException(msg)); } else { getParentNamingContainerTag().getNamingContainerChildIds().put(clientId, this);
getParentNamingContainerTag().getNamingContainerChildIds().get(clientId); if (getParentNamingContainerTag().getNamingContainerChildIds().containsKey(clientId)) { + clientId + "', first used in tag: '" + getParentNamingContainerTag().getNamingContainerChildIds().get(clientId).getClass().getName() throw new JspException(new IllegalStateException(msg)); } else { getParentNamingContainerTag().getNamingContainerChildIds().put(clientId, this);
getParentNamingContainerTag().getNamingContainerChildIds().get(clientId); if (getParentNamingContainerTag().getNamingContainerChildIds().containsKey(clientId)) { + clientId + "', first used in tag: '" + getParentNamingContainerTag().getNamingContainerChildIds().get(clientId).getClass().getName() throw new JspException(new IllegalStateException(msg)); } else { getParentNamingContainerTag().getNamingContainerChildIds().put(clientId, this);
getParentNamingContainerTag().getNamingContainerChildIds().get(clientId); if (getParentNamingContainerTag().getNamingContainerChildIds().containsKey(clientId)) { + clientId + "', first used in tag: '" + getParentNamingContainerTag().getNamingContainerChildIds().get(clientId).getClass().getName() throw new JspException(new IllegalStateException(msg)); } else { getParentNamingContainerTag().getNamingContainerChildIds().put(clientId, this);
getParentNamingContainerTag().getNamingContainerChildIds().get(clientId); if (getParentNamingContainerTag().getNamingContainerChildIds().containsKey(clientId)) { + clientId + "', first used in tag: '" + getParentNamingContainerTag().getNamingContainerChildIds().get(clientId).getClass().getName() throw new JspException(new IllegalStateException(msg)); } else { getParentNamingContainerTag().getNamingContainerChildIds().put(clientId, this);
getParentNamingContainerTag().getNamingContainerChildIds().get(clientId); if (getParentNamingContainerTag().getNamingContainerChildIds().containsKey(clientId)) { + clientId + "', first used in tag: '" + getParentNamingContainerTag().getNamingContainerChildIds().get(clientId).getClass().getName() throw new JspException(new IllegalStateException(msg)); } else { getParentNamingContainerTag().getNamingContainerChildIds().put(clientId, this);
getParentNamingContainerTag().getNamingContainerChildIds().get(clientId); if (getParentNamingContainerTag().getNamingContainerChildIds().containsKey(clientId)) { + clientId + "', first used in tag: '" + getParentNamingContainerTag().getNamingContainerChildIds().get(clientId).getClass().getName() throw new JspException(new IllegalStateException(msg)); } else { getParentNamingContainerTag().getNamingContainerChildIds().put(clientId, this);
getParentNamingContainerTag().getNamingContainerChildIds().get(clientId); if (getParentNamingContainerTag().getNamingContainerChildIds().containsKey(clientId)) { + clientId + "', first used in tag: '" + getParentNamingContainerTag().getNamingContainerChildIds().get(clientId).getClass().getName() throw new JspException(new IllegalStateException(msg)); } else { getParentNamingContainerTag().getNamingContainerChildIds().put(clientId, this);