Mixing a href(static) and a java action with WOForm
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