Mick Knutson wrote the following on 7/6/2005 6:42 PM:


                <html:link forward="historicalTransactions"
                    paramId="commonEnrollmentID"
                    paramName="consumerValidatorForm"
                    paramProperty="commonEnrollmentID"
                >
                    <bean:message key="label.menu.historicalTrx" />
                </html:link>


Then what I get is "http://URL?commonEnrollmentID=12345";

What I need to be generated is:
"http://URL?action=historical&commonEnrollmentID=12345";

Because historical is an action method on my LookupDispatchAction that
needs to be called when I click this link.
Thanks in advance for your help.

Been a while since I used the html:link tag, but if you decide to use JSTL it would be...

<c:url var="url" scope="page" value="/yourAction.do">
   <c:param name="action" value="historicalTransactions"/>
   <c:param name="commonEnrollmentID" value="12345"/>
</c:url>
<a href="${url}">Historical Transactions</a>


More than likely this line would be dynamic for the id:

<c:param name="commonEnrollmentID" value="${someID}"/>

--
Rick

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

Reply via email to