• 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: I need some help with this Ajax Dom stuff
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: I need some help with this Ajax Dom stuff


  • Subject: Re: I need some help with this Ajax Dom stuff
  • From: Mike Schrag <email@hidden>
  • Date: Tue, 9 Jun 2009 12:21:14 -0400

now I want to add another div pUnitsPart, in case there is one or more info of the same kind, I was thinking int using DOM, to create more span elements and use appenChild method of the element allUnits. but I don't know how to handle with those WOTextFields I have, they have a binding with their pair in the.java, so I got lost here because I dunno how to create them and make the binding...... :'( sniff sniff....

Im not expert in this stuff, but novice, so any help I can get will be really appreciate it.
easiest way is to just wrap the whole thing in an update container and put it in a repetition. this is a particular hard scenario for wo+ajax to do, which is the dynamically growing repetition without resending the whole table. i did some work on this a while back, and it's possible to do, but it requires a lot more coordination between the client and the server (because you have to inject the html from the server into the dom vs just letting it replace), and things can get weird because of element ids.

ms

_______________________________________________
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: I need some help with this Ajax Dom stuff
      • From: Gustavo Adolfo Pizano <email@hidden>
References: 
 >I need some help with this Ajax Dom stuff (From: Gustavo Adolfo Pizano <email@hidden>)

  • Prev by Date: Re: WOWODC - a few pics
  • Next by Date: Re: WOWODC - a few pics
  • Previous by thread: I need some help with this Ajax Dom stuff
  • Next by thread: Re: I need some help with this Ajax Dom stuff
  • Index(es):
    • Date
    • Thread