[richfaces-svn-commits] JBoss Rich Faces SVN: r9228 - in trunk/ui/modal-panel/src: main/templates/org/richfaces and 1 other directories.

richfaces-svn-commits at lists.jboss.org richfaces-svn-commits at lists.jboss.org
Wed Jun 25 12:36:00 EDT 2008


Author: nbelaevski
Date: 2008-06-25 12:36:00 -0400 (Wed, 25 Jun 2008)
New Revision: 9228

Modified:
   trunk/ui/modal-panel/src/main/resources/org/richfaces/renderkit/html/css/modalPanel.xcss
   trunk/ui/modal-panel/src/main/templates/org/richfaces/htmlModalPanel.jspx
   trunk/ui/modal-panel/src/test/java/org/richfaces/component/ModalPanelComponentTest.java
Log:
ModalPanel test updated

Modified: trunk/ui/modal-panel/src/main/resources/org/richfaces/renderkit/html/css/modalPanel.xcss
===================================================================
--- trunk/ui/modal-panel/src/main/resources/org/richfaces/renderkit/html/css/modalPanel.xcss	2008-06-25 16:28:03 UTC (rev 9227)
+++ trunk/ui/modal-panel/src/main/resources/org/richfaces/renderkit/html/css/modalPanel.xcss	2008-06-25 16:36:00 UTC (rev 9228)
@@ -23,6 +23,10 @@
 			opacity: 0.5;
 		}
 	
+		.dr-mpnl-mask-div-transparent {
+			background-color: transparent;
+		}
+	
 		.dr-mpnl-mask {
 			
 		}

Modified: trunk/ui/modal-panel/src/main/templates/org/richfaces/htmlModalPanel.jspx
===================================================================
--- trunk/ui/modal-panel/src/main/templates/org/richfaces/htmlModalPanel.jspx	2008-06-25 16:28:03 UTC (rev 9227)
+++ trunk/ui/modal-panel/src/main/templates/org/richfaces/htmlModalPanel.jspx	2008-06-25 16:36:00 UTC (rev 9228)
@@ -153,8 +153,8 @@
 				</div>
 			</div>
 			</div>
-			<div class="dr-mpnl-mask-div rich-mpnl-mask-div" id="#{clientId}CursorDiv"
-				style="z-index: -200; background-color: transparent;">
+			<div class="dr-mpnl-mask-div dr-mpnl-mask-div-transparent rich-mpnl-mask-div" id="#{clientId}CursorDiv"
+				style="z-index: -200;">
 				
 		        <button class="dr-mpnl-pnl-button" id="#{clientId}LastHref"></button>
 			</div>

Modified: trunk/ui/modal-panel/src/test/java/org/richfaces/component/ModalPanelComponentTest.java
===================================================================
--- trunk/ui/modal-panel/src/test/java/org/richfaces/component/ModalPanelComponentTest.java	2008-06-25 16:28:03 UTC (rev 9227)
+++ trunk/ui/modal-panel/src/test/java/org/richfaces/component/ModalPanelComponentTest.java	2008-06-25 16:36:00 UTC (rev 9228)
@@ -106,14 +106,13 @@
     	HtmlPage renderedView = renderView();
     	
     	assertNotNull(renderedView);
-/*    	
+    	
     	HtmlElement htmlModalPanel = renderedView.getHtmlElementById(modalPanel.getClientId(facesContext));
     	assertNotNull(htmlModalPanel);
     	assertEquals("div", htmlModalPanel.getNodeName());
     	
     	HtmlElement htmlModalPanelCDiv = renderedView.getHtmlElementById(modalPanel.getClientId(facesContext) + "CDiv");
     	assertNotNull(htmlModalPanelCDiv);
-    	assertTrue(htmlModalPanelCDiv.getAttributeValue("class").contains("dr-mpnl-panel rich-mpnl_panel"));
     	
     	HtmlElement htmlContentDiv = renderedView.getHtmlElementById(modalPanel.getClientId(facesContext) + "ContentDiv");
     	assertNotNull(htmlContentDiv);
@@ -133,7 +132,7 @@
     		assertNotNull(resizer);
     		assertTrue(resizer.getAttributeValue("class").contains("dr-mpnl-resizer rich-mpnl-resizer"));
     	}
-*/    	
+    	
     }
     
     /**




More information about the richfaces-svn-commits mailing list