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" <prob...@macti.ca>:
> 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 (Webobjects-dev@lists.apple.com) > Help/Unsubscribe/Update your Subscription: > > https://lists.apple.com/mailman/options/webobjects-dev/bastian.triller%40gmail.com > > This email sent to bastian.tril...@gmail.com
_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com