public override XVar getCtrlParamsArr(dynamic _param_fName, dynamic _param_recId, dynamic _param_fieldNum, dynamic _param_value, dynamic _param_opt, dynamic _param_renderHidden = null, dynamic _param_isCached = null) { #region default values if (_param_renderHidden as Object == null) { _param_renderHidden = new XVar(false); } if (_param_isCached as Object == null) { _param_isCached = new XVar(true); } #endregion #region pass-by-value parameters dynamic fName = XVar.Clone(_param_fName); dynamic recId = XVar.Clone(_param_recId); dynamic fieldNum = XVar.Clone(_param_fieldNum); dynamic value = XVar.Clone(_param_value); dynamic opt = XVar.Clone(_param_opt); dynamic renderHidden = XVar.Clone(_param_renderHidden); dynamic isCached = XVar.Clone(_param_isCached); #endregion dynamic control = null, ctrlsMap = null, parameters = XVar.Array(); parameters = XVar.Clone(base.buildCtrlParamsArr((XVar)(fName), (XVar)(recId), (XVar)(fieldNum), (XVar)(value), (XVar)(opt), (XVar)(renderHidden), (XVar)(isCached))); control = XVar.Clone(XVar.Array()); parameters.InitAndSetArrayItem(true, "additionalCtrlParams", "searchPanelControl"); parameters.InitAndSetArrayItem((XVar.Pack(this.pageObj.mobileTemplateMode()) ? XVar.Pack("width: 35%;") : XVar.Pack("width: 115px;")), "additionalCtrlParams", "style"); ctrlsMap = XVar.Clone(getExtraControlMap()); this.pageObj.fillControlsMap((XVar)(ctrlsMap), new XVar(true)); return(XTempl.create_function_assignment(new XVar("xt_buildeditcontrol"), (XVar)(parameters))); }
public virtual XVar getCtrlParamsArr(dynamic _param_fName, dynamic _param_recId, dynamic _param_fieldNum, dynamic _param_value, dynamic _param_opt, dynamic _param_renderHidden = null, dynamic _param_isCached = null) { #region default values if (_param_renderHidden as Object == null) { _param_renderHidden = new XVar(false); } if (_param_isCached as Object == null) { _param_isCached = new XVar(true); } #endregion #region pass-by-value parameters dynamic fName = XVar.Clone(_param_fName); dynamic recId = XVar.Clone(_param_recId); dynamic fieldNum = XVar.Clone(_param_fieldNum); dynamic value = XVar.Clone(_param_value); dynamic opt = XVar.Clone(_param_opt); dynamic renderHidden = XVar.Clone(_param_renderHidden); dynamic isCached = XVar.Clone(_param_isCached); #endregion dynamic parameters = null; parameters = XVar.Clone(buildCtrlParamsArr((XVar)(fName), (XVar)(recId), (XVar)(fieldNum), (XVar)(value), (XVar)(opt), (XVar)(renderHidden), (XVar)(isCached))); return(XTempl.create_function_assignment(new XVar("xt_buildeditcontrol"), (XVar)(parameters))); }
public virtual XVar assign_function(dynamic _param_name, dynamic _param_func, dynamic _param_params) { #region pass-by-value parameters dynamic name = XVar.Clone(_param_name); dynamic func = XVar.Clone(_param_func); dynamic var_params = XVar.Clone(_param_params); #endregion this.xt_vars.InitAndSetArrayItem(XTempl.create_function_assignment((XVar)(func), (XVar)(var_params)), name); return(null); }