return _simpleName;
}
private void searchForPage(IRequestCycle cycle)
{
INamespace namespace = getNamespace();
if (_log.isDebugEnabled())
_log.debug(ResolverMessages.resolvingPage(_simpleName, namespace));
// Check with and without the leading slash
if (_simpleName.regionMatches(true, 0, WEB_INF, 0, WEB_INF.length())
|| _simpleName.regionMatches(true, 0, WEB_INF, 1, WEB_INF
.length() - 1))
throw new ApplicationRuntimeException(ResolverMessages
.webInfNotAllowed(_simpleName));
String expectedName = _simpleName + ".page";
Resource namespaceLocation = namespace.getSpecificationLocation();
// See if there's a specification file in the same folder
// as the library or application specification that's
// supposed to contain the page.
if (found(namespaceLocation, expectedName)) return;
if (namespace.isApplicationNamespace())
{
// The application namespace gets some extra searching.
if (found(getWebInfAppLocation(), expectedName)) return;