Re: Hyperlink and saveChanges
Re: Hyperlink and saveChanges
- Subject: Re: Hyperlink and saveChanges
- From: Stefan Klein <email@hidden>
- Date: Thu, 09 Oct 2008 20:31:47 +0200
WOHyperlinks doesn't submit form values.
If you need outside hyperlinks, you have multiple choises:
1) create a default action for the form tag and submit the form via
JavaScript
In that case you can use a hidden form field to store a flag for the
pressed hyperlink
2) create hidden buttons an activate the corresponding button with
javaScript
Stefan
David Holt schrieb:
I don't understand the behaviour of my application. I have a form on a
page whose values I save with a submit button.
I would also like to implement saveChanges() when the user navigates
to a different part of the form (clicks a link) but calling the exact
same saveChanges() code from a WOHyperlink has no effect. The
navigation links are outside the form.
Can I make this work?
David
_______________________________________________
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
_______________________________________________
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