Re: Textfield and change event
Re: Textfield and change event
- Subject: Re: Textfield and change event
- From: Johann Werner <email@hidden>
- Date: Fri, 24 Jul 2009 21:42:55 +0200
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@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
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@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden