Hi David,

some time ago I found a component WKRCSubmitLink that just does what you want as long as the link is within the form you want to be submitted. It uses javascript to set a hidden field, submit the form and then invokes the specified action. I think I found it on wocode and as that site unfortunately is quite often unreachable in these days drop me a line if you want me to send it to you off list.

jw


Am 09.10.2008 um 21:28 schrieb David Holt:

Thanks for your suggestions, everyone.

David


On 9-Oct-08, at 11:31 AM, Stefan Klein wrote:

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 protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/stefan.klein%40buero-sde.de

This email sent to [EMAIL PROTECTED]

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/programmingosx%40mac.com

This email sent to [EMAIL PROTECTED]

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/werner%40isd.uni-stuttgart.de

This email sent to [EMAIL PROTECTED]

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to