Author: julien(a)jboss.com
Date: 2007-04-08 05:46:44 -0400 (Sun, 08 Apr 2007)
New Revision: 6952
Modified:
trunk/theme/src/bin/portal-ajax-war/dyna/dyna.js
trunk/theme/src/main/org/jboss/portal/theme/impl/render/dynamic/DynaDecorationRenderer.java
trunk/theme/src/resources/test/theme-test-war/WEB-INF/web.xml
trunk/theme/src/resources/test/theme-test-war/themes/style.css
Log:
style a bit the dyna css in tests
Modified: trunk/theme/src/bin/portal-ajax-war/dyna/dyna.js
===================================================================
--- trunk/theme/src/bin/portal-ajax-war/dyna/dyna.js 2007-04-08 02:35:30 UTC (rev 6951)
+++ trunk/theme/src/bin/portal-ajax-war/dyna/dyna.js 2007-04-08 09:46:44 UTC (rev 6952)
@@ -223,7 +223,7 @@
// Create draggable regions
for(var i = 0;i < regions_on_page.length;i++) {
var region = regions_on_page[i];
- Sortable.create(region,
{dropOnEmpty:true,handle:"handle",tag:"div",containment:regions_on_page,constraint:false});
+ Sortable.create(region,
{dropOnEmpty:true,handle:"dyna-handle",tag:"div",containment:regions_on_page,constraint:false});
}
//
Modified:
trunk/theme/src/main/org/jboss/portal/theme/impl/render/dynamic/DynaDecorationRenderer.java
===================================================================
---
trunk/theme/src/main/org/jboss/portal/theme/impl/render/dynamic/DynaDecorationRenderer.java 2007-04-08
02:35:30 UTC (rev 6951)
+++
trunk/theme/src/main/org/jboss/portal/theme/impl/render/dynamic/DynaDecorationRenderer.java 2007-04-08
09:46:44 UTC (rev 6952)
@@ -62,7 +62,7 @@
//
PrintWriter markup = rendererContext.getWriter();
markup.print("<div class=\"dyna-decoration\">\n");
- markup.print("<div class=\"handle\">");
+ markup.print("<div class=\"dyna-handle\">");
delegate.render(rendererContext, drc);
markup.print("</div>\n");
markup.print("</div>\n");
Modified: trunk/theme/src/resources/test/theme-test-war/WEB-INF/web.xml
===================================================================
--- trunk/theme/src/resources/test/theme-test-war/WEB-INF/web.xml 2007-04-08 02:35:30 UTC
(rev 6951)
+++ trunk/theme/src/resources/test/theme-test-war/WEB-INF/web.xml 2007-04-08 09:46:44 UTC
(rev 6952)
@@ -29,13 +29,6 @@
version="2.4">
<servlet>
- <description>Handles test xmlhttprequests and callbacks from content rendered
by the
- TestThemeServlet</description>
- <servlet-name>TestAJAXServlet</servlet-name>
-
<servlet-class>org.jboss.portal.test.theme.tmp.servlet.TestAJAXServlet</servlet-class>
- <load-on-startup>0</load-on-startup>
- </servlet>
- <servlet>
<description>Renders a theme for testing</description>
<servlet-name>TestServlet</servlet-name>
<servlet-class>org.jboss.portal.test.theme.TestServlet</servlet-class>
Modified: trunk/theme/src/resources/test/theme-test-war/themes/style.css
===================================================================
--- trunk/theme/src/resources/test/theme-test-war/themes/style.css 2007-04-08 02:35:30 UTC
(rev 6951)
+++ trunk/theme/src/resources/test/theme-test-war/themes/style.css 2007-04-08 09:46:44 UTC
(rev 6952)
@@ -1,3 +1,4 @@
+/* Test renderer styling. */
div.test-region {
border: 0px;
@@ -23,4 +24,10 @@
border:1px solid black;
height:127px;
background-color:yellow;
+}
+
+/* Dyna renderer styling. */
+
+div.dyna-handle:hover {
+ cursor:move;
}
\ No newline at end of file
Show replies by date