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
The whole point is not to use the form, I think, Chad. By the way, all the browsers return the keys with .x and .y, even though some also return the variables without the .x and .y. On 5/9/05, Chad Rosen <[EMAIL PROTECTED]> wrote: > Ok I'm going to reply to myself :) > > Adding this check solved

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
Ok I'm going to reply to myself :) Adding this check solved the problem for IE.. request.getParameter("updateCart.x") != null However, I'd prefer to use the form. Is this the preferred way? Will this catch both the IE and Firefox submissions? Or should I do this? From: "Chad Rosen" <[EMAIL PRO