On 7-Nov-05, at 12:17 PM, David Griffith wrote:
Hi all,Am I right to assume that if I have a new EO (which has been registered with the EC but has not been 'saved') and the user enters data via the form on the page and then clicks, for example, a hyperlink that refreshes the page, that the form values will be lost?i.e. the form is not explicitly being 'submitted' and the page is being refreshed by a method of a subcomponent that returns 'null' to a WOComonent return type. The user clicks a link which is in a subcomponent, that subcomponent returns 'null' and the page refreshes but any data that had been entered disappears.
Yes. This is expected HTML behaviour. Hyperlinks do not submit forms.If you own that subcomponent you can modify it, adding a binding that allows you to pass in some JS to perform the submission. Or replace the WOHyperlink with a WOImageButton (if appropriate).
-- ;david -- David LeBer "I am codeferous!" Codeferous Software site: http://www.codeferous.com blog: http://david.codeferous.com
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]
