@(field: play.data.Form.Field, 
	opts: java.util.Map[Object, String], 
	args: (Symbol,Any)*)(implicit handler: helper.FieldConstructor, lang: play.api.i18n.Lang)

@import helper._ 

@input(field, args:_*) { (id, name, value, htmlArgs) =>
    @defining( if( htmlArgs.contains('multiple) ) "%s[]".format(name) else name ) { selectName =>
        <select id="@id" name="@selectName" @toHtmlArgs(htmlArgs)>
            @args.toMap.get('_default).map { defaultValue =>
                <option class="blank" value="">@defaultValue</option>
            }
			
			@for((k,v) <- opts) {
                <option value="@k" @if(field.value != null && k.equals(field.value)){selected}>@Messages(v)</option>			
			}
        </select>
    }
}
@(field: play.data.Form.Field, 
	opts: java.util.Map[Object, String], 
	args: (Symbol,Any)*)(implicit handler: helper.FieldConstructor, lang: play.api.i18n.Lang)

@import collection.JavaConversions._
@import helper._ 

@input(field, args:_*) { (id, name, value, htmlArgs) =>
    @defining( if( htmlArgs.contains('multiple) ) "%s[]".format(name) else name ) { selectName =>
        <select id="@id" name="@selectName" @toHtmlArgs(htmlArgs)>
            @args.toMap.get('_default).map { defaultValue =>
                <option class="blank" value="">@defaultValue</option>
            }
			
			@for((k,v) <- opts) {
                <option value="@k" @if(field.value != null && k.equals(field.value)){selected}>@Messages(v)</option>			
			}
        </select>
    }
}
Fix compilation error: add import
Fix compilation error: add import

Error was:
project-code/app/play/utils/meta/form/selectWidget.scala.html:15:
value filter is not a member of java.util.Map[Object,String]
