[
https://issues.apache.org/jira/browse/CLK-789?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Naoki Takezoe resolved CLK-789.
-------------------------------
Resolution: Fixed
Fixed in the trunk.
> SpringClickServlet injection fails if "Page" class name starts with two or
> more upper case letters
> --------------------------------------------------------------------------------------------------
>
> Key: CLK-789
> URL: https://issues.apache.org/jira/browse/CLK-789
> Project: Click
> Issue Type: Bug
> Components: core
> Affects Versions: 2.3.0
> Environment: Apache Tomcat 6.0.32 or 7.0.16. JRE 1.6.0_29 on Linux.
> Spring Framework 3.0.5.
> Reporter: Andrea Cozzolino
> Assignee: Naoki Takezoe
> Priority: Minor
> Labels: spring
> Fix For: 2.3.1
>
>
> I am using SpringClickServlet to integrate Click with Spring.
> Spring injection in "Page" classes works only if the class name starts with
> exactly one upper case letter.
> If I have a class "ABTestPage" (that extends org.apache.click.Page and that
> is a @Component) when I try to use it, any @Resource is "null". If I rename
> the class to "AbTestPage", any @Resource is correctly injected.
> The following simple project demonstrates the problem:
> https://bitbucket.org/andcoz/clickspringuppercasebug/
--
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