Re: AjaxUpdateContainer Empty Reponse
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>
>
> <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