[ http://issues.apache.org/jira/browse/TAPESTRY-558?page=comments#action_12318786 ]
Vjeran Marcinko commented on TAPESTRY-558: ------------------------------------------ Ahhh...My bad then. Dunno what you would want to change Warner? Reporting, or mapping? I agree that maybe eror reporting could be better here, but I certainly wouldn't change the way mapping works if it's standard mapping in "javabeans" world. For eg., I guess Spring maps property names the same way then. It's important to be consistent with others. > <inject> raises duplicate method exception when dealing with 'xName' named > properties > ------------------------------------------------------------------------------------- > > Key: TAPESTRY-558 > URL: http://issues.apache.org/jira/browse/TAPESTRY-558 > Project: Tapestry > Type: Bug > Components: Framework > Versions: 4.0 > Reporter: Vjeran Marcinko > Assignee: Howard M. Lewis Ship > > When I try to inject service into some page/component property by : > <inject property="chartService" object="engine-service:jfreechart"/> > everything works fine since property name is 'chartService', but when I use > properties that start with name that has only first letter in lower case, > such as 'jFreeChartService': > <inject property="jFreeChartService" object="engine-service:jfreechart"/> > it raises exception: > org.apache.hivemind.ApplicationRuntimeException > Unable to add method org.apache.tapestry.engine.IEngineService > getJFreeChartService() to class $JFreeChartImage_17: duplicate method: > getJFreeChartService > It happens for all getters that look like: > getJChart(); > getDService(); > .... -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
