on 10/10/2000 4:01 PM, "Diethelm Guallar, Gonzalo"
<[EMAIL PROTECTED]> wrote:
> I meant:
>
> * I have a template A.wm.
>
> * I have a template B.wm.
>
> * Template A has a form like this:
>
> <form action="$link.setAction("ActionA").setPage("PageA.wm")">
> <input value="Submit" name="submit" type="submit">
> </form>
>
> * Template B has a form like this:
>
> <form action="$link.setAction("ActionB").setPage("PageB.wm")">
> <input value="Submit" name="submit" type="submit">
> </form>
>
> Now, when a user enters template B and selects the Submit button,
> I would like to put some code in ActionB.java to simulate that
> the user was visiting template A and hit template A's Submit button.
> In other words, ActionA should be executed, and the browser should
> jump to PageA.
Use the ActionLoader to accomplish this:
ActionLoader.getInstance().exec (data, "ActionA")
>> could you please be a bit more clear?
>
> Is this better?
_much_ I'm sorry, but I don't have time to guess your problems. :-)
-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]