private void saveObjs() {

		try {
			if (FacesContext.getCurrentInstance() != null) {
				Map<String, Object> viewMap = FacesContext.getCurrentInstance().getViewRoot().getViewMap();
				viewMap.put("currentTabName", parent.getCurrent().getCurrentTabName());
				viewMap.put(TieConstants.SUBMITMODE, parent.getSubmitMode());
			}
		} catch (Exception ex) {
			LOG.log(Level.SEVERE, "saveobjs in viewMap error = " + ex.getMessage(), ex);

		}

	}
private void saveObjs() {

		try {
			if (FacesContext.getCurrentInstance() != null) {
				Map<String, Object> viewMap = FacesContext.getCurrentInstance().getViewRoot().getViewMap();
				viewMap.put("currentTabName", parent.getCurrent().getCurrentTabName());
				viewMap.put(TieConstants.SUBMITMODE, parent.getSubmitMode());
			}
		} catch (Exception ex) {
			LOG.log(Level.SEVERE, "saveobjs in viewMap error = " + ex.getMessage(), ex);

		}

	}
private void saveObjs ( ) { try { if ( FacesContext . getCurrentInstance ( ) != null ) { Map < String , Object > viewMap = FacesContext . getCurrentInstance ( ) . getViewRoot ( ) . getViewMap ( ) ; viewMap . put ( "currentTabName" , parent . getCurrent ( ) . getCurrentTabName ( ) ) ; viewMap . put ( TieConstants . SUBMITMODE , parent . getSubmitMode ( ) ) ; } } catch ( Exception ex ) { LOG . log ( Level . SEVERE , "saveobjs in viewMap error = " + ex . getMessage ( ) , ex ) ; } }
Save objs.
Save objs .