on 9/27/2000 11:16 AM, "Imran Bohoran" <[EMAIL PROTECTED]> wrote:
> Hello All,
>
> I'm using Web macro with Turbine. I want to perform actions as given in the
> Action Event. But As mentioned in the docs the to get the Action event -
> doSomeEvent(RunData data, WebContext context) fired the submit buttons
> should be named properly.
Well, if you read the URL below, that name is invalid. It should be
doSomeevent()
> But I have some images which are in as buttons.
> How do I then call it.
I don't think that this changes anything.
> Also shouldn't the action parameter in the <form> tag
> have anything specified.
You need to have either GET/POST data element named "action" and the value
is the class name..."MyAction"...where of course you fill in the name of
your class.
p.s. Leon, ActionEvents are detailed here:
<http://java.apache.org/turbine/action-event.html>
-jon
--
http://scarab.tigris.org/ | http://noodle.tigris.org/
http://java.apache.org/ | http://java.apache.org/turbine/
http://www.working-dogs.com/ | http://jakarta.apache.org/velocity/
http://www.collab.net/ | http://www.sourcexchange.com/
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]