I tried that but the netui:hidden tag wants a datasource that is a form
bean and I don't have one.
-----Original Message-----
From: Eddie O'Neil
Sent: Wednesday, April 13, 2005 5:08 PM
To: Beehive Developers
Subject: Re: Changing from imageAnchor to button
Yeah, the only tweak I'd make is to use the <netui:hidden> tag to do
the same thing. But, with forms, that's the right way to do it.
Eddie
Scott Semyan wrote:
> 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
>