cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Niket Anand" <niketan...@npi.stpn.soft.net>
Subject Re: Fw: <input type="image" src="images/submit.gif" name="cocoon-action" value="Submit">
Date Tue, 26 Feb 2002 08:18:31 GMT
Sorry to trouble you again.
I am not able to invoke action class even applying all ur instructions.
I have also tried the employee-department example given in
xml-cocoon2\build\cocoon\webapp\tutorial\docs.
It is using same action name="cocoon-action-SUM" type but it itself could
not able to invoke org.apache.cocoon.acting.DatabaseAddAction or
org.apache.cocoon.acting.DatabaseDeleteAction class on click of button.
Please check this and let me know about my error.
Thanks for patience,
Niket
----- Original Message -----
From: "Torsten Curdt" <tcurdt@dff.st>
To: <cocoon-users@xml.apache.org>
Sent: Tuesday, February 26, 2002 12:29 AM
Subject: Re: Fw: <input type="image" src="images/submit.gif"
name="cocoon-action" value="Submit">


>
> Should read more carefully...
>
> You have:
>   <xsp:logic>
>     <input type ="image"  src="forms/submit-button.gif"
name="cocoon-action-Submit" value="SUM" />
>     <input type ="image"  src="forms/cancel.gif"
name="cocoon-action-Submit" value="CANCEL" />
>   </xsp:logic>
>
> But you want:
>   <xsp:logic>
>     <input type ="image"  src="forms/submit-button.gif"
name="cocoon-action-SUM" value="SUM it!" />
>     <input type ="image"  src="forms/cancel.gif"
name="cocoon-action-CANCEL" value="CANCEL it!" />
>   </xsp:logic>
>
> > REQUEST PARAMETERS:
>
> that's the only part I actually wanted...
>
> > METHOD: GET
>
> but with method = POST! :(
>
> Geez, you better clean up your code if you want this baby to grow ;)
> Anyway this should have solved your problem
>
> Regards
> --
> 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: <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


---------------------------------------------------------------------
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: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message