The AjaxObserveField should honor your class binding. For me it is working. Do you have a recent version of Wonder? For the AjaxUpdateTrigger I think you should find an example in AjaxExample. Have a look at it.

jw


Am 24.07.2009 um 18:07 schrieb Francesco Romano:

Good idea...
but...
I pass a class binding but it's not used:

<webobject name = "qtaObserveField">
        <webobject name = "quantityField"/>
</webobject>

qtaObserveField: AjaxObserveField {
        class = "cprod-item-qta";
        action = quantityChanged;
        updateContainerID = "cartListContainer";
        elementName = "li";
}

<li id = "e_11_3_1_0_1_5">
        <input size = "3" type="text" value="1" name="11.3.1.0.1.5.1" />
</li><script>ASB.observeDescendentFields('cartListContainer', 'e_11_3_1_0_1_5', null, true, null, {_asbn:'11.3.1.0.1.5'});</script> Further more... how can I use th ajaxUpdateTrigger? The doc is not so clear...
Francesco



On 24/lug/09, at 17:49, Johann Werner wrote:

Hi Francesco,

<snip>

Now I remember why.. because the observer is a div and it "destroyed" my layout.. but I found the right place and now it seems to work

you could use the binding 'elementName' of AjaxObserveField to let it use e.g. li instead of div

jw


_______________________________________________
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/jw%40oyosys.de

This email sent to [email protected]

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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