Re: WOHyperlinks and Form Values
Re: WOHyperlinks and Form Values
- Subject: Re: WOHyperlinks and Form Values
- From: Chuck Hill <email@hidden>
- Date: Wed, 03 Dec 2003 17:04:35 -0800
You need to use JavaScript. Off the top of my head:
onclick="this.form.submit(); return false;"
At 01:11 AM 04/12/2003 +0100, Brendon Allen wrote:
>
>Hey all,
>
>Have a quick question about using WOHyperlinks in forms. I have a
>WOForm with a bunch of text fields. For the form field names I have a
>WOHyperlink around them and they are linked to an action method that
>calls a string to be changed for help text and then does a return null
>of type WoComponent. Here is the deal if I use a WOActiveImage for the
>link to the help i click it and all the form values the user has
>entered but not saved are preserved and the help string is displayed.
>Now if I use the WOHyperlink at the same place for the help it displays
>the help string right but when it refreshes it blows away unsaved
>entries in the text fields. I really want to use linked text and not
>images. Any ideas?
>
>thanks in advance
>
>Brendon
>
>_______________________________________________
>WebObjects-dev mailing list
>email@hidden
>http://www.omnigroup.com/mailman/listinfo/webobjects-dev
>
--
Chuck Hill email@hidden
Global Village Consulting Inc. http://www.global-village.net
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.