on 06-10-2008 1:14 PM
Hi
I have a situation where I have an input box that I fill with a business partner number. I then press a button to add the details from the bp to a table. So far so good.
My issue arises when I use remove_element to delete the entry from the table as this causes an error with the input box still being bound to the context element.
How do I remove the reference to the element?
Cheers
Ian
I would suggest that you change the lead selection on the context node before deleting the element. You will also need to check to see if this is the last element in the node. You can't delete that element otherwise you will run into the same error. I suppose you would just clear the attributes of the final element - or easier yet - bind a new initial element and then delete your last element that has data.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.