Check your app, 500 is a server error.

Chuck

On May 11, 2011, at 11:07 AM, Raghavender Bokka wrote:

> Hi,
> 
> I am trying to update a selection list when a value in the drop down list is 
> changed.  I am using "AjaxObserveField" and "AjaxUpdateContainer" components 
> to achieve this functionality.  But when I change the value in the drop down 
> list then the entire components or elements existing in the Ajax Update 
> Container div are getting cleared off.  It is showing "500 Error" in the 
> browser error console. 
> 
> Following is the code snippet:
> ------------------------------------WOD Code 
> Snippet------------------------------------
> PopUpButton1: WOPopUpButton {
>       id = "YearFieldID";
>       list = yearList;
>       displayString = currentYear.desc;
>       item = currentYear;
>       selection = selectedYear;
> }
> 
> YearObserveField : AjaxObserveField {
>       observeFieldID = "YearFieldID";
>       updateContainerID = "TeacherDiv1";
>       fullSubmit = false;
> }
> 
> TeacherUpdateComponent : AjaxUpdateContainer {
>       id = "TeacherDiv1";
> }
> 
> Form1: WOForm
> {
>       multipleSubmit = true;
> }
> ------------------------------------WOD Code 
> Snippet------------------------------------
> ------------------------------------HTML Code 
> Snippet------------------------------------
> <WEBOBJECT name=Form1>
> 
> <WEBOBJECT NAME=PopUpButton1></WEBOBJECT>
> 
> <WEBOBJECT name = "YearObserveField"></WEBOBJECT>
> 
> <WEBOBJECT name="TeacherUpdateComponent">  
>       <WEBOBJECT NAME=Browser2>       
> </WEBOBJECT>
> 
> </WEBOBJECT>
> ------------------------------------HTML Code 
> Snippet------------------------------------
> 
> Thanks for any suggestions.
> 
> Regards,
> Raghu.
> 
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list      ([email protected])
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net
> 
> This email sent to [email protected]

-- 
Chuck Hill             Senior Consultant / VP Development

Come to WOWODC this July for unparalleled WO learning opportunities and real 
peer to peer problem solving!  Network, socialize, and enjoy a great 
cosmopolitan city.  See you there!  http://www.wocommunity.org/wowodc11/

Attachment: smime.p7s
Description: S/MIME cryptographic signature

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

This email sent to [email protected]

Reply via email to