• 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
Ajax Update Link not working on one server
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Ajax Update Link not working on one server


  • Subject: Ajax Update Link not working on one server
  • From: Jeffrey Schmitz <email@hidden>
  • Date: Wed, 06 Feb 2013 07:04:47 -0600

Hi all,
   I'm using the Wonder Ajax constructs and on one of my servers my AjaxUpdateLinks have stopped working.  Comparing the same page on two different servers, one that works and one that doesn't.  T

examples of working vs not working, can be found at the following links.  First, choose 5 Entries per page, and then click the next page button.

Doesn't work:
http://208.52.189.43/cgi-bin/WebObjects/netBrackets.woa/wa/demoPoolStatus

works:
http://24.217.161.112/cgi-bin/WebObjects/netBrackets.woa/wa/demoPoolStatus


The html being generated on each machine is as follows:

Doesn't work:

<a href="" _onclick_="AUL.update('tableBody', {onComplete:function(request) {  }}, '3.0.19.13.41.9');" class="right"> <img src="" width="16" height="16" alt="First Page"> </a>

works:

<a href="" _onclick_="AUL.update('tableBody', {onComplete:function(request) {  }}, '3.0.19.13.41.9');" class="right"> <img src="" width="16" height="16" alt="First Page"> </a>


This is the code being used to generate the above...

<webobject name="NextBatch"> <img src="/Images/TinyTable/next.gif" width="16" height="16" alt="First Page" /> </webobject>


NextBatch : AjaxUpdateLink {
action = nextBatch;
updateContainerID = "tableBody";
evalScripts = true;
onComplete = "function(request) {  }";
}



Note that the below AjaxObserveField construct is still working correctly on both machines.

AOF html:
<div id="perpage">
                <select id="EntriesPerPageID" name="0.19.29.1.1.25"><option selected="selected" value="0">5</option><option value="1">10</option><option value="2">20</option><option value="3">50</option><option value="4">100</option></select>
                
                <span>Entries Per Page</span>
</div>

AOF code:
             <div id="perpage">
                <webobject name="EntriesPerPage" />
                <webobject name="EntriesPerPageObserveField" />
                <span>Entries Per Page</span>
              </div>

EntriesPerPage : WOPopUpButton {
id = "EntriesPerPageID";
list = numEntriesList;
item = repetitionNumEntries; 
selection = selectedNumEntries;
displayString = repetitionNumEntries;
}

EntriesPerPageObserveField : AjaxObserveField {
observeFieldID = "EntriesPerPageID";
updateContainerID = "tableBody";
fullSubmit = false;
}



Any ideas where I might look to track this down?

Thanks,
Jeff
 _______________________________________________
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:
    • Rép : Ajax Update Link not working on one server
      • From: Raymond NANEON <email@hidden>
    • Re: Ajax Update Link not working on one server
      • From: Johann Werner <email@hidden>
    • Re: Ajax Update Link not working on one server
      • From: George Domurot <email@hidden>
  • Prev by Date: Re: ec.saveChanges() throws exception, still saves
  • Next by Date: Re: Ajax Update Link not working on one server
  • Previous by thread: Re: ec.saveChanges() throws exception, still saves
  • Next by thread: Re: Ajax Update Link not working on one server
  • Index(es):
    • Date
    • Thread