Felipe Rodrigues wrote:
Hi guys,

Sometimes when I use <s:param tag, the value that I got in my action has a "
appended to it. I can treat that by replacing this, but it is not a good
solution.
Does anybody heard anything about that? I've looked at the source code of param tag in the Struts source code, and
there is a findValue(String expr) that calls ValueStack.findValue(String
expr) as well. What exactly is that expr (to me seems to be the name we
define in param tag). Anyway, I didn't found anything wrong there, but I
don't know how the value get there.

The param tag's 'value' attribute is evaluated -- i.e. the value you supply is treated as an OGNL expression. See the tag syntax documentation for details.

Without seeing an example of this behaviour (i.e. some code/markup that reproduces the problem) it's going to be difficult to diagnose. Can you come up with a minimal test case that demonstrates the behaviour you're describing?

L.

[1] http://struts.apache.org/2.x/docs/tag-syntax.html


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to