Hi I was looking through the recipe you added to the wiki(http://wiki.apache.org/shale/ReusableClayJars) Ryan, and I noticed a small (but significant) typo.
In the Login class you return "loginmodule.loggedin" when login is ok. Then further down(11) you describe a navigation rule that has a navigation-case with frome-outcome: loginmodule.done <- This should probably be loginmodule.loggedin? Hermod -----Original Message----- From: Ryan Wynn [mailto:[EMAIL PROTECTED] Sent: Thursday, September 21, 2006 5:20 PM To: user@shale.apache.org Subject: reusable application fragments What I am trying to accomplish with clay is to encapsulate a fragment of an application as a jar file. In the jar file I have clay and faces configuration as well as java classes. The idea is that the client application will include the fragment jar that provides the templates, navigation, and application logic. I want to be able to pass control from the client application to the fragment by referencing a view id with the classpath*:com/bar/foo.html syntax. From this point the fragment jar will reference it's own pages using the same classpath*:com/bar/foo.html syntax for view ids. Then when the fragment is done doing what it needs to do it can forward back to the client using a view id like /done.html. The client would need to implement /done.html so that the transition works. I guess you could think of this as another form of dialog. Is something like classpath*:/com/bar/foo.html supported as a valid view id? I am pretty sure all of this is possible using full xml views, but mixing full xml and html seems to be going against the grain. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * This email with attachments is solely for the use of the individual or entity to whom it is addressed. Please also be aware that the DnB NOR Group cannot accept any payment orders or other legally binding correspondence with customers as a part of an email. This email message has been virus checked by the anti virus programs used in the DnB NOR Group. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *