You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by "Byron Foster (JIRA)" <de...@velocity.apache.org> on 2008/12/02 10:30:44 UTC

[jira] Created: (VELOCITY-650) Context should implement java.util.Map

Context should implement java.util.Map
--------------------------------------

                 Key: VELOCITY-650
                 URL: https://issues.apache.org/jira/browse/VELOCITY-650
             Project: Velocity
          Issue Type: Improvement
          Components: Engine
    Affects Versions: 1.7
            Reporter: Byron Foster


The VelocityContext object should implement the java.util.Map interface.



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


[jira] Closed: (VELOCITY-650) Context should implement java.util.Map

Posted by "Byron Foster (JIRA)" <de...@velocity.apache.org>.
     [ https://issues.apache.org/jira/browse/VELOCITY-650?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Byron Foster closed VELOCITY-650.
---------------------------------

    Resolution: Won't Fix

> Context should implement java.util.Map
> --------------------------------------
>
>                 Key: VELOCITY-650
>                 URL: https://issues.apache.org/jira/browse/VELOCITY-650
>             Project: Velocity
>          Issue Type: Improvement
>          Components: Engine
>    Affects Versions: 2.0
>            Reporter: Byron Foster
>
> The VelocityContext object should implement the java.util.Map interface.

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


[jira] Updated: (VELOCITY-650) Context should implement java.util.Map

Posted by "Byron Foster (JIRA)" <de...@velocity.apache.org>.
     [ https://issues.apache.org/jira/browse/VELOCITY-650?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Byron Foster updated VELOCITY-650:
----------------------------------

    Affects Version/s:     (was: 1.7)
                       2.0

> Context should implement java.util.Map
> --------------------------------------
>
>                 Key: VELOCITY-650
>                 URL: https://issues.apache.org/jira/browse/VELOCITY-650
>             Project: Velocity
>          Issue Type: Improvement
>          Components: Engine
>    Affects Versions: 2.0
>            Reporter: Byron Foster
>
> The VelocityContext object should implement the java.util.Map interface.

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


[jira] Commented: (VELOCITY-650) Context should implement java.util.Map

Posted by "Byron Foster (JIRA)" <de...@velocity.apache.org>.
    [ https://issues.apache.org/jira/browse/VELOCITY-650?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12652560#action_12652560 ] 

Byron Foster commented on VELOCITY-650:
---------------------------------------

After looking at it a little more I'm not sure how much utility the Map interface will add.  There is only one place I'm aware of where you can get access to the Context and that is from the event handlers, and at that point the original context is wrapped.

> Context should implement java.util.Map
> --------------------------------------
>
>                 Key: VELOCITY-650
>                 URL: https://issues.apache.org/jira/browse/VELOCITY-650
>             Project: Velocity
>          Issue Type: Improvement
>          Components: Engine
>    Affects Versions: 2.0
>            Reporter: Byron Foster
>
> The VelocityContext object should implement the java.util.Map interface.

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


[jira] Commented: (VELOCITY-650) Context should implement java.util.Map

Posted by "Will Glass-Husain (JIRA)" <de...@velocity.apache.org>.
    [ https://issues.apache.org/jira/browse/VELOCITY-650?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12652400#action_12652400 ] 

Will Glass-Husain commented on VELOCITY-650:
--------------------------------------------

Did you mean the VelocityContext class or the Context interface?

The interface should not change in the 1.x series for compatibility reasons.

> Context should implement java.util.Map
> --------------------------------------
>
>                 Key: VELOCITY-650
>                 URL: https://issues.apache.org/jira/browse/VELOCITY-650
>             Project: Velocity
>          Issue Type: Improvement
>          Components: Engine
>    Affects Versions: 1.7
>            Reporter: Byron Foster
>
> The VelocityContext object should implement the java.util.Map interface.

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


[jira] Commented: (VELOCITY-650) Context should implement java.util.Map

Posted by "Nathan Bubna (JIRA)" <de...@velocity.apache.org>.
    [ https://issues.apache.org/jira/browse/VELOCITY-650?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12652581#action_12652581 ] 

Nathan Bubna commented on VELOCITY-650:
---------------------------------------

Yeah, i never had any need for it to be a Map.

> Context should implement java.util.Map
> --------------------------------------
>
>                 Key: VELOCITY-650
>                 URL: https://issues.apache.org/jira/browse/VELOCITY-650
>             Project: Velocity
>          Issue Type: Improvement
>          Components: Engine
>    Affects Versions: 2.0
>            Reporter: Byron Foster
>
> The VelocityContext object should implement the java.util.Map interface.

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