Quote:
Originally Posted by Ananthasivan V K Hi Javed
I suggest setting the size of the list may rectify the issue.
Please try and update here if this fixes yout 2nd problem. |
It did not help. Below is my code.
ObjectListField oPairingList = new ObjectListField(ObjectListField.ELLIPSIS);
oPairingList.setSize(2);
Vector vctAllPCs = null;
vctAllPCs = ommCPairedPCDataStore.getAllRepliedPCs();
if (vctAllPCs != null)
{
int nSize = vctAllPCs.size();
for (int i = 0; i < nSize; i++)
{
oPairingList.insert(i, vctAllPCs.elementAt(i));
}
}