• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Textfield and change event
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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...
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

  • Follow-Ups:
    • Re: Textfield and change event
      • From: Johann Werner <email@hidden>
References: 
 >Textfield and change event (From: Francesco Romano <email@hidden>)
 >Re: Textfield and change event (From: Amedeo Mantica <email@hidden>)
 >Re: Textfield and change event (From: Francesco Romano <email@hidden>)
 >Re: Textfield and change event (From: Johann Werner <email@hidden>)
 >Re: Textfield and change event (From: Francesco Romano <email@hidden>)
 >Re: Textfield and change event (From: Francesco Romano <email@hidden>)
 >Re: Textfield and change event (From: Johann Werner <email@hidden>)
 >Re: Textfield and change event (From: Francesco Romano <email@hidden>)
 >Re: Textfield and change event (From: Johann Werner <email@hidden>)

  • Prev by Date: Re: Textfield and change event
  • Next by Date: Re: WOLongResponsePage issues
  • Previous by thread: Re: Textfield and change event
  • Next by thread: Re: Textfield and change event
  • Index(es):
    • Date
    • Thread