need help with this please.
From: "fea jabi" <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List"
To: user@struts.apache.org
Subject: javascript help
Date: Mon, 26 Jun 2006 15:20:26 -0400
function setMethodNameCopy() {
var copylbl = '';
var mtd=document.getElementById("mtdID");
mtd.valu
o know which button is pressed. Everything works
great but the html:image is not working.
I am using javascript to set the method value. Being a hidden value I
thought it'll submit the method value to the action.
But getting
javax.servlet.ServletException: Request[/DispatchAction] does no
part from this have other submit buttons in the JSP.
styleClass="submitLink"/>
Using LookupDispatchAction to know which button is pressed. Everything works
great but the html:image is not working.
I am using javascript to set the method value. Being a hidden value I
thought it'll
need hep with this please. Thanks.
From: "fea jabi" <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List"
To: user@struts.apache.org
Subject: html:image with LookupDispatchAction
Date: Tue, 13 Jun 2006 14:48:39 -0400
Trying to use html:image with LookupDisp
Trying to use html:image with LookupDispathAction. how to use this?
Using 1.2.7 of struts
Getting error
Request[/DispatchAction] does not contain handler parameter named 'method'.
This may be caused by whitespace in the label text.
struts-config:
redir
On 10/20/05, Keith Sader <[EMAIL PROTECTED]> wrote:
> After googling some more, it seems as though there's no 'elegant' way
> of doing what seems simple on the surface in terms of swapping two
> tags. I think I'm just going to wind up using the ImageButtonBean
> work-around.
>
> Thanks for the lin
After googling some more, it seems as though there's no 'elegant' way
of doing what seems simple on the surface in terms of swapping two
tags. I think I'm just going to wind up using the ImageButtonBean
work-around.
Thanks for the links!
On 10/20/05, Michael Jouravlev <[EMAIL PROTECTED]> wrote:
http://www.michaelmcgrady.com/button/jsp/dispatch_action.jsp
http://issues.apache.org/bugzilla/attachment.cgi?id=15762
http://struts.sourceforge.net/strutsdialogs/selectaction.html
On 10/20/05, Keith Sader <[EMAIL PROTECTED]> wrote:
> I'm trying to use the LookupDispatchAction with
I'm trying to use the LookupDispatchAction with the html:image tags so
that I can have spiffy looking buttons, however I get this error:
INFO: Exception thrown Request[/Foo/SaveDefaultSettings] does not
contain handler parameter named 'method'. This may be caused by
whitespace in
I've been reading the API docu...trying to figure out how implement LDA
where one of my "submit" buttons is an html:image tag...when I dump the
request for the standard "html:submit" tag, I can see "method=year"
(where property="method" in tag)...of c
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
AIL PROTECTED]> wrote:
> Hi all..
>
> I have a shopping cart page with two submit buttons that we've changed to
> html:image tags.
>
> They look like this..
>
> src="/cerebus/store/images/checkout.gif"/>
>
> and
>
> src="/cerebus/store
"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(&
ROTECTED]
Sent: Tuesday, May 03, 2005 6:22 PM
To: Struts Users Mailing List
Subject: Re: Combining html:image and bean:define
Chris,
Firstly, it looks like hard work using an and then
defining an "onclick" event - why don't you just wrap a link around an
image - i.e. somethin
in the source of the generated HTML,
the JSP tags are not getting converted to the appropriate scripting
variable and are just getting rendered as-is. I checked and the defined
beans are fine, just not when they're used inside the html:image tag.
I gather than I cannot combine JSP tags and Str
schen
Sent: Tuesday, May 03, 2005 4:13 PM
To: Struts Users Mailing List
Subject: Combining html:image and bean:define
Hi all,
I'm using Struts 1.1, and just received from another team updates to a
JSP page that look like this:
However, these aren't working -- in the source of the gene
ered as-is. I checked and the defined
beans are fine, just not when they're used inside the html:image tag.
I gather than I cannot combine JSP tags and Struts tags, but I don't see
how I can avoid it in this situation: we need the localization elements,
and we also need the specific vari
n T Johansen <[EMAIL PROTECTED]>
14.12.2004 12:50
Please respond to
"Struts Users Mailing List" <[EMAIL PROTECTED]>
To
Struts Users Mailing List <[EMAIL PROTECTED]>
cc
Subject
html:image?
I have an image in my jsp page, that acts like a button when I click on
the image,
e respond to
"Struts Users Mailing List" <[EMAIL PROTECTED]>
To
Struts Users Mailing List <[EMAIL PROTECTED]>
cc
Subject
html:image?
I have an image in my jsp page, that acts like a button when I click on
the image, why is
that? It creates a request to my action obj
I have an image in my jsp page, that acts like a button when I click on the image, why is
that? It creates a request to my action object, but this is not what I want... Clicking on
the image, should do nothing.
How do I fix this?
The code in my jsp looks like this..:
Regards,
BTJ
--
---
El lun, 13 de 12 de 2004 a las 20:44, Tito Eritja escribiÃ:
> Hi everybody.
>
> I have a problem with tag
>
> I'm using a ImageButton bean like that:
>
> public final class ImageButtonBean implements Serializable {
> private String x = null;
> private String y = null;
>
> public St
You need to a subclass action and search the request parameter for "["
"]" find the index and do things this way, at least thats what i've
done in the past.
Mark
On 13 Dec 2004 20:55:25 +0100, Tito Eritja <[EMAIL PROTECTED]> wrote:
> El lun, 13 de 12 de 2004 a las 20:44, Tito Eritja escribió:
>
Hi everybody.
I have a problem with tag
I'm using a ImageButton bean like that:
public final class ImageButtonBean implements Serializable {
private String x = null;
private String y = null;
public String getX() {
return (this.x);
}
public void setX(String x) {
The way I have done this is:
">
and it works fine for my purposes.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Tito Eritja wrote:
How to use some bean value within a html:Image src?
I've tried something like but
it doesn't work, there's something like paramName and paramProperty of
html:link tag for html:Image?
thanks in advance
tito
Why not use EL?! Then you could type:
You just have
How to use some bean value within a html:Image src?
I've tried something like but
it doesn't work, there's something like paramName and paramProperty of
html:link tag for html:Image?
thanks in advance
tito
signature.asc
Description: PGP signature
At 11:53 AM 7/15/2004, you wrote:
It make little sense to do it the Husted way and have multiple image
bean buttons to represent which html:image
was selected. IMHO, that approach is too much like hard coding.
I for one cannot imagine why you would want a button value to be dynamic
other than to
At 02:26 PM 7/15/2004, you wrote:
At 11:53 AM 7/15/2004, you wrote:
How can I pass parameters in a
http://wiki.apache.org/struts/StrutsCatalogMultipleImageButtonsWithNoJavaScript
If you do the coding on this one time, you merely have to add a new button
when you want one in command class ButtonOperation. After a while, you
wi
How can I pass parameters in a
I have four of these that will basically do the same thing, issue a
query. But, the query is parameterized.
It make little sense to do it the Husted way and have multiple image
bean buttons to represent which html:image
was selected. IMHO, that approach is too
--- Darryl Smith <[EMAIL PROTECTED]> wrote:
> Has anyone got the two to work together?
>
In my ApplicationResources.properties file, I have entries such as:
lookupDispatchParameter=action
button.signin=Sign In
button.image.signin=/images/standardButtons2/signin.gif
My header.jsp file makes t
Mailing List
> Subject: LookupDispatchAction and html:image
>
>
> Has anyone got the two to work together?
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additiona
Has anyone got the two to work together?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
This tells you where the problem is. If you look at the code there you
should be able to tell what is going wrong.
At 01:33 PM 7/8/2004, you wrote:
org.apache.commons.beanutils.PropertyUtils.getPropertyDescriptor(PropertyUtils.java:837)
In an attempt to avoid using LookupDispatchAction:
I planned on just using form.getAction(), which works with submit
buttons, but when I try it with an image button its a different story.
Here's my setup
public class CartForm extends ActionForm {
private final Map values = new HashMap();
pr
Sonam Belbase wrote:
Hi,
I am trying to create a button which invokes an action and then shows
the results in a pop-up. How would I do this?
For starters, I tried the following, but html:image cannot have a
target attribute:
Is there anyway to do this using Struts and the openPopUp jsp method
Hi,
I am trying to create a button which invokes an action and then shows
the results in a pop-up. How would I do this?
For starters, I tried the following, but html:image cannot have a
target attribute:
Is there anyway to do this using Struts and the openPopUp jsp method?
Any help would be
42 matches
Mail list logo