Hi Jeffrey,

on both pages I get an error in the Javascript console that points to a problem 
in common.js: "Unexpected token ')'" in line 41. That could potentially break 
some other Javascript code.

But to your problem: you seem to have mixed some wonder version. Some time back 
the former attributes "updateurl" were renamed to "data-updateurl" to conform 
to the HTML5 standard. On both your applications the wonder.js still looks for 
the old "updateurl" attribute but on 208.52.189.43 the generated HTML already 
uses the new "data-updateurl" and thus breaks the ajax scripts.

What version of Wonder do you use?

jw



Am 06.02.2013 um 14:04 schrieb Jeffrey Schmitz <[email protected]>:

> 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="javascript:void(0);" onclick="AUL.update('tableBody', 
> {onComplete:function(request) {  }}, '3.0.19.13.41.9');" class="right"> <img 
> src="/Images/TinyTable/next.gif" width="16" height="16" alt="First Page"> </a>
> 
> works:
> 
> <a href="javascript:void(0);" onclick="AUL.update('tableBody', 
> {onComplete:function(request) {  }}, '3.0.19.13.41.9');" class="right"> <img 
> src="/Images/TinyTable/next.gif" 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 protected])
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/webobjects-dev/jw%40oyosys.de
> 
> This email sent to [email protected]


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to