• 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: [RESOLVED] AjaxObserveField weirdness (empty response from server)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [RESOLVED] AjaxObserveField weirdness (empty response from server)


  • Subject: Re: [RESOLVED] AjaxObserveField weirdness (empty response from server)
  • From: Hugi Thordarson <email@hidden>
  • Date: Fri, 12 Aug 2011 15:44:17 +0000

Hi Chuck,

Just ignore me (as a general rule). I had a two week old version of Wonder - updated to latest nightly and of course the problem went away.

Pardon the noise.

Cheers,
- hugi


On 12.8.2011, at 15:42, Chuck Hill wrote:

>
> On 2011-08-12, at 8:11 AM, Hugi Thordarson wrote:
>
>> Hi all.
>>
>> I have a pretty weird problem with AjaxObserveField. I have a setup of dependent popups, like this:
>>
>> -----------------
>> <wo:AjaxUpdateContainer id="someContainer">
>>  <wo:form>
>>    <table>
>>      <tr>
>>        <td>Area</td>
>>        <td><wo:popUpButton id="area" list="$areas" item="$currentArea" displayString="$currentArea.name" selection="$selectedArea" /></td>
>>      </tr>
>>      <tr>
>>        <td>Site of powerplant</td>
>>        <td><wo:popUpButton id="site" list="$sites" item="$currentSite" displayString="$currentSite.name" selection="$selectedSite" /></td>
>>      </tr>
>>    </table>
>>  </wo:form>
>>  <wo:AjaxObserveField updateContainerID="someContainer" observeFieldID="area" />
>> </wo:AjaxUpdateContainer>
>> -----------------
>>
>> Now, if I make a selection in the "area" popup, an AJAX request is fired as expected, but the response returned is empty (meaning the form disappears).
>
> What is the request URL?
>
>
>>
>> The really weird thing is if I replace the AjaxObserveField with an AjaxSubmitButton and click it after making a selection, the update goes as expected.
>
> Looks like the form does not have action bound and there are no submit buttons.  Is that the problem?
>
>
> Chuck
>
>>
>> I have no idea what might be causing this, there are no errors reported on the server side, and no JS errors reported on the client side.
>>
>> Has anyone observed this type of behavior or have a suggestion as to what might be causing this?
>>
>> Cheers,
>> - hugi
>> _______________________________________________
>> 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
>
> --
> Chuck Hill             Senior Consultant / VP Development
>
> Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
> http://www.global-village.net/products/practical_webobjects
>
>
>
>
>
>
>

 _______________________________________________
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: 
 >AjaxObserveField weirdness (empty response from server) (From: Hugi Thordarson <email@hidden>)
 >Re: AjaxObserveField weirdness (empty response from server) (From: Chuck Hill <email@hidden>)

  • Prev by Date: Re: AjaxObserveField weirdness (empty response from server)
  • Next by Date: Re: Ad-hoc reporting tool?
  • Previous by thread: Re: AjaxObserveField weirdness (empty response from server)
  • Next by thread: Help from security gurus?
  • Index(es):
    • Date
    • Thread