String pageRelativeComponentPath = Strings.afterFirstPathComponent(componentPath,
Component.PATH_SEPARATOR);
Component component = null;
if (page instanceof WebPage && !"IResourceListener".equals(interfaceName))
{
ComponentAndInterface cai = ((WebPage)page).getUrlCompressor()
.getComponentAndInterfaceForUID(pageRelativeComponentPath);
if (cai != null)
{
interfaceName = cai.getInterfaceName();
component = cai.getComponent();
}
}
requestParameters.setInterfaceName(interfaceName);