mapOptions

targettruejava.lang.StringIndicates the component name to be achieved
texttruejava.lang.BooleanIt indicates the contents of the option to be displayed
valuetruejava.lang.StringIndicates the value of the option to be filled
<html:view>
<html:select name="input2">
<html:option value="">- - -</html:option>
</html:select>

<ajax:function name="dados" url="/app/ajax/list" executeOnDocumentLoad="true">
    <ajax:onSuccess>
         <ajax:mapOptions target="input2" value="id" text="nome" />
    </ajax:onSuccess>
    <ajax:onError>
        
    </ajax:onError>
</ajax:function>
</html:view>