public class CountryTag
extends javax.servlet.jsp.tagext.TagSupport
NOTE - This tag requires a Java2 (JDK 1.2 or later) platform.
| Modifier and Type | Class and Description |
|---|---|
class |
CountryTag.LabelValueComparator
Class to compare LabelValues using their labels with
locale-sensitive behaviour.
|
| Constructor and Description |
|---|
CountryTag() |
| Modifier and Type | Method and Description |
|---|---|
protected List<org.appfuse.model.LabelValue> |
buildCountryList(Locale locale)
Build a List of LabelValues for all the available countries.
|
int |
doStartTag()
Process the start of this tag.
|
void |
setDefault(String selected) |
void |
setName(String name) |
void |
setPrompt(String prompt) |
void |
setToScope(String scope) |
public void setName(String name)
public void setPrompt(String prompt)
public void setDefault(String selected)
public void setToScope(String scope)
public int doStartTag()
throws javax.servlet.jsp.JspException
doStartTag in interface javax.servlet.jsp.tagext.TagdoStartTag in class javax.servlet.jsp.tagext.TagSupportjavax.servlet.jsp.JspException - if a JSP exception has occurredTag.doStartTag()protected List<org.appfuse.model.LabelValue> buildCountryList(Locale locale)
locale - The Locale used to localize the country names.Copyright © 2003-2012. All Rights Reserved.