Re: AjaxUpdateContainer Empty Reponse
Re: AjaxUpdateContainer Empty Reponse
- Subject: Re: AjaxUpdateContainer Empty Reponse
- From: Tim Worman <email@hidden>
- Date: Wed, 16 May 2012 09:53:11 -0700
Pranathi:
Some things that have commonly caused similar issues for me:
1. WOConditionals - do you have any conditionals on this page that may not be getting evaluated properly on Ajax update?
2. ajax-y elements in repetitions that do not have unique id's.
Tim
UCLA GSE&IS
On May 16, 2012, at 7:39 AM, Pranathi Chepur <email@hidden> 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