private String getPanelMode(final WPanel panel) {
		PanelMode panelMode = panel.getMode();

		if (PanelMode.LAZY.equals(panelMode)) {
			return "lazy";
		} else if (PanelMode.EAGER.equals(panelMode)) {
			return "eager";
		}

		return null;
	}
private String getPanelMode ( final WPanel panel ) { PanelMode panelMode = panel . getMode ( ) ; if ( PanelMode . LAZY . equals ( panelMode ) ) { return "lazy" ; } else if ( PanelMode . EAGER . equals ( panelMode ) ) { return "eager" ; } return null ; }
@param panel the panel to paint.
@return the panel mode to be included in the xml