Some will correct me If I'm wrong, but I think you are using AjaxObseveField wrong:
the way to use it is to supply an observeFieldID = "IDofElement"
and it will look for changes on the element with ID "IDofElement", invoking the $action and/or updating the $updateContainerID when there's a change.


Henrique Gomes

On Mar 10, 2009, at 4:48 PM, Ricardo J. Parada wrote:


Is there a reason why my action would not get called when I use the AjaxUpdateLink's in a configuration like this:

<wo:form>
<wo:AjaxUpdateContainer id="Foo">
        <wo:AjaxObserveField updateContainerID="Foo" elementName="span">
                <wo:textfield value="$foo"/>
                <wo:AjaxUpdateLink action="$doSomething" string="Do It"/>
        </wo:AjaxObserveField>
</wo:AjaxUpdateContainer>
</wo:form>

This is a simplified version of what I have just to demonstrate what I'm talking about. In order for my AjaxUpdateLink's action to get called I have to move it outside the AjaxObserveField like this:


<wo:form>
<wo:AjaxUpdateContainer id="Foo">
        <wo:AjaxObserveField updateContainerID="Foo" elementName="span">
                <wo:textfield value="$foo"/>
        </wo:AjaxObserveField>
        <wo:AjaxUpdateLink action="$doSomething" string="Do It"/>
</wo:AjaxUpdateContainer>
</wo:form>
_______________________________________________
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/lists%40farol.pt

This email sent to [email protected]

 _______________________________________________
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