public static void saveDataToObjectInContext(final Map<String, Object> context, final String saveAttr,
			final String strValue, final ExpressionEngine engine) {

		int index = saveAttr.lastIndexOf('.');
		if (index > 0) {
			String strObject = saveAttr.substring(0, index);
			String strMethod = saveAttr.substring(index + 1);
			strObject = TieConstants.METHOD_PREFIX + strObject + TieConstants.METHOD_END;
			Object object = CommandUtility.evaluate(strObject, context, engine);
			CellControlsUtility.setObjectProperty(object, strMethod, strValue, true);
		}
	}
public static void saveDataToObjectInContext ( final Map < String , Object > context , final String saveAttr , final String strValue , final ExpressionEngine engine ) { int index = saveAttr . lastIndexOf ( '.' ) ; if ( index > 0 ) { String strObject = saveAttr . substring ( 0 , index ) ; String strMethod = saveAttr . substring ( index + 1 ) ; strObject = TieConstants . METHOD_PREFIX + strObject + TieConstants . METHOD_END ; Object object = CommandUtility . evaluate ( strObject , context , engine ) ; CellControlsUtility . setObjectProperty ( object , strMethod , strValue , true ) ; } }
Save data to object in context.

@param context
the context
@param saveAttr
the save attr
@param strValue
the str value
@param engine
the engine