Versions in this module Expand all Collapse all v1 v1.2.27 Jun 13, 2024 v1.2.26 Jun 13, 2024 Changes in this version + func InitOperationHandlerSetter(p context.NodeProcessor) + func URL(id string) string + type AjaxAction struct + Alert bool + AlertData AlertData + Data AjaxData + ErrorJS template.JS + Event Event + Handlers []context.Handler + Method string + ParameterJS template.JS + SuccessJS template.JS + Url string + func Ajax(id string, handler types.Handler) *AjaxAction + func (ajax *AjaxAction) AddData(data map[string]interface{}) *AjaxAction + func (ajax *AjaxAction) BtnAttribute() template.HTML + func (ajax *AjaxAction) ChangeHTMLWhenSuccess(identify string, text ...string) *AjaxAction + func (ajax *AjaxAction) GetCallbacks() context.Node + func (ajax *AjaxAction) Js() template.JS + func (ajax *AjaxAction) SetData(data map[string]interface{}) *AjaxAction + func (ajax *AjaxAction) SetErrorJS(errorJS template.JS) *AjaxAction + func (ajax *AjaxAction) SetEvent(event Event) *AjaxAction + func (ajax *AjaxAction) SetMethod(method string) *AjaxAction + func (ajax *AjaxAction) SetParameterJS(parameterJS template.JS) *AjaxAction + func (ajax *AjaxAction) SetSuccessJS(successJS template.JS) *AjaxAction + func (ajax *AjaxAction) SetUrl(url string) *AjaxAction + func (ajax *AjaxAction) WithAlert(data ...AlertData) *AjaxAction + type AjaxData map[string]interface + func (a AjaxData) Add(m map[string]interface{}) AjaxData + func (a AjaxData) JSON() string + func NewAjaxData() AjaxData + type AlertData struct + CancelButtonText string + CloseOnConfirm bool + ConfirmButtonColor string + ConfirmButtonText string + ShowCancelButton bool + Title string + Type string + type BaseAction struct + BtnData interface{} + BtnId string + JS template.JS + func (base *BaseAction) BtnAttribute() template.HTML + func (base *BaseAction) BtnClass() template.HTML + func (base *BaseAction) ExtContent() template.HTML + func (base *BaseAction) FooterContent() template.HTML + func (base *BaseAction) GetCallbacks() context.Node + func (base *BaseAction) Js() template.JS + func (base *BaseAction) SetBtnData(data interface{}) + func (base *BaseAction) SetBtnId(btnId string) + type Event string + const EventBlur + const EventChange + const EventClick + const EventContextmenu + const EventDblclick + const EventError + const EventFocus + const EventFocusin + const EventFocusout + const EventKeydown + const EventKeypress + const EventKeyup + const EventLoad + const EventMousedown + const EventMouseenter + const EventMouseleave + const EventMousemove + const EventMouseout + const EventMouseover + const EventMouseup + const EventResize + const EventScroll + const EventSelect + const EventSubmit + const EventUnload + type FieldFilterAction struct + Field string + func FieldFilter(field string) *FieldFilterAction + func (jump *FieldFilterAction) ExtContent() template.HTML + type FileUploadAction struct + FileName string + Handlers []context.Handler + Method string + Url string + func FileUpload(id string, handler types.Handler) *FileUploadAction + func (file *FileUploadAction) BtnAttribute() template.HTML + func (file *FileUploadAction) FooterContent() template.HTML + func (file *FileUploadAction) GetCallbacks() context.Node + func (file *FileUploadAction) Js() template.JS + func (file *FileUploadAction) SetMethod(method string) *FileUploadAction + func (file *FileUploadAction) SetUrl(url string) *FileUploadAction + type GetCtxForm func(ctx *context.Context, panel *types.FormPanel) *types.FormPanel + type GetForm func(panel *types.FormPanel) *types.FormPanel + type IframeData struct + AddParameterFn func(ctx *context.Context) string + Height string + Src string + Width string + type JumpAction struct + Ext template.HTML + NewTabTitle string + Target string + Url string + func Jump(url string, ext ...template.HTML) *JumpAction + func JumpInNewTab(url, title string, ext ...template.HTML) *JumpAction + func JumpWithTarget(url, target string, ext ...template.HTML) *JumpAction + func (jump *JumpAction) BtnAttribute() template.HTML + func (jump *JumpAction) BtnClass() template.HTML + func (jump *JumpAction) ExtContent() template.HTML + func (jump *JumpAction) GetCallbacks() context.Node + type JumpOption struct + Url string + Value string + type JumpOptions []JumpOption + type JumpSelectBoxAction struct + NewTabTitle string + Options JumpOptions + func SelectBoxJump(options JumpOptions) *JumpSelectBoxAction + func (jump *JumpSelectBoxAction) ExtContent() template.HTML + type PopUpAction struct + BtnTitle template.HTML + Data AjaxData + Draggable bool + Event Event + Handlers []context.Handler + HasIframe bool + Height string + HideFooter bool + Id string + Method string + ParameterJS template.JS + Title string + Url string + Width string + func PopUp(id, title string, handler types.Handler) *PopUpAction + func PopUpWithCtxForm(data PopUpData, fn GetCtxForm, url string) *PopUpAction + func PopUpWithForm(data PopUpData, fn GetForm, url string) *PopUpAction + func PopUpWithIframe(id, title string, data IframeData, width, height string) *PopUpAction + func (pop *PopUpAction) BtnAttribute() template.HTML + func (pop *PopUpAction) FooterContent() template.HTML + func (pop *PopUpAction) GetCallbacks() context.Node + func (pop *PopUpAction) Js() template.JS + func (pop *PopUpAction) SetBtnTitle(title template.HTML) *PopUpAction + func (pop *PopUpAction) SetData(data map[string]interface{}) *PopUpAction + func (pop *PopUpAction) SetDraggable() *PopUpAction + func (pop *PopUpAction) SetEvent(event Event) *PopUpAction + func (pop *PopUpAction) SetHeight(height string) *PopUpAction + func (pop *PopUpAction) SetMethod(method string) *PopUpAction + func (pop *PopUpAction) SetParameterJS(parameterJS template.JS) *PopUpAction + func (pop *PopUpAction) SetUrl(url string) *PopUpAction + func (pop *PopUpAction) SetWidth(width string) *PopUpAction + type PopUpData struct + Height string + Id string + Title string + Width string