You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@shale.apache.org by Apache Wiki <wi...@apache.org> on 2007/02/27 17:23:59 UTC

[Shale Wiki] Update of "ReusableClayJars" by RyanWynn

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Shale Wiki" for change notification.

The following page has been changed by RyanWynn:
http://wiki.apache.org/shale/ReusableClayJars

The comment on the change is:
removed extra title

------------------------------------------------------------------------------
- ReusableClayJars
- 
  ClayAndTiles shows how Clays supports virtual entry points to pages in the form of full XML views.  Full XML views allow you to reference a clay component which in turn references a physical file.  This indirection is a nice way to abstract resources.  You can use a simple name like /foo.xml to represent something that is really living in a location on the classpath,  classpath*:org/bar/baz/foo.html, or under the web context, /pages/bar/baz/foo.html.
  
  Unfortunately, if you like using the Tapestry-like full HTML views then you will soon find that mixing full HTML and full XML entry points can be troublesome.  This example shows how one could package a Login Module as a self contained jar file using Clay full HTML views only.  Then it shows how one could easily drop this jar into any JSF web application.