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