You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Gabriel Zimmerman (JIRA)" <ji...@apache.org> on 2006/06/12 04:43:16 UTC

[jira] Created: (WW-1339) Deprecate '#' in conjunction with adding

Deprecate '#'  in conjunction with adding 
------------------------------------------

         Key: WW-1339
         URL: http://issues.apache.org/struts/browse/WW-1339
     Project: Struts Action 2
        Type: Improvement

    Versions: WW 2.2.2    
    Reporter: Gabriel Zimmerman



Currently the OgnlContext map is used to store variables both by users and by XWork / Webwork itself. It is accessed by putting a # sign before the ognl string to access it. I propose changing the set tag to use the new set method on the value stack so that the # is no longer needed thus cleaning up the expression language for the everyday user. 

In order for this to be fixed XW-329 (http://jira.opensymphony.com/browse/XW-329) needs to be completed. 

I believe this would be good to have in 2.0, because it is relatively simple to implement and would simplify the EL for new users. 

Also, it could be done in such a way that it was backwards compatible with WW 2.2 #... would check the stack first, if not there then check the context map.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Resolved: (WW-1339) Deprecate '#' in conjunction with adding

Posted by "Musachy Barroso (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/struts/browse/WW-1339?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Musachy Barroso resolved WW-1339.
---------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: Future)
                   2.0.0

Not sure when this was fixed, probably a long time ago.

> Deprecate '#'  in conjunction with adding
> -----------------------------------------
>
>                 Key: WW-1339
>                 URL: https://issues.apache.org/struts/browse/WW-1339
>             Project: Struts 2
>          Issue Type: Improvement
>    Affects Versions: WW 2.2.2, Future
>            Reporter: Gabriel Zimmerman
>             Fix For: 2.0.0
>
>
> Currently the OgnlContext map is used to store variables both by users and by XWork / Webwork itself. It is accessed by putting a # sign before the ognl string to access it. I propose changing the set tag to use the new set method on the value stack so that the # is no longer needed thus cleaning up the expression language for the everyday user. 
> In order for this to be fixed XW-329 (http://jira.opensymphony.com/browse/XW-329) needs to be completed. 
> I believe this would be good to have in 2.0, because it is relatively simple to implement and would simplify the EL for new users. 
> Also, it could be done in such a way that it was backwards compatible with WW 2.2 #... would check the stack first, if not there then check the context map.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.