> > I have a form A with
> > 
> > <form action="$link.setAction("myAction").setPage("myPage.wm")">
> > 
> > From the java class in another form B, I would like
> > to simulate the user visited form A and pressed the
> > submit button. What is the correct incantation to
> > achieve this?
> 
> Huh? "from the java class in another form b?" Huh?

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.


> could you please be a bit more clear?

Is this better?

> -jon

Thanks,


-- 
Gonzalo A. Diethelm
[EMAIL PROTECTED]


------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to