Hi Torsten, It is not working even though I downloaded cocoon-2.0.1 and make build of it. I also made changes to <input type="image" src="images/submit.gif" name="cocoon-action-Submit" value="Submit"/> What else do I need to change to make it run? Pls reply back asap. Thanks for ur precious time. Niket ----- Original Message ----- From: "Torsten Curdt" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, February 25, 2002 2:48 PM Subject: Re: <input type="image" src="images/submit.gif" name="cocoon-action" value="Submit">
> On Mon, 25 Feb 2002, Niket Anand wrote: > > > Hi All, > > I am using image button of type image with name="cocoon-action". > > As per cocoon2 to perform action event, type should be type="submit".But I > > am having > > <input type="image" src="images/submit.gif" name="cocoon-action" > > value="Submit"/> and onclick of this button it does not perform action. > > How can I execute some action or invoke class on submit of this type of > > button. > > I am facing problem if I change type="submit", it displays simple button > > but not the image type button. > > Pls help me out of this problem. > > Thanks, > > Niket > > Hi, Niket, > > you are facing a bug that has been around forever :) But this has been > resolved in the latest CVS version. In the latest CVS version the > cocoon-action syntax has been deprecated (but is still supported) because > of some of i18n problems - anyway. > > Get yourself a CVS copy and you may use your action as follows: > > <input type="image" src="images/submit.gif" name="cocoon-action-Submit" value="Whatever you want - hit here"> > > Please note that the action as defined in the action-set is now included > within the name of the input!! > > Hope this helps > -- > Torsten > > > > --------------------------------------------------------------------- > Please check that your question has not already been answered in the > FAQ before posting. <http://xml.apache.org/cocoon/faqs.html> > > To unsubscribe, e-mail: <[EMAIL PROTECTED]> > For additional commands, e-mail: <[EMAIL PROTECTED]> --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faqs.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>