help please

2002-02-19 Thread KM
Is it possible to turn off link inside a form based on value of a property. I am using the example which came with struts-1.0.1 and changed some of it to build a sample for our application, following is the code. Right now this code displays links on all the aNumber and aStatus. The aStatus can

how to use an images for submit, cancel button etc

2002-02-22 Thread KM
of the save, reset, cancel buttons I would like to user save.gif, reset.gif, cancel.gif etc .How to set up struts to use this.. Any tips on how to do this is appreciated KM __ Do You Yahoo!? Yahoo! Sports - Coverage of the 2002 Olympic Games http

RE:how to use an images for submit, cancel button etc

2002-02-22 Thread KM
the error. Any suggestions on how to resolve this. I will have to write the action methods as suggested by Mr Press later, but first I need the image to display right? Help??? KM __ Do You Yahoo!? Yahoo! Sports - Coverage of the 2002 Olympic Games

RE: how to use an images for submit, cancel button etc

2002-02-22 Thread KM
Thanks for the tip Mattos, However javascript is not something the end client likes in this case, so trying to minimise using javascript. Any clue as to why the code I posted is not working? Thanks for your time KM --- Mattos, John [EMAIL PROTECTED] wrote: Could you do the following

RE: how to use an images for submit, cancel button etc

2002-02-22 Thread KM
Any more suggestions, anybody who used an image as a button with an action defined? God why do the clients need an image for a button? KM Mattos, John wrote: Could you do the following...border=0/border=0/src=../images/onionReset.gif border=0/Reset and submit work fine, but you need

Re: FW: how to use an images for submit, cancel button etc

2002-02-22 Thread KM
of using image as a button is still there. The image is not getting displayed at all if I use the above code snippet. Any suggestions? KM --- Mattos, John [EMAIL PROTECTED] wrote: Hmm. I'm actually a bit confused. I don't see any html:image tags in the code snippet you provided, conly

RE: FW: how to use an images for submit, cancel button etc

2002-02-22 Thread KM
. Any ideas? KM I removed height and width completely and it worked. --- Jakkampudi, ChandraseKhar [EMAIL PROTECTED] wrote: Try putting your attributes in quotes as the error message suggests. width=88 height=24 etc JC -Original Message- From: KM [mailto:[EMAIL PROTECTED]] Sent

RE: how to use an images for submit, cancel button etc

2002-02-22 Thread KM
Thanks for all the help guys KM --- Pierce, Britt [EMAIL PROTECTED] wrote: If you look into the code, an 'image' button inherits from the 'submit' button. Therefore, an html:image / tag submits the form to the server. Not sure how the code below works though...It's not how I

RE: FW: how to use an images for submit, cancel button etc

2002-02-22 Thread KM
Gosh I was reading the details at img - Render an HTML img tag instead of image - Render an input tag of type image Thanks JC KM --- Jakkampudi, ChandraseKhar [EMAIL PROTECTED] wrote: Look at the TLD file or the documentation to find out what attributes are allowed for the html:image