<countries:select/> | Simple select:
|
<fmt:setBundle basename="net.sf.oness.common.webapp.taglib.countries.Countries" var="bundle"/>
<countries:select bundle="${bundle}"/> |
Select using fmt:setBundle:
|
<fmt:bundle basename="net.sf.oness.common.webapp.taglib.countries.Countries">
<countries:select/>
</fmt:bundle>
|
Select using fmt:bundle:
|
<c:set var="selected" value="ES"/>
<countries:select selectedKey="${selected}"/>
|
Simple select with Spain selected using expression:
|
<c:set var="selected" value="ES"/>
<countries:select>
<option value="">None</option>
</countries:select>
|
Simple select with added options:
|