• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

url tag more parameters

 
Ranch Hand
Posts: 110
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ?

 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic