You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by "Nathan Bubna (JIRA)" <de...@velocity.apache.org> on 2008/08/21 01:22:44 UTC
[jira] Resolved: (VELOCITY-592) Valid getter format not recognized
by Engine when attempting to retrieve value.
[ https://issues.apache.org/jira/browse/VELOCITY-592?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Nathan Bubna resolved VELOCITY-592.
-----------------------------------
Resolution: Cannot Reproduce
This is either a duplicate of VELOCITY-544 (just fixed in HEAD), out-dated, or else is a property lookup precedence issue (i.e. if there is a get("property") method, it will take precedence over isProperty().
If it's not one of those, well, this works for me...
> Valid getter format not recognized by Engine when attempting to retrieve value.
> -------------------------------------------------------------------------------
>
> Key: VELOCITY-592
> URL: https://issues.apache.org/jira/browse/VELOCITY-592
> Project: Velocity
> Issue Type: Bug
> Affects Versions: 1.5
> Environment: Windows XP SP2, Java 1.6.0_05
> Reporter: Ivan Lazarte
>
> I was using an class I had created in Eclipse to be parsed into a template Velocity.
> In eclipse I generated getters and setters for my properties, one of which was a boolean variable named "isDateImportNeeded"
> The corresponding getter generated was named "isDateImportNeeded", however Velocity was unable to retrieve this value in the template because it can only use getters of the form "getIsDateImportNeeded"
> Both are valid JavaBeans specification names, so ideally Velocity would support both versions.
> Thanks!
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@velocity.apache.org
For additional commands, e-mail: dev-help@velocity.apache.org