• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

howto set parameter in link ?

 
Nakata kokuyo
Ranch Hand
Posts: 467
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi good day,
i have a link set as below :



what i want is make the link set exactly like value(retList.user_role_id), but it give me error like can't find the bean, is there a way to solved this ?

thank you
 
Merrill Higginson
Ranch Hand
Posts: 4864
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Don't use an EL expression in this case. Just provide the name and property of the scoped variable that contains the parameter value.

<html:link action="userrole_update" paramId="userroleid" paramName="retList" paramProperty="user_role_id">

This is all explained in the Struts documentation.
 
Nakata kokuyo
Ranch Hand
Posts: 467
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks Merrill Higginson , really appreciated your help , it rock
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic