On Wed, Nov 4, 2009 at 3:39 PM, Ken Burcham <[email protected]> wrote: >... http://localhost:8888/gradapp/application/app1.edit.html > > works fine in giving me the edit page for app1 application, using the script > from the apps/gradapp/application/edit.esp > > but > > http://localhost:8888/gradapp/application/*.edit.html > > does not work, just gives me the resource dumped: > > Resource dumped by HtmlRendererServlet...
By default the "star resource" does not have a resource type, so you get the default rendering. To give it a specific resource type based on its path, you can install and start the samples/path-based-rtp bundle. See the comments in [1] for a description of how that works, and of its configuration. You can use the http://localhost:8888/system/console/requests page to get more insight on how requests are processed, resource types, etc. Vidar's suggestion shows a different way of achieving this. -Bertrand [1] http://svn.apache.org/repos/asf/sling/trunk/samples/path-based-rtp/src/main/java/org/apache/sling/samples/pathbasedrtp/DefaultResourceTypeProvider.java
