Re: html:cancel doesn't perform as advertised

2004-03-14 Thread Adam Hardy
/html:cancel Adam On 03/14/2004 12:56 AM Dean A. Hoover wrote: I have an html:form with a html:submit and an html:cancel. According to the documentation for html:cancel: Pressing of this submit button causes the action servlet to bypass calling the associated form bean validate() method. I tried

Re: html:cancel doesn't perform as advertised

2004-03-14 Thread Dean A. Hoover
javascript validation. The cancel button should look like this: input type=submit name=org.apache.struts.taglib.html.CANCEL value=Cancel onclick=bCancel=true; / The JSP should look like this: html:cancelCancel or whatever/html:cancel Adam On 03/14/2004 12:56 AM Dean A. Hoover wrote: I have

Re: html:cancel doesn't perform as advertised

2004-03-14 Thread Adam Hardy
onclick=bCancel=true; / The JSP should look like this: html:cancelCancel or whatever/html:cancel Adam On 03/14/2004 12:56 AM Dean A. Hoover wrote: I have an html:form with a html:submit and an html:cancel. According to the documentation for html:cancel: Pressing of this submit button causes

Re: html:cancel doesn't perform as advertised

2004-03-14 Thread Dean A. Hoover
Adam, OK, I get that part now... I mistakenly changed html:submit property=methodbean:message key=button.cancel//html:submit to html:cancel property=methodbean:message key=button.cancel//html:cancel which turns into input type=submit name=method value=Cancel onclick=bCancel=true; instead

Re: html:cancel doesn't perform as advertised

2004-03-14 Thread Adam Hardy
mistakenly changed html:submit property=methodbean:message key=button.cancel//html:submit to html:cancel property=methodbean:message key=button.cancel//html:cancel which turns into input type=submit name=method value=Cancel onclick=bCancel=true; instead of what you showed me: input type=submit name

html:cancel doesn't perform as advertised

2004-03-13 Thread Dean A. Hoover
I have an html:form with a html:submit and an html:cancel. According to the documentation for html:cancel: Pressing of this submit button causes the action servlet to bypass calling the associated form bean validate() method. I tried it and it did validation anyway. Then I looked at the generated

Re: html:cancel

2003-10-27 Thread Ted Husted
Not as such. What you can do is have the Action class look for a a cancel forward when there is a cancelled command. This lets you define a local cancel forward when needed or rely on a global one otherwise. HTH, Ted. Gandle, Panchasheel wrote: Is there a way to go back to previous, previous

html:cancel

2003-10-23 Thread Gandle, Panchasheel
Is there a way to go back to previous, previous page without having a extra forward in the config file. say I'm on list page then I go to add page which calls pageAddAction on cancel I want to go back to list page and not on pageAdd when users cancel it. action pageAdd input list action

html:reset and html:cancel

2003-06-10 Thread Mark Galbreath
Is it just me, or do these objects have no intrinsic affect on html:text objects? Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: html:reset and html:cancel

2003-06-10 Thread James Mitchell
On Tuesday 10 June 2003 14:30, Mark Galbreath wrote: Is it just me, or do these objects have no intrinsic affect on html:text objects? From which perspective do you mean? Client or server? The reset is basically an html input of type reset which will effect the page on the client side, while

RE: html:reset and html:cancel

2003-06-10 Thread Mark Galbreath
Mitchell [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 10, 2003 2:51 PM To: Struts Users Mailing List Subject: Re: html:reset and html:cancel On Tuesday 10 June 2003 14:30, Mark Galbreath wrote: Is it just me, or do these objects have no intrinsic affect on html:text objects? From which perspective

Re: html:reset and html:cancel

2003-06-10 Thread James Mitchell
). For client approach, you must do as you suggested (JavaScript, isn't it wonderful?). For a server-side clear, just use html:cancel but change it to show Reset (html:cancel value=Reset). Read up on the docos for this one. There are a couple of gotcha's. So, I hope this clears things up

RE: html:reset and html:cancel

2003-06-10 Thread Mark Galbreath
Using html:reset/ or html:cancel does not clear the entered data to defaults. This is before a submit, typically when a user has entered a bunch of data and realized he was looking at the wrong ledger and wants to reset everything to 0. It's not working. And this shouldn't be rocket science

html:cancel and LookupDispatchAction

2002-11-18 Thread Chen, Gin
Hi all, I have a LookupDispatchAction that my jsp is going to. I need to provide cancel functionality for this page. I tried to use the html:cancel but with the property on it, it still tries to perform the validation. I know its documented but is there a way around it? How do you skip

Hot to an html:image.. similar to html:cancel/ ?

2002-11-16 Thread Zsolt Koppany
Hi, I would like to use a image button (html:image..) instead of html:cancel/. How can I do that? It also fine of I have to handle that in the Action class. Zsolt -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

html:cancel problem

2002-10-28 Thread Nicolas Parisé
Hi, I have problem with the html:cancel tag in STRUTS 1.02 I have an Action class that create an instance of a ActionForm, populate it with data and put it in the session (session.setAttribute). Then my action class redirect the request to a JSP page that display the data from the session’s

html:cancel/

2002-07-12 Thread Paul McKinney
From everything that I can tell when using the html:cancel/ tag, my perform() method in my Action class never seems to get executed. It appears that after pressing the cancel button that the forward tag named as cancel in my action mapping in the struts-config file is used and forwards

Re: html:cancel/

2002-07-12 Thread Paul McKinney
It turns out that on our project they are overriding several methods in the ActionServlet one of which changes the way the cancel button is handled. On Fri, 12 Jul 2002, Paul McKinney wrote: From everything that I can tell when using the html:cancel/ tag, my perform() method in my Action

How to achieve html:cancel but with an image?

2002-01-09 Thread Cutrell, George
Is there a way to achieve html:cancel characteristics with an input image? I'd like to call isCancelled() in my perform() method when a cancel image is pressed. Does the HTML tag library support that? Thanks, George Cutrell Technical Manager, Wireless Applications Development Nextel

RE: How to achieve html:cancel but with an image?

2002-01-09 Thread MacKellar, Kimberly
html:image src=images/cancel.gif border=0 property=org.apache.struts.taglib.html.CANCEL/ -Original Message- From: Cutrell, George [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 09, 2002 4:45 PM To: 'Struts Users Mailing List' Subject: How to achieve html:cancel but with an image

How to make html:cancel as an image?

2001-04-03 Thread Shamdasani Nimmi-ANS004
Hi, Does anyone know how to associate an image with the html:cancel tag? Thanks. -Nimmi