click-dev mailing list archives

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

    [ 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

        

Mime
View raw message