aspose file tools*
The moose likes Struts and the fly likes howto set parameter in link ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "howto set parameter in link ?" Watch "howto set parameter in link ?" New topic
Author

howto set parameter in link ?

Nakata kokuyo
Ranch Hand

Joined: Apr 13, 2005
Posts: 438
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

Joined: Feb 15, 2005
Posts: 4864
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.


Merrill
Consultant, Sima Solutions
Nakata kokuyo
Ranch Hand

Joined: Apr 13, 2005
Posts: 438
thanks Merrill Higginson , really appreciated your help , it rock
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: howto set parameter in link ?