• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Mixing a href(static) and a java action with WOForm
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Mixing a href(static) and a java action with WOForm


  • Subject: Mixing a href(static) and a java action with WOForm
  • From: Dev WO <email@hidden>
  • Date: Fri, 4 Mar 2005 17:26:49 +0100

Hi,
I've been trying to do a WOForm that would do 2 things:
-sending the value of the form's input to a static href (there are both static and dynamic input value)
-writing some information to a database using a Java method


I tried using the href attribut from the WOForm inspector to specify the URL I'd like the input to be send to and bind the java method to the action's submit button.
That lead to sending correctly the form to the static URL with the correct input value, but nothing was written to the database...like if the action bind to the submit button wasn't called.


If I bind the Java method to the submit button and nothing for either "action" or "href" in the WOForm, I got the info written to the database, but of course, nothing was sent to the static URL (mostly because it's written nowhere in this case).

I've checked in different book, but I couldn't find how to do it...
Could anyone help me with this?

Thanks a lot

Xavier

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Mixing a href(static) and a java action with WOForm
      • From: King Chung Huang <email@hidden>
    • Re: Mixing a href(static) and a java action with WOForm
      • From: Chuck Hill <email@hidden>
  • Prev by Date: Problem running Web Services WO server _within_ WOLips
  • Next by Date: Re: Problem running Web Services WO server _within_ WOLips
  • Previous by thread: Re: Problem running Web Services WO server _within_ WOLips
  • Next by thread: Re: Mixing a href(static) and a java action with WOForm
  • Index(es):
    • Date
    • Thread