on 02-16-2007 5:21 AM
how do i able to trigger the table row event
for webdynpro table ...how do i trigger the event
for instance:
Public Sub tablerow_click() handles tablerow.clicked
//code here
End Sub
Message was edited by:
yzme yzme
Hi,
Create an action and bind it to the onLeadSelect event of table.
Regards
Fahad Hamsa
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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);
wdContext.currentTablesEmailInElement().setDateIn("abc");
it works ok ..it will change the table row column [date-in] to "abc"
but my intention is to change the detail table attachement-name
public void onActionrowSelected(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent 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);
wdContext.currentEmailInDetailsCommandBeanElement().setAttachmentName("abc");
}
}
//@@end
}
#1#java.lang.IndexOutOfBoundsException: Index: 5, Size: 0
Message was edited by:
yzme yzme
Hi,
Instead of <b>wdContext.currentEmailInDetailsCommandBeanElement().setAttachmentName("abc");</b>
can u try
elem.setAttachmentName("abc");
Regards
Fahad hamsa
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.