I added these three lines to the LinkTag.java release() method and the parameter doesn't show up on the second link anymore. Does this problem occur on other App servers?
 
        paramId = null;
        paramScope= null;
        paramProperty = null;
-----Original Message-----
From: Deadman, Hal
Sent: Wednesday, February 07, 2001 7:16 PM
To: Struts List
Subject: link tag parameters problem

I have a two Struts link tags on a page. The first one sets a parameter but the parameter shows up on both links instead of just the first one.  I am using Weblogic 6.0. Should the param* attributes be getting reset in the release() method of the link tag? When is the release method on a tag called?  
 
Thanks, Hal
 
 
<html:link paramId="orderId" paramName="order" paramProperty="orderId" page="/viewOrderDetail.do">
<%= "Order No. " + order.getOrderId()%>
</html:link>
 
<html:link page="/createOrder.do"><bean:message key="link.createorder"/></html:link>

Reply via email to