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

Reply via email to