I¹m trying to achieve something with OGNL and I¹d like to know if it¹s possible and if so how to do it.
In my action I have an object called surveyResult with setter/getter. I also have another object called questions with setter/getter. The question object has a string element called questionEntity which is in this case equal to surveyResult.initialvalue¹ What I want to be able to do is use the value from the surveyEntity to get a value from the survey object. I¹ve tried <s:property value="%{questionEntity}"/> which just gives me surveyResult.intialvalue¹. Is there any way I can actually call surveyResult.intialvalue and get the stored value in surveyResult? Z.