UNPKG

jsharmony-factory

Version:
76 lines (69 loc) 4.53 kB
{ "Admin/Help": { "title":"Help Screen", "table":"{schema}.help__tbl", "actions":"BIUD", "layout":"form", "caption": [ "", "Help Screen", "Help Screens" ], "menu":"Admin/Help_Listing", "breadcrumbs": { "parents": ["Admin/Help_Listing"] }, "fields":[ {"name":"help_id","type":"bigint","key":1,"control":"hidden"}, {"name":"help_target_id","type":"bigint","actions":"BIU","control":"hidden"}, {"name":"help_target_desc","type":"varchar","length":50,"actions":"B", "sqlselect":"(select help_target_desc from {schema}.help_target where {schema}.help_target.help_target_id = {schema}.help__tbl.help_target_id)", "control":"textbox_L","validate":["Required"], "caption":"Help Target","captionstyle":"width:120px;text-align:right;"}, {"name":"help_target_code_select_target","unbound":true,"control":"hidden", "popuplov": {"target": "Admin/HelpTarget_Popup_Listing", "{{code_val}}": "help_target_code", "popupstyle": "height:400px;width:770px;", "popup_copy_results": { "help_target_code": "help_target_code", "help_target_id": "help_target_id", "help_target_desc": "help_target_desc" }, "popupiconstyle":"position:relative;top:5px;"} }, {"name":"help_target_code","type":"varchar","length":50,"actions":"BIU","readonly":true,"nl":1, "control":"textbox_L", "caption":"Model","captionstyle":"width:120px;text-align:right;"}, //:if:help_target_required::else: {"name":"help_target_code_select_model","unbound":true,"control":"hidden", "popuplov": {"target": "Admin/Model_Popup_Listing", "{{code_val}}": "model_id", "popupstyle": "height:400px;width:770px;", "onpopup": "if(xmodel.get('help_target_id')){ return XExt.Alert('Please clear Help Target before selecting a different model.'); } jsh.App[popupmodelid].ShowUserModels(popupmodelid, parentmodelid, fieldid, onComplete);", "popup_copy_results": { "help_target_code": "model_id" }, "popupiconstyle":"position:relative;top:5px;"} }, //:endif: {"name":"help_seq","type":"int","actions":"BIU","control":"textbox_VS","nl":1, "caption":"Sequence","captionstyle":"width:120px;text-align:right;"}, {"name":"help_listing_main","type":"boolean","actions":"BIU","control":"checkbox", "controlparams":{"value_true":"true","value_false":"false"},"caption":"Main System","default":"1", "captionstyle":"width:120px;text-align:right;"}, //:if:client_portal: {"name":"help_listing_client","type":"boolean","actions":"BIU","control":"checkbox", "controlparams":{"value_true":"true","value_false":"false"},"caption":"Client Portal","default":"1", "captionstyle":"width:120px;text-align:right;"}, //:endif: {"name":"help_title","type":"varchar","length":70,"actions":"BIU","control":"textbox_VL","nl":1, "validate":["Required"],"caption":"Title"}, {"name":"help_text","type":"varchar","length":99999,"actions":"BIU","nl":1, "control":"htmlarea","controlstyle":"width:590px;height:400px;","sample":"Here goes the text ...........", "caption":"Body","captionstyle":"width:120px;height:400px;vertical-align:top;padding-top:3px;text-align:right;", "validate":["Required"]}, {"name":"help_etstmp","type":"datetime","length":7,"actions":"B","nl":1, "control":"textbox_tstmp", "caption":"Entered"}, {"name":"help_euser_fmt","type":"varchar","length":20,"actions":"B", "sqlselect":"({schema}.my_db_user_fmt(help_euser))", "control":"textbox","controlstyle":"width:158px;","caption":""}, {"name":"help_mtstmp","type":"datetime","length":7,"actions":"B","nl":1, "control":"textbox_tstmp", "caption":"Last Updated"}, {"name":"help_muser_fmt","type":"varchar","length":20,"actions":"B", "sqlselect":"({schema}.my_db_user_fmt(help_muser))", "control":"textbox","controlstyle":"width:158px;","caption":"","eol":1} ], "dberrors":[ ["unq_help__tbl_help_unq_code","This Help Target has already been defined."], ["unq_help__tbl_help_title","The Help Target with the same title has already been defined."], ["help__tbl_help_target_code_unique","This Help Target has already been defined."], ["help__tbl_help_title_key","The Help Target with the same title has already been defined."] ] } }