• 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: AjaxUpdateContainer Empty Reponse
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AjaxUpdateContainer Empty Reponse


  • Subject: Re: AjaxUpdateContainer Empty Reponse
  • From: Henrique Gomes <email@hidden>
  • Date: Thu, 17 May 2012 16:25:05 +0100

Looking at your code; are you sure $regStatusExists is true? If it's null or false the container will be empty.
You can place an <wo:else> after the </wo:if>  just to show sometting in that case.

HG

On May 16, 2012, at 3:39 PM, Pranathi Chepur wrote:

> Hi,
>
> I see some weird behavior with AjaxUpdateContainer which is being triggered by a AjaxObserveField as shown in the code below. Container is updated, but the response is empty. This makes the UI field vanish all of the sudden. This behavior is not consistent and changes each time. Anyone experiencing similar issue? I am using Wonder_5_54_11763 version.
>
> Thanks for any help
> Pranathi
>
> <formRow>
>             <divColumn1 style="text-indent:135px;">Registration Approval Status</divColumn1>
>              <span><wo:popUpButton noSelectionString="Any" list="$regApprovalStatusList" item="$regApprovalStatusItem" displayString="$regApprovalStatusItem.displayName" id="regtestid" selection="$selectedRegApprovalStatus"/>
>                <wo:AjaxObserveField observeFieldID="regtestid" updateContainerID="regYearContainer" fullSubmit="$false"/>
>             </span>
>             &nbsp;&nbsp;
>          <wo:AjaxUpdateContainer id="regYearContainer" elementName="span" class="dataLabel">
>                 <wo:if condition="$regStatusExists">
>                <wo:str value="Year:" class="dataLabel"/>
>                <wo:WOPopUpButton list="$allYears" item="$year" displayString="$year.yearString" selection="$regYearSelected" />
>                </wo:if>
>
>            </wo:AjaxUpdateContainer>
>         </formRow>
> _______________________________________________
> 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


 _______________________________________________
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: 
 >AjaxUpdateContainer Empty Reponse (From: Pranathi Chepur <email@hidden>)

  • Prev by Date: Re: maven deploy
  • Next by Date: Re: maven deploy
  • Previous by thread: Re: AjaxUpdateContainer Empty Reponse
  • Next by thread: Draggable And Droppable Error in IE when the Droppable list count is < 2
  • Index(es):
    • Date
    • Thread