<pages package="...." should also recursively search for Page classes --------------------------------------------------------------------- Key: CLK-786 URL: https://issues.apache.org/jira/browse/CLK-786 Project: Click Issue Type: Improvement Components: core Affects Versions: 3.0.0 Reporter: Matt Skinner I would like to have the configuration option : {noformat} <pages package="some.package.pages" /> {noformat} 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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[ https://issues.apache.org/jira/browse/CLK-786?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Matt Skinner updated CLK-786: ----------------------------- Description: 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. was: I would like to have the configuration option : {noformat} <pages package="some.package.pages" /> {noformat} 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. > <pages package="...." should also recursively search for Page classes > --------------------------------------------------------------------- > > Key: CLK-786 > URL: https://issues.apache.org/jira/browse/CLK-786 > 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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[ https://issues.apache.org/jira/browse/CLK-786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13229932#comment-13229932 ] Bob Schellink commented on CLK-786: ----------------------------------- Hi, Click already supports this option, <pages package="com.mycorp.page"/>, 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: https://issues.apache.org/jira/browse/CLK-786 > 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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira