Hello SweeHeng, I am having 3 buttons in Xsp and I donot want to do it as you mentioned here. I want to do minimum use of javascript, I actually get all target page uri (on click of buttons) in seperate class that will be invoked on click of any button.I am setting nextPage variable in this class and give it to sitemap through sitemapParams.put("nextPage", sum.xsp); So now please suggest me . Thanks, Niket ----- Original Message ----- From: "SweeHeng Sng" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, February 25, 2002 6:38 PM Subject: Re: <input type="image" src="images/submit.gif" name="cocoon-action" value="Submit">
> hi, > > did you put your input tag inside the form tag: > > <form action="cocoon-action.xsp"> > //some code ... > <input type="image" src="images/submit.gif" name="cocoon-action" > value="Submit"/> > </form> > > hope this help... > > sweeheng > > ----- Original Message ----- > From: "Niket Anand" <[EMAIL PROTECTED]> > Date: Monday, February 25, 2002 4:54 pm > Subject: <input type="image" src="images/submit.gif" > name="cocoon-action" value="Submit"> > > > 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 > > buttonbut not the image type button. > > Pls help me out of this problem. > > Thanks, > > Niket > > > > > > > > > > ------------------------------------------------------------------- > > -- > > Please check that your question has not already been answered in the > > FAQ before posting. <" > > target="l">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]> --------------------------------------------------------------------- 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]>