Hello.

ok this is the senario, sory if its little bit long,

I have a AjaxSelectionList,  that each time I click on a item it updates an
UpdaterContainer id "detailInfo", the updatecontainer has a button ta pops
up an AjaxModalContainer. I have configured the container to have inside a
WORepetition which is inside another AjaxUpdateContainer id =
tansUpdateContainer, also I have a wotext id = "newText" and a
AjaxsubmitButton that once I clcik it will add to the worepetition the
phrase I just typed in the wotext update the container. that part its
working perfect.

now I close the modalContainer and select another element from the
AjaxSelectionList, again the refres the container with id="detailInfo", when
I click the button that popus the ModalContainer this one will keep in the
wotext the last infor I typed in before,  I tought it was because the
binding value will still have the last info, so I dunno how to make the
close button delete the value of that binding, or should I put another
AjaxButton which will perform an action delete the data and close the
ModalContainer insted?

I tryed using the <script>iBox.init()</script> which uas in the example but
then I got an error in safari console that it couldn't find variable iBox.
I then imported the ibox.js like this. <wo:ERXJavaScript filename="ibox.js"
framework="Ajax">, the error seemed to disapear, but it seems it does
nothing because when I try to launch another modalcontainer form another
item in the first list. It showsin fact  the container but the dark
background that happens at the begining is missing and also the last data I
typed in the wotext appears in the container.

I decided then to place the ibox.init() in a onComplete binding from the
AjaxSubmitButton that its inside the first AjaxSelectionList which  updates
the Container with id ="detailInfo", placed a breakpoint into the ibox.js
and try and in fact the app its stoping right there, but the Modalcontainer
its not being re-initialized. ,,.. Im out of ideas here.

any clue, ideas suggestions will be highly appreceated it.


Thanks\

Gus
 _______________________________________________
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]

Reply via email to