WGenForm must be declare as instance variable instead of static variable.

This commit is contained in:
Heng Sin Low 2011-02-16 12:11:56 +08:00
parent bc5fffb793
commit d31059cc6d
2 changed files with 37 additions and 37 deletions

View File

@ -48,7 +48,7 @@ import org.zkoss.zul.Space;
*/
public class WInOutGen extends InOutGen implements IFormController, EventListener, ValueChangeListener
{
private static WGenForm form;
private WGenForm form;
/** Logger */
private static CLogger log = CLogger.getCLogger(WInOutGen.class);

View File

@ -47,7 +47,7 @@ import org.zkoss.zul.Space;
*/
public class WInvoiceGen extends InvoiceGen implements IFormController, EventListener, ValueChangeListener
{
private static WGenForm form;
private WGenForm form;
/** Logger */
private static CLogger log = CLogger.getCLogger(WInOutGen.class);