Package ZenWidgets :: Package browser :: Module Portlets :: Class DeviceIssuesPortletView
[hide private]
[frames] | no frames]

Class DeviceIssuesPortletView

source code

         Acquisition.Explicit --+    
                                |    
Products.Five.browser.BrowserView --+
                                    |
                                   DeviceIssuesPortletView

A list of devices with issues.

Instance Methods [hide private]
 
__call__(self) source code
 
getDeviceIssuesJSON(self)
Get devices with issues in a form suitable for a portlet on the dashboard.
source code
 
getDeviceDashboard(self)
return device info for bad device to dashboard
source code

Inherited from Products.Five.browser.BrowserView: __init__

Class Variables [hide private]

Inherited from Products.Five.browser.BrowserView: security

Method Details [hide private]

getDeviceIssuesJSON(self)

source code 

Get devices with issues in a form suitable for a portlet on the
dashboard.

@return: A JSON representation of a dictionary describing devices
@rtype: "{
    'columns':['Device', "Events'],
    'data':[
        {'Device':'<a href=/>', 'Events':'<div/>'},
        {'Device':'<a href=/>', 'Events':'<div/>'},
    ]}"

Decorators:
  • @json