• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: javascript event handlers in WOToOneRelationship component?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: javascript event handlers in WOToOneRelationship component?


  • Subject: Re: javascript event handlers in WOToOneRelationship component?
  • From: Anjo Krank <email@hidden>
  • Date: Wed, 13 Apr 2005 15:14:54 +0200

Other than subclassing and adding the bindings yourself, you can also use JS in the parent like this:

<span id="MyRel">...WOToOne...</span>
<script language="JavaScript">
var parent = document.getElementById("MyRel").firstChild().onchange = new function() {
MyForm.submit();
}
</script>


This is just fake, you need to check the html yourself, but you get the idea.

Am 13.04.2005 um 14:53 schrieb Kieran Kelleher:

I want to trigger a form submit action when a WOToOneRelationship popup is changed, however adding the bindings for onchange or onblur directly to the WOToOneRelationship does not generate the html .... the bindings get ignored. Am I missing some obvious feature somewhere?

I have looked at some of the ERXJS stuff too, but none of them have a component that I could use that supports popup javascript it seems.

Any advice please?

-Kieran

-Kieran
________________________________________________________________
My hardware/software configurations (in case they are relevant to the problem):
Dev Config = OS X 10.3.7 / Java 1.4.2_05 / WO 5.2.3 / XCode v1.5 / MySQL 4.0.23 / Connector-J 3.0.16
Deploy Config = OS X 10.3.7 Server / Java 1.4.2_05 / WO 5.2.3 / MySQL 4.0.20 / Connector-J 3.0.11
Project Wonder Frameworks = ERJavaMail, ERJars, ERExtensions (Version 2.0 June 29, 2004 Binary)
My Development Notes Blog (so I don't forget stuff!): http:// webobjects.webhop.org/


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40logicunited.com


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
References: 
 >javascript event handlers in WOToOneRelationship component? (From: Kieran Kelleher <email@hidden>)

  • Prev by Date: javascript event handlers in WOToOneRelationship component?
  • Next by Date: Xcode: Moved Project Folder - Files are declared as missing
  • Previous by thread: javascript event handlers in WOToOneRelationship component?
  • Next by thread: Xcode: Moved Project Folder - Files are declared as missing
  • Index(es):
    • Date
    • Thread