This content has been marked as final. Show 4 replies
First, do you have a good reason for doing the conversion? For a large data set, that might take significant time.
yes u can directly upload xml file through HTTP services
I am using an autocomplete function that needs the dp to be an ac
I'd try to modify the autoComplete component.
You could break this processing up into smaller chunks. For it to work, you need some outside counter or indexer that keeps track of where you are. Have the conversion function process say nodes 0-500, then end. Then using callLater, call that function again, to process ne next batch of nodes.
This process will allow the UI to update between iteration batches. If you need more responsiveness, you could try monitoring mouse move, and stopping the conversion, until the mouse is inactive again. That is just brainstorming. I have not tried it (the mouse move part. I know the iterator method works to allow the UI to update.)