I am trying to change some imageAnchors to buttons. The imageAnchors
look like this:
 
          <netui:imageAnchor action="addItemToCart" border="0"
src="${pageContext.request.contextPath}/images/button_add_to_cart.gif">
            <netui:parameter name="workingItemId"
value="${pageInput.item.itemId}"/>
          </netui:imageAnchor>

The only way I could figure out how to do this without creating
javascript action was like so:
 
          <netui:form action="addItemToCart" method="get">
          <input type="hidden" name="workingItemId"
value="${pageInput.item.itemId}"/>
          <netui:button value="Add to Cart" />
          </netui:form>

Are there any tricks that might make this easier?
 
Scott Semyan

Reply via email to