[rhmessaging-commits] rhmessaging commits: r3224 - mgmt/trunk/wooly/python/wooly.

rhmessaging-commits at lists.jboss.org rhmessaging-commits at lists.jboss.org
Thu Mar 26 16:22:54 EDT 2009


Author: eallen
Date: 2009-03-26 16:22:54 -0400 (Thu, 26 Mar 2009)
New Revision: 3224

Modified:
   mgmt/trunk/wooly/python/wooly/__init__.py
Log:
Added FullPageNotify mix in class. Widgets can inherit from this and determine if they should render in fullpage mode.

Modified: mgmt/trunk/wooly/python/wooly/__init__.py
===================================================================
--- mgmt/trunk/wooly/python/wooly/__init__.py	2009-03-26 20:15:51 UTC (rev 3223)
+++ mgmt/trunk/wooly/python/wooly/__init__.py	2009-03-26 20:22:54 UTC (rev 3224)
@@ -890,4 +890,14 @@
         for call in self.callees:
             call.write(writer)
 
+class FullPageNotify(Widget):
+    def __init__(self, app, name):
+        super(FullPageNotify, self).__init__(app, name)
+
+        self.fullpage = Parameter(app, "fullpage")
+        self.add_attribute(self.fullpage) 
+
+    def get_fullpage(self, session):
+        return self.fullpage.get(session)
+
 from pages import ResourcePage




More information about the rhmessaging-commits mailing list