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

Re: AjaxObserveField problems


  • Subject: Re: AjaxObserveField problems
  • From: Bastian Triller <email@hidden>
  • Date: Fri, 29 Mar 2013 23:50:52 +0100

My guess is, that the condition evaluates to true after takeValuesFromRequest. The observe field "disappears" and no action there to be called.

Am 29.03.2013 19:33 schrieb "Pascal Robert" <email@hidden>:
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="">         <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
 _______________________________________________
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: 
 >AjaxObserveField problems (From: Pascal Robert <email@hidden>)

  • Prev by Date: Re: Weird problem with D2W rules
  • Next by Date: Determining database plugin at runtime
  • Previous by thread: Re: AjaxObserveField problems
  • Next by thread: Weird problem with D2W rules
  • Index(es):
    • Date
    • Thread