Re: [Wonder-disc] Problems with Pop-up and AjaxObserveField
Re: [Wonder-disc] Problems with Pop-up and AjaxObserveField
- Subject: Re: [Wonder-disc] Problems with Pop-up and AjaxObserveField
- From: Timo Hoepfner <email@hidden>
- Date: Fri, 5 Mar 2010 09:52:44 +0100
Hi Tim,
how is the page/component structured?
<AUC><AOF><WOPopup/></AOF></AUC>
should work, while
<AOF><AUC><WOPopup/></AUC></AOF>
would exhibit the problem you are describing. See javadoc of
AjaxObserveField:
* ... The list of form fields to observe is obtained on
* the client side, so you should not put AjaxUpdateContainers INSIDE
of this component
* or none fields inside of the container will be observed after an
update. Instead,
* AjaxObserveFields should be surrounded by an update container.
Timo
Am 05.03.2010 um 00:46 schrieb Tim Worman:
I have a WOPopUpButton onea page with a companion AjaxObserveField
to force an action when a selection is made. The AjaxObserveField
also updates a AUC. The problem I'm having is that the popup/
observer always performs the action and AUC the first time a new
selection is made. If I then try to make a different selection with
the same pop-up no action is fired and there's no update to the AUC.
I've tried examining the page source and the source for the pop-up/
observer look identical in both situations. If I refresh the page
manually, the combination works again - but only once just like
before.
I know I must have done something wrong but I don't know what it is.
Tim Worman
UCLA GSE&IS
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Wonder-disc mailing list
email@hidden
https://lists.sourceforge.net/lists/listinfo/wonder-disc
_______________________________________________
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