Dear Wiki user, You have subscribed to a wiki page or wiki category on "Tapestry Wiki" for change notification.
The following page has been changed by MarkReynolds: http://wiki.apache.org/tapestry/PagesAndComponentsInWEB-INF ------------------------------------------------------------------------------ The following does '''not''' work for Home.[page|html] which has to reside directly under WEB-INF! '''Also note:''' - This will not work correctly for components until the fix for [http://issues.apache.org/jira/browse/TAPESTRY-894 TAPESTRY-894] is released. + This did not work correctly for components until the fix for [http://issues.apache.org/jira/browse/TAPESTRY-894 TAPESTRY-894] was released in a 4.1.1-SNAPSHOT on Dec 10, 2006. The class: {{{ @@ -47, +47 @@ if (namespace.isApplicationNamespace()) { Resource componentResource = componentsBaseLocation.getRelativeResource(type + ".jwc"); if (componentResource != null) + try { - return cycle.getInfrastructure().getSpecificationSource().getComponentSpecification(componentResource); + return cycle.getInfrastructure().getSpecificationSource().getComponentSpecification(componentResource); + } catch (ApplicationRuntimeException e) { + return null; + } } return null; } --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
