Well I thought I knew how to do it, but, eventually I don't.
I have the following in the html:
<div id="allUnits">
<div id ="pUnitsPart">
<span class = "labelDiv">Unit Name :</span><span
class="infoUnits"><wo:WOTextField value = "$unitName" /></span>
<span class = "labelDiv">Price :</span><span
class="infoUnits"><wo:WOTextField value = "$uPrice" /></span>
<span class = "labelDiv">Received Date: </span><span
class="infoUnits"><wo:WOTextField value = "$uNumberUnits"/></span>
<span class ="moreButton" id="button" onclick = "addUnit()">+</span>
</div><!-- pUnitsParts -->
</div>
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.
Thx
Gustavo
_______________________________________________
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]