Author: agilliland
Date: Mon Jun 4 15:58:58 2007
New Revision: 544320
URL: http://svn.apache.org/viewvc?view=rev&rev=544320
Log:
fix for small quirk with using the struts2 checkboxlist tag on comment
management pages. the struts2 checkboxlist tags forces us to have an html
label element even if we don't want one, so on the comment managment pages we
use some custom css to hide those labels.
Added:
roller/trunk/apps/weblogger/web/WEB-INF/jsps/tiles/css-checkboxlistFix.jsp
Modified:
roller/trunk/apps/weblogger/web/WEB-INF/tiles.xml
Added:
roller/trunk/apps/weblogger/web/WEB-INF/jsps/tiles/css-checkboxlistFix.jsp
URL:
http://svn.apache.org/viewvc/roller/trunk/apps/weblogger/web/WEB-INF/jsps/tiles/css-checkboxlistFix.jsp?view=auto&rev=544320
==============================================================================
--- roller/trunk/apps/weblogger/web/WEB-INF/jsps/tiles/css-checkboxlistFix.jsp
(added)
+++ roller/trunk/apps/weblogger/web/WEB-INF/jsps/tiles/css-checkboxlistFix.jsp
Mon Jun 4 15:58:58 2007
@@ -0,0 +1,26 @@
+<%--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. The ASF licenses this file to You
+ under the Apache License, Version 2.0 (the "License"); you may not
+ use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License. For additional information regarding
+ copyright in this work, please see the NOTICE file in the top level
+ directory of this distribution.
+--%>
+#centercontent_wrap {
+ width: 70%;
+}
+#rightcontent_wrap {
+ width: 29%;
+}
+label.checkboxLabel {
+ display: none;
+}
\ No newline at end of file
Modified: roller/trunk/apps/weblogger/web/WEB-INF/tiles.xml
URL:
http://svn.apache.org/viewvc/roller/trunk/apps/weblogger/web/WEB-INF/tiles.xml?view=diff&rev=544320&r1=544319&r2=544320
==============================================================================
--- roller/trunk/apps/weblogger/web/WEB-INF/tiles.xml (original)
+++ roller/trunk/apps/weblogger/web/WEB-INF/tiles.xml Mon Jun 4 15:58:58 2007
@@ -128,7 +128,7 @@
<put name="head" value="/WEB-INF/jsps/tiles/head-ajax.jsp" />
<put name="content"
value="/WEB-INF/jsps/admin/GlobalCommentManagement.jsp" />
<put name="sidebar"
value="/WEB-INF/jsps/admin/GlobalCommentManagementSidebar.jsp" />
- <put name="styles" value="/WEB-INF/jsps/tiles/css-sidebar.jsp" />
+ <put name="styles" value="/WEB-INF/jsps/tiles/css-checkboxlistFix.jsp"
/>
</definition>
<definition name=".CommonPingTargets" extends=".tiles-tabbedpage" >
@@ -195,7 +195,7 @@
<put name="head" value="/WEB-INF/jsps/tiles/head-ajax.jsp" />
<put name="content" value="/WEB-INF/jsps/editor/Comments.jsp" />
<put name="sidebar" value="/WEB-INF/jsps/editor/CommentsSidebar.jsp" />
- <put name="styles" value="/WEB-INF/jsps/tiles/css-sidebar.jsp" />
+ <put name="styles" value="/WEB-INF/jsps/tiles/css-checkboxlistFix.jsp"
/>
</definition>
<definition name=".Categories" extends=".tiles-tabbedpage" >