Skip to Content
Former Member
Feb 16, 2007 at 07:45 AM

java.lang.IndexOutOfBoundsException: Index: 5, Size: 0


table A -

emailid date-in sender recipient

Table B

attachementid attachmentname

i have problem with another issue

i have a master (table) detail (text and textview)

table is bind to nodetable (model)

detail is bind to nodedetail (model)

everytime when i run the i clicked the row,

i want the details to show out....

if i replace with this

IPrivateMailInboundView.IEmailInCommandBeanElement element=wdContext.nodeEmailInCommandBean().getEmailInCommandBeanElementAt(i);


it works ok will change the table row column [date-in] to "abc"

but my intention is to change the detail table attachement-name

public void onActionrowSelected( wdEvent )
    //@@begin onActionrowSelected(ServerEvent)
	int n=wdContext.nodeTablesEmailIn().size();
	int leadSelected=wdContext.nodeTablesEmailIn().getLeadSelection();
	for(int i=n-1;i>=0;--i){
		if(wdContext.nodeTablesEmailIn().isMultiSelected(i) || leadSelected==i){
			IPrivateMailInboundView.IEmailInDetailsCommandBeanElement elem=wdContext.nodeEmailInDetailsCommandBean().getEmailInDetailsCommandBeanElementAt(i);

#1#java.lang.IndexOutOfBoundsException: Index: 5, Size: 0