This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

url tag more parameters

 
manu chaox
Ranch Hand
Posts: 110
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have some problem with setting parameters:

<s:url action="xxx!deleteRole" id="url" includeParams="all" >
<s:param name="b" value="%{resource.id}" />
<s:param name="a" value="%{'22'}"/>
</s:url>
">...

in ProjectAction.java, there I have

....
private String a;
private String b;

(with getters, setters)

I am unsuccessful in getting parameters. By this way, I can see only string link with filled parameters during move mouse over link in status web browser.
But parameters aren't set.

I don't know where I make mistake.
Probably, the problem is somewhere in includeParams. I cannot transfer more then one get parameter. (I have tried "all", "get", "none" and always only one has been transfered - only the first.)



Do you have any idea ?

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic