How to solve the property confusion issue in ValueStack?
--------------------------------------------------------

                 Key: WW-2118
                 URL: https://issues.apache.org/struts/browse/WW-2118
             Project: Struts 2
          Issue Type: Bug
          Components: Value Stack
    Affects Versions: 2.0.9
            Reporter: Torr Liu


Here Struts2 will put some default object into the stack, so it will make the 
object properties confusion: for example, one default object in the value stack 
has one proeprty named "a", and in the customer jsp, it will use the  express 
to access the property "a" from his own customizing object not the system 
object in case of this customizing object in not in the value stack; now it 
will return the value  of the default objects' property value. (which actully 
should return null).

and one more case, if the developer put the Product and User object into the 
stack orderly. and both of these two objects has the same proeprty "name". now 
the developer wants to get the Product 's name value, it's not possible, rigt? 
(the  index access is not ok here for can not get the index of the product 
object.)

For these two issues are very serious if they are happened. Are there any 
solution for these?

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