-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hi, i want to know how to pass the argument row to method onEvent(Event e) ?
@Command
@NotifyChange("companyAccessList")
public void deleteConnectionCommand(@BindingParam("row") CompanyDBModel row)
{
Messagebox.show("Are you sure to delete this connection ?","Delete",Messagebox.YES | Messagebox.NO, Messagebox.QUESTION, new EventListener()
{
public void onEvent(Event e)
{
if (Messagebox.ON_YES.equals(e.getName()))
{
//i want to use here row variable
data.deleteHostInfo(row);
}
}
});
}
public void deleteConnectionCommand(@BindingParam("row") final CompanyDBModel row)
Asked: 2013-11-08 07:49:41 +0800
Seen: 21 times
Last updated: Nov 12 '13
can you post feedback or accept answer?
chillworld ( 2014-01-14 21:34:20 +0800 )edit