click-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bob Schellink (Commented) (JIRA)" <>
Subject [jira] [Commented] (CLK-786) <pages package="...." should also recursively search for Page classes
Date Thu, 15 Mar 2012 06:13:46 GMT


Bob Schellink commented on CLK-786:

Hi, Click already supports this option,   <pages package=""/>, but instead
of scanning classes it scans the templates. It is much easier to scan for templates as there
is a standard way to do this. Scanning classes in a J2EE server is hard and some servers implement
their own file systems (JBoss 6) which means one has to implement server specific ways of
scanning the classpath.

What is the use case for this feature?
> <pages package="...." should also recursively search for Page classes
> ---------------------------------------------------------------------
>                 Key: CLK-786
>                 URL:
>             Project: Click
>          Issue Type: Improvement
>          Components: core
>    Affects Versions: 3.0.0
>            Reporter: Matt Skinner
>              Labels: features
> I would like to have the configuration option :
> <pages package="some.package.pages" />
> be able to have an option (or by default) to search for pages recursively through the
package structure. I believe the Spring framework does this with its autowiring so I think
it would be beneficial to also have this in click. 

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message