[ http://issues.apache.org/jira/browse/TAPESTRY-558?page=comments#action_12318787 ]
Warner Onstine commented on TAPESTRY-558: ----------------------------------------- I would recommend changing the mapping first, if it isn't standard java bean (I'm not sure how it could be since there isn't a spec on IoC/Dep Injection). If it is standard then I would definitely change the error reporting because it makes absolutely no sense the way it is now. > <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]
