Re: html:image and IE

2005-05-11 Thread Dakota Jack
David, could you please indicate which docs you are talking about and give a reference? Thanks. On 5/11/05, Durham David R Jr Ctr 805 CSPTS/SCE <[EMAIL PROTECTED]> wrote: > > > > > > From the docs: > > A way of retrieving these values through a form bean is to define > getX(), getY(),

Re: html:image and IE

2005-05-11 Thread Dakota Jack
Unless Dave is right, Chad,which I don't think he is, the difficulty is that you get as a name/value pair in the request parameters [property].x=[some integer] and [property].y=[some integer] so that the task becomes getting the name which is the "property" in [property] rather than the value, i.e.

Re: html:image and IE

2005-05-11 Thread Dakota Jack
I may be wrong, Dave, but I think you are going to get an integer value for getX and getY and not "Update". Isn't that right? That is why the solutions have to be a little more detailed and why we got saddled with the LookupDispatchAction and other heavy solutions. Once again, I think the option

RE: html:image and IE

2005-05-11 Thread Durham David R Jr Ctr 805 CSPTS/SCE
> > >From the docs: A way of retrieving these values through a form bean is to define getX(), getY(), setX(), and setY() methods, and specify your property as a blank string (property=""). So, you could just do: In a JSP: Then in your action: if (((DynaBean)f

Re: html:image and IE

2005-05-11 Thread Dakota Jack
> > > > > >From: "Chad Rosen" <[EMAIL PROTECTED]> > >Reply-To: "Struts Users Mailing List" > >To: user@struts.apache.org > >Subject: html:image and IE > >Date: Mon, 09 May 2005 19:20:47 -0400 > > > >Hi all.. > &g

Re: html:image and IE

2005-05-09 Thread Dakota Jack
The IE behavior you discuss is the normal behavior. That is the "trick" with multiple submits and . For various solutions you can see LookupDispatchAction in Struts (which is really heavy) or a bevy of choices at www.michaelmcgrady.com/button/ Peace On 5/9/05, Chad Rosen <[EMAIL PROTECTED]> wro

RE: html:image and IE

2005-05-09 Thread Chad Rosen
"Chad Rosen" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" To: user@struts.apache.org Subject: html:image and IE Date: Mon, 09 May 2005 19:20:47 -0400 Hi all.. I have a shopping cart page with two submit buttons that we've changed to html:image tags. They

html:image and IE

2005-05-09 Thread Chad Rosen
Hi all.. I have a shopping cart page with two submit buttons that we've changed to html:image tags. They look like this.. and In my action I'm checking to see if the user has pressed the updateCart image. If they did I return them back to the cart. if(request.getParameter("updateCart") != n