// If no attribute definition, create untyped one, and set role.
Object attributeValue = nestedTag.getList();
if( nestedTag.getRole() != null )
{
AttributeDefinition def = new UntyppedAttribute( attributeValue );
def.setRole(nestedTag.getRole());
attributeValue = def;
} // end if
// Check if a name is defined
if( nestedTag.getName() == null)
throw new JspException( "Error - PutList : attribute name is not defined. It is mandatory as the list is added to a 'definition'." );