@Retention(value=RUNTIME) @Target(value={FIELD,METHOD}) public @interface UiSpringLookup
Because Spring's s:options
tag takes a JSP EL expression, not a 'Spring beans aware'
expression, this annotation is best used in conjunction with
InternalResourceViewResolver.setExposeContextBeansAsAttributes
(available in Spring
2.5+). You may also need to set springJspExpressionSupport
to true
in
your web.xml.
public abstract String value
org.springframework.web.servlet.tags.form.OptionsTag.setItems
public abstract String itemValue
org.springframework.web.servlet.tags.form.OptionsTag.setItemValue
public abstract String itemLabel
org.springframework.web.servlet.tags.form.OptionsTag.setItemLabel
Copyright © 2015. All Rights Reserved.