I'm sorry, but I'm away from my code, so I'll try to reproduce here. The code is pretty simple.
------------------------------------------------------ END OF CODE -------------------------------------------- The JSP: <c:foreach items="somMap" var="mapItem"> <s:url action="Home!loadHome" id="myURL"> <s:param name="someAtt" value="${mapItem.value.id}"/> </s:url> <s:a href="%{myURL}" notifyTopic="myTopic" theme="ajax" target="someDiv">MyLink</s:a> </c:forEach> ================================= The Action public class HomeAction { private String someAtt; public void setSomeAtt(String someAtt){ //Here someAtt has the value of param, and the appended " . this.someAtt = someAtt; } public String loadHome(){ // some stuff here. return "success"; } } ------------------------------------------------------ END OF CODE -------------------------------------------- I think this cover all things. There is some others details, like all of that is inside a TabbedPannel, but I don't think this matters. When I'm debbugging I can see the value in the session represented by this one ${mapItem.value.id} is ok (without " ) but when I got my breakpoint at setSomeAtt the value has the " as its last charracter. So weird, but I'm wondering if no one else have seen this behavior. If this code is not enougth, let me know and tomorrow I can send you the real piece of code. Thanks, Felipe Laurie Harper wrote: > > 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] > > > -- View this message in context: http://www.nabble.com/Problem-with-%3Cs%3Aparam%3E-tag-tf3687887.html#a10313557 Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]