Re: Textfield and change event
Re: Textfield and change event
- Subject: Re: Textfield and change event
- From: Francesco Romano <email@hidden>
- Date: Fri, 24 Jul 2009 18:07:46 +0200
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... 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@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden