RE: javascript help using html:image

2006-06-27 Thread fea jabi
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

javascript and html:image of struts

2006-06-21 Thread fea jabi
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

html:image

2006-06-16 Thread fea jabi
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

RE: html:image with LookupDispatchAction

2006-06-14 Thread fea jabi
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

html:image with LookupDispatchAction

2006-06-13 Thread fea jabi
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

Re: LookupDispatchAction with html:image

2005-10-20 Thread Michael Jouravlev
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

Re: LookupDispatchAction with html:image

2005-10-20 Thread Keith Sader
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:

Re: LookupDispatchAction with html:image

2005-10-20 Thread Michael Jouravlev
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

LookupDispatchAction with html:image

2005-10-20 Thread Keith Sader
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

LookupDispatchAction and html:image tag

2005-05-17 Thread Dean, Michael
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

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
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

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(&

RE: Combining html:image and bean:define

2005-05-04 Thread Chris Loschen
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

Re: Combining html:image and bean:define

2005-05-03 Thread Niall Pemberton
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

RE: Combining html:image and bean:define

2005-05-03 Thread Chris Loschen
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

Combining html:image and bean:define

2005-05-03 Thread Chris Loschen
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

Re: html:image?

2004-12-13 Thread Bjørn T Johansen
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,

Re: html:image?

2004-12-13 Thread Matthias Stoll
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

html:image?

2004-12-13 Thread Bjørn T Johansen
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 -- ---

Re: problem with html:Image and Indexed form

2004-12-13 Thread Tito Eritja
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

Re: problem with html:Image and Indexed form

2004-12-13 Thread Mark Lowe
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ó: >

problem with html:Image and Indexed form

2004-12-13 Thread Tito Eritja
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) {

Re: bean value within src of html:Image

2004-10-21 Thread David Farrell
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]

Re: bean value within src of html:Image

2004-10-21 Thread dmu2201
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

bean value within src of html:Image

2004-10-20 Thread Tito Eritja
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

Re: html:image question

2004-07-15 Thread Michael McGrady
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

Re: html:image question

2004-07-15 Thread Michael McGrady
At 02:26 PM 7/15/2004, you wrote:

Re: html:image question

2004-07-15 Thread Michael McGrady
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

html:image question

2004-07-15 Thread Jeff Stewart
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

Re: LookupDispatchAction and html:image

2004-07-09 Thread Ron Grabowski
--- 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

RE: LookupDispatchAction and html:image

2004-07-09 Thread Robert Taylor
Mailing List > Subject: LookupDispatchAction and html:image > > > Has anyone got the two to work together? > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additiona

LookupDispatchAction and html:image

2004-07-09 Thread Darryl Smith
Has anyone got the two to work together? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: html:image vs html:submit

2004-07-08 Thread Michael McGrady
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)

html:image vs html:submit

2004-07-08 Thread Darryl Smith
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

Re: html:image and pop-ups

2004-05-07 Thread Axel Stahlhut
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

html:image and pop-ups

2004-05-07 Thread Sonam Belbase
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