• 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
Re: Mixing a href(static) and a java action with WOForm
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Subject: Re: Mixing a href(static) and a java action with WOForm
  • From: King Chung Huang <email@hidden>
  • Date: Sat, 05 Mar 2005 16:00:43 -0700

Your form's action can either be the static href you specify or the dynamic action that WebObjects fills in, but not both. What do you hope to accomplish with the static href?

King Chung Huang
Learning Commons
University of Calgary

On Mar 4, 2005, at 9:26 AM, Dev WO wrote:

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
References: 
 >Mixing a href(static) and a java action with WOForm (From: Dev WO <email@hidden>)

  • Prev by Date: Re: NSJavaMinHeapSize
  • Next by Date: XCode / Eclipse + WOLips
  • Previous by thread: Re: Mixing a href(static) and a java action with WOForm
  • Next by thread: decoupling EOF
  • Index(es):
    • Date
    • Thread