findAncestorWithClass(this, ELContextTag.class);
Application application =
FacesContext.getCurrentInstance().getApplication();
SetActionListener listener = new SetActionListener();
if (_from != null)
{
if (TagUtils.isValueReference(_from))
{
String from = _from;
if (parentELContext != null)
from = parentELContext.transformExpression(from);
listener.setValueBinding("from",
application.createValueBinding(from));
}
else
{
listener.setFrom(_from);
}
if (TagUtils.isValueReference(_to))
{
String to = _to;
if (parentELContext != null)
to = parentELContext.transformExpression(to);
listener.setValueBinding("to",
application.createValueBinding(to));
}
else
{
throw new JspException(_LOG.getMessage(