<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:p="http://www.springframework.org/schema/p" xsi:schemaLocation="http://www.springframework.org/schema/beans         http://www.springframework.org/schema/beans/spring-beans-2.0.xsd">
 <bean parent="Uif-VerticalFieldGroup" p:label="Attachment File">
   <property name="items">
     <list>
       <bean parent="Uif-DataField" p:fieldLabel.render="false" p:propertyName="${fileName}" />
       <bean parent="Uif-PrimaryActionButton-Small" p:methodToCall="downloadDataObjectAttachment"
             p:ajaxSubmit="false" p:actionLabel="download attachment" p:title="download attachment"
             p:disableBlocking="true"/>
     </list>
   </property>
   <property name="propertyReplacers">
     <list>
       <bean parent="Uif-ConditionalBeanPropertyReplacer" p:propertyName="items" p:condition="@{#dp.${fileName} eq null}">
         <property name="replacement">
           <list>
             <bean parent="Uif-InputField" p:propertyName="${attachmentFile}" p:fieldLabel.render="false">
               <property name="control">
                 <bean parent="Uif-FileControl" p:size="50"/>
               </property>
             </bean>
           </list>
         </property>
       </bean>
     </list>
   </property>
 </bean>
</beans>