Plugin SDK v1.4.3 is focused on updates to the JUI framework to improve performance and make it more flexible.
Changes to GridView
GridViews with SelectListViews inside of them were not behaving correctly in event actions and triggers. GridViews should now behave as expected. (PSDK-291) (#314)
GridRow.HorizontalAlignment and GridRow.VerticalAlignment properties have been added to allow you to change the content alignment within a GridViewGridRow. Use the enums EHorizontalAlignment and EVerticalAlignment. (PSDK-295)
GridViews did not align with other views correctly due to some extra padding being added into their HTML. This padding has been removed to better align the view on pages. (PSDK-297)
Changes to SelectListView
Allow SelectListView to use the option key as the value of the option in HTML (PSDK-299)
Include OptionKeys in SelectListView when posted back from HS (PSDK-101) (#124 #201 #223)
Change how plugin triggers and actions are saved to events.json (PSDK-298)
Previously, the whole page (i.e. collection of JUI views) was serialized and saved to events.json. This was causing some problems for select lists that contain dynamic data (such as a list of devices) because the entire select list is loaded from JSON and no call to the plugin is made to refresh it. Now, we only save a list of key/value pairs to events.json, where the key is the id of the view and the value is the return from AbstractView.GetStringValue() (the same thing as the dictionary returned by Page.ToValueMap()), and rely on the plugin the provide the translated list of key/value pairs to display to the user. This behavior is automatically handled using AbstractActionType and AbstractTriggerType, and AbstractActionType2 and AbstractTriggerType2 have been added to allow you finer control over this behavior. The sample plugin has been updated to include an example of this; see the "Write Device PED to Log" event action. (PSDK-303)
Plugin SDK v1.4.3 is focused on updates to the JUI framework to improve performance and make it more flexible.
GridView
GridViews
withSelectListViews
inside of them were not behaving correctly in event actions and triggers.GridViews
should now behave as expected. (PSDK-291) (#314)GridRow.HorizontalAlignment
andGridRow.VerticalAlignment
properties have been added to allow you to change the content alignment within aGridView
GridRow
. Use the enumsEHorizontalAlignment
andEVerticalAlignment
. (PSDK-295)GridViews
did not align with other views correctly due to some extra padding being added into their HTML. This padding has been removed to better align the view on pages. (PSDK-297)SelectListView
SelectListView
to use the option key as the value of the option in HTML (PSDK-299)OptionKeys
inSelectListView
when posted back from HS (PSDK-101) (#124 #201 #223)AbstractView.GetStringValue()
(the same thing as the dictionary returned byPage.ToValueMap()
), and rely on the plugin the provide the translated list of key/value pairs to display to the user. This behavior is automatically handled usingAbstractActionType
andAbstractTriggerType
, andAbstractActionType2
andAbstractTriggerType2
have been added to allow you finer control over this behavior. The sample plugin has been updated to include an example of this; see the "Write Device PED to Log" event action. (PSDK-303)