Not at this time. I truly believe even the most trivial component will eventually have some internal state, methods, or other resources that require a class.
Tapestry 5 is much less ambiguous than Tapestry 4; it locates all component classes at application startup (*). Only the presence of a .class file is meaningful; it doesn't scan for .html files. It is probably possible to override this behavior by replacing a few of the internal Tapestry services. (*) A rescan takes place if any loaded class file changes. On 6/5/07, Ben Tomasini <[EMAIL PROTECTED]> wrote:
In Tap5, do template components require a Java class? I am working on a Layout.html component whose Layout.java is empty. Is there a way to omit the Layout.java class and have tapestry pickup the component? Ben
-- Howard M. Lewis Ship TWD Consulting, Inc. Independent J2EE / Open-Source Java Consultant Creator and PMC Chair, Apache Tapestry Creator, Apache HiveMind Professional Tapestry training, mentoring, support and project work. http://howardlewisship.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]