• 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
AjaxObserveField does not trigger action
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

AjaxObserveField does not trigger action


  • Subject: AjaxObserveField does not trigger action
  • From: Kenan Esau <email@hidden>
  • Date: Wed, 25 Apr 2018 10:55:28 +0200

Hi,

I am trying to update one Popup when another Popup changes. I tried to use this
as a template:

https://www.mail-archive.com/email@hidden/msg43630.html
<https://www.mail-archive.com/email@hidden/msg43630.html>

But I never get that far since the the AjaxObserveField never triggers the
action in the underlying java...


<tr>
  <td>PopUp:</td>
  <td>
  <webobject name =  „Popup1" />
  <webobject name =  „Popup1Observer" />
  </td>
</tr>

Popup1 : WOPopUpButton {
        id = „popupone";
        list = allentries;
        item = aEntry;
        displayString = aEntry.name
        selection = selectedEntry
}

Popup1Observer : AjaxObserveField {
        action = popup1Change;
        id = „popupObserver";
        observeFieldID = "popupone";
}

popup1Change() in the underlying java is never called since there is an error
in the java-script on the client-side:

As soon as I try to use an AjaxObserveField I always get an error in the
underlying javascript / prototype.js:6416 whenever I change the value of my
first popup

  getValue: function(element) {
    element = $(element);
    var method = element.tagName.toLowerCase();
    return Form.Element.Serializers[method](element);
  },

element.tagname is always ‚undefined‘!?!?!

Am I doing something wrong? Is there an example I could use for
AjaxObserveField and AjaxUpdateContainer?


Thanks for your Help!

    Kenan
 _______________________________________________
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

  • Follow-Ups:
    • Re: AjaxObserveField does not trigger action
      • From: Samuel Pelletier <email@hidden>
  • Prev by Date: Re: downloading large files still not work
  • Next by Date: Re: AjaxObserveField does not trigger action
  • Previous by thread: Re: downloading large files still not work
  • Next by thread: Re: AjaxObserveField does not trigger action
  • Index(es):
    • Date
    • Thread