• 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
AjaxObserveField problems
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

AjaxObserveField problems


  • Subject: AjaxObserveField problems
  • From: Pascal Robert <email@hidden>
  • Date: Fri, 29 Mar 2013 14:33:18 -0400

I'm having a problem with a AjaxObserveField. I'm using it with a WOPopUpButton so that if the selected value of the pop up is not empty, the pop up won't show, and it will display some attributes of the selection.

Structure:

  <wo:AjaxUpdateContainer id="supplier_info">
    <wo:if condition="$purchaseOrder.supplier">
     <wo:str value="$purchaseOrder.supplier.company" />
    </wo:if>
  </wo:AjaxUpdateContainer>

  <div>
    <wo:else>
      <wo:AjaxObserveField updateContainerID="supplier_info" action="$justRefresh">
        <wo:popUpButton style="width: 150px;" list="$suppliers" item="$supplierItem" displayString="$supplierItem.company" selection="$purchaseOrder.supplier" noSelectionString="Please select a supplier..." />
      </wo:AjaxObserveField>
    </wo:else>
   </div>

When I select a value in the list, I see a POST request being made, but I have a breakpoint in the justRefresh method and I never reach it. What is happening here?

 Request URL:http://127.0.0.1:56277/cgi-bin/WebObjects/MyApp.woa/ajax/zcYVC5w6HwxHyW7sPqLFkM/8.0.13.5.1_u=supplier_info&1364581831478

Request Method:POST

Query parameters:

_u=supplier_info&1364581831478

Form Data:

	• 0.13.5.1.25.17.1.1:5
	• _partialSenderID:0.13.5.1.25.17.1.1
	• AJAX_SUBMIT_BUTTON_NAME:0.13.5.1.25.17.1


 _______________________________________________
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


  • Follow-Ups:
    • Re: AjaxObserveField problems
      • From: Bastian Triller <email@hidden>
    • Re: AjaxObserveField problems
      • From: Matthew Ness <email@hidden>
  • Prev by Date: [Excel] - Maximum column with EGSimpleTableCreator
  • Next by Date: Weird problem with D2W rules
  • Previous by thread: [Excel] - Maximum column with EGSimpleTableCreator
  • Next by thread: Re: AjaxObserveField problems
  • Index(es):
    • Date
    • Thread