Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
3500:0800:0870 [2026/08/13 00:55] – removed - external edit (Unknown date) 127.0.0.13500:0800:0870 [2026/08/13 01:10] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +{{tag>Programmers_Reference Client_Side_Plugins Modify_Visual_Perspectives_Content_Panels Visual_Perspectives Content_Panels}}
 +[<10>]
 +====== Modifying default behavior and presentation of content panels in visual perspectives ======
  
 +To modify the default behavior and presentation of content panels in visual perspectives you need to go to a particular visual perspective that you want to modify, select the content panel and then click on the "Scripts" property in the list of properties of the content panel. 
 +
 +The idea here is the same – you have two scripts as before. However, there are no Kendo UI widgets to modify here – you can only modify the markup of the content panel (either during initialization or after it has been drawn). 
 +
 +Two objects are exposed for the initialization script:
 +
 +  * "config" – this is the configuration of the AwareIM "panel" object, the code of which is in ''AwareIM/Tomcat/webapps/AwareIM/aware_kendo/panel.js''. The markup of the panel is stored in the "bodyContent" property of the object config.bodyContent. This is the markup you are most likely to modify here
 +  * "parser" object – this is the controller (AwareApp_Dashboard in ''AwareIM/Tomcat/webapps/AwareIM/aware_kendo/parsers/dashboard.js''
 +
 +
 +{{simplenavi>.:0870}}