return event.getRequestContext().getResponse().encodeURL(url);
}
protected <T> String getUrlVal(String uriTemplate, final String suffix, final RenderingEvent<T> event)
{
ValueReader reader = new ValueReader()
{
@Override
public Object getValue( String propertyName )
{
Property<T> property = event.getSelector().getProperty( event.getValueType(), propertyName );