File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem with html:link paramName and paramId

 
Pramod Kumar
Ranch Hand
Posts: 40
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a HashSet(users) in the session scope.

I need to generate hyperlinks dynamically with the parameters in the HashSet

following is the code..



<logic:iterate name="users" id="usr" scope="session">

<html:link action="/updateuser.do" paramId="user" paramName="user" paramProperty="userId"><bean:write name="usr" property="userId"/></html:link>
</logic:iterate>


I am able to print the userId and the same value is not generating to the parameter.


How can I bulid the hyperlink dynamically?

Thanks
 
Ranjit Gopinathan
Ranch Hand
Posts: 46
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
<logic:iterate name="users" id="usr" scope="session">

<html:link action="/updateuser.do" paramId="user" paramName="usr" paramProperty="userId"><bean:write name="usr" property="userId"/></html:link>
</logic:iterate>

paramName should be "usr" isnt it??.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic