public void doTag(XMLOutput output) throws MissingAttributeException, JellyTagException {
Map attributes = getAttributes();
Object bean = attributes.remove( "object" );
if ( bean == null ) {
// lets try find a parent bean
BeanSource tag = (BeanSource) findAncestorWithClass(BeanSource.class);
if (tag != null) {
try {
bean = tag.getBean();
} catch (JellyException e) {
throw new JellyTagException(e);
}
}
if (bean == null) {