Hi,
I have resolved this issue. And have moved on and started actively developing. I have two queries, I searched the forum but could not get a direct response.
1) I have a tab-folder and I create the tabs at runtime and within the tab,
I use the ListItem to show a list :
<ListItem id=1 onAction=sendID(this.id) ><Text id=name>Name1</Text><Text id=dob>Dob1</Text></ListItem>
<ListItem id=2 onAction=sendID(this.id) ><Text id=name>Name2</Text><Text id=dob>Dob2</Text></ListItem>
<ListItem id=1 onAction=sendID(this.id) ><Text id=name>Name3</Text><Text id=dob>Dob3</Text></ListItem>
(Please note I am NOT using the <List>/</List> tags), I am directly adding a List Item to a ScrollPane which is inside a tabfolder.
Also while I am changing the ID of the ListItem, I am NOT changing the IDs of the contained Text
How can I access the content of the contents of the ListItem ? I am able to send the List id to Java Side. How do I use the Id to get the data of contained widgets ? What if there are 'n' widgets ?
At the ListItem level if include onAction="display(#Name.text,#dob.text)" it only displays the first List Items Name and Text even though the 'hover' is on the 3rd ListItem. I have a work around for this problem (generate unique IDs for the Text as well), but wanted to know if there is a better way.
2) The second is on the progress bar, while the DataProvider is being 'filled', I want the progress bar to show and end when the DataProvider is created. I know exactly when the DataProvider has been instantiated, and I can send an Interuption to the Thread.
DateDataProvider myddp = null;
(if DateDataProvider.isInstantiated){
}else{
//I want to have a progress bar here
myddp = new DateDataProvider();
}