Thanks for the response.
I’m working on the TaskView Page. The array is part of the java object autogenerated from an IS document.
I looked at the wm_coreprovider example. It wouldn’t work in my example because initialize() only run once. So when I go from one task to another task in INBOX, the data is stale from the initial array copy.
Here is what I tried:
- in the autogenerated java object (IS document), I manually created a list (member variable). In the list’s getter, I load the list with whatever in the array.
- create ListTableContentProvider from this list.
- when I “submit” or “complete” task, I copy the list back into the array.
This works fine… except for one situation:
When the initial array in the java object is empty (or null). The table appears to be empty (which is correct). When I click the “Add Row” icon, it creates a row on the page. But when I submit, the table goes back to empty. Then I create the row one more time and submit, it’s fine.
The 1st time I submit, i notice listcontentprovider.getRowCount()=0 while the table.getContentProvider().getRowCount()=1. So the listcontentprovider seems to be incorrect when the list is initially empty.
Any suggestion what else I can do ?
Thanks !
#webMethods#webMethods-BPMS#MWS-CAF-Task-Engine