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/16 00:23:57 UTC

[jira] Resolved: (VELOCITY-447) add documentation to explain precedence for resolving property

     [ https://issues.apache.org/jira/browse/VELOCITY-447?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nathan Bubna resolved VELOCITY-447.
-----------------------------------

    Resolution: Fixed

The user guide in its current form looks pretty explicit on this matter already.  See user-guide.xml lines 579-601.  I don't see how it would be improved.

> add documentation to explain precedence for resolving property
> --------------------------------------------------------------
>
>                 Key: VELOCITY-447
>                 URL: https://issues.apache.org/jira/browse/VELOCITY-447
>             Project: Velocity
>          Issue Type: Improvement
>          Components: Documentation
>         Environment: document
>            Reporter: Jian Chen
>            Assignee: Henning Schmiedehausen
>            Priority: Minor
>             Fix For: 1.6
>
>
> The Velocity user guide is not clear about the precedence for resolving the property of a variable. As in the UberspectImpl.java code, the precedence to resolve a property should be something like in this order:
> getbar()
> getBar()
> get("bar")
> isBar()
> This information will be very useful to the user. I suggest that this is added to the user guide under the "Properties" section.

-- 
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