On Tue, 21 May 2002 14:35, you wrote:
> You will need to extend the html:link functionality by writing your own
> custom taglib that accepts a collection or map of some sort.  Allowing it
> to iterate and append your name=value pairs to the end of the link.

This is actually already supported with Struts.

For example:
<html:link forward="nextPage" name="formBean" property="linkParams">

In in your form bean declare linkParams as a Map. ie:

        public Map getLinkParams() {
                Map map = new HashMap();
                map.put("id", "5");
                map.put("name", "world");
                return map;
        }

HTH,

-- 
Victor Hadianto

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to