refactored altSyntax expression code
------------------------------------

                 Key: WW-2824
                 URL: https://issues.apache.org/struts/browse/WW-2824
             Project: Struts 2
          Issue Type: Task
          Components: Expression Language
    Affects Versions: 2.1.3
         Environment: Tested in S2.1.3
            Reporter: Gabriel Belingueres
            Priority: Minor
         Attachments: altSyntax.patch

I did some basic refactorings to the code that tests things like 
stripping/adding the "%{" and "}" to the expressions, as suggested in 
https://issues.apache.org/struts/browse/WW-2811

Now all the "%{" and "}" handling are confined inside the Component class.

Note that in class StrutsBodyTagSupport.java I changed the translateVariables 
method implementation for one in TextParseUtil. I *think* they do the same 
thing (all S2 Core tests passed but this may need more testing.)

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

Reply via email to