Skip to Content
0
Former Member
Jul 21, 2007 at 05:53 AM

static refer to non-static

31 Views

In the wdDoModify () the method is static

public static void wdDoModify(){

checkTable();

}

public void checkTable(){

wdContext.currentContext.getEmpid();

}

ERROR : The method checkTable() is not static

after that i change to

public static void checkTable(){

wdContext.currentContext.getEmpid();

}

Error: cannot make static field to non-static field wdContext