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(),
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.
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
>
>
>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
>
>
>
>
> >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
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
"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
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
8 matches
Mail list logo