if (endx < 0) throw new TapestryException(ServicesMessages
.unclosedAttributeExpression(expression), location, null);
String expansion = expression.substring(expansionx + 2, endx);
final Binding binding = bindingSource.newBinding("attribute expansion", resources, resources,
BindingConstants.PROP, expansion, location);
final StringProvider provider = new StringProvider()
{
public String provideString()
{
try
{
Object raw = binding.get();
return typeCoercer.coerce(raw, String.class);
} catch (Exception ex)
{
throw new TapestryException(ex.getMessage(), location, ex);