Author: evenisse
Date: Tue Dec 20 02:52:11 2005
New Revision: 357958
URL: http://svn.apache.org/viewcvs?rev=357958&view=rev
Log:
Introduce extremecomponents table
Added:
maven/continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/extremecomponents.tld (with props)
maven/continuum/trunk/continuum-webapp/src/main/webapp/css/extremecomponents.css (with props)
Modified:
maven/continuum/trunk/continuum-webapp/pom.xml
maven/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/SummaryAction.java
maven/continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/web.xml
maven/continuum/trunk/continuum-webapp/src/main/webapp/decorators/default.jsp
maven/continuum/trunk/continuum-webapp/src/main/webapp/decorators/none.jsp
maven/continuum/trunk/continuum-webapp/src/main/webapp/summary.jsp
Modified: maven/continuum/trunk/continuum-webapp/pom.xml
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-webapp/pom.xml?rev=357958&r1=357957&r2=357958&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-webapp/pom.xml (original)
+++ maven/continuum/trunk/continuum-webapp/pom.xml Tue Dec 20 02:52:11 2005
@@ -42,6 +42,11 @@
2.2.1
+ org.extremecomponents
+ extremecomponents
+ 1.0.1-M3
+
+
org.codehaus.plexus
plexus-log4j-logging
Modified: maven/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/SummaryAction.java
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/SummaryAction.java?rev=357958&r1=357957&r2=357958&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/SummaryAction.java (original)
+++ maven/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/SummaryAction.java Tue Dec 20 02:52:11 2005
@@ -19,6 +19,7 @@
import org.apache.maven.continuum.Continuum;
import com.opensymphony.xwork.ActionSupport;
+import com.opensymphony.webwork.ServletActionContext;
import java.util.Collection;
@@ -35,6 +36,7 @@
try
{
projects = continuum.getProjects();
+ ServletActionContext.getRequest().setAttribute( "projects", projects );
}
catch( Exception e )
{
Added: maven/continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/extremecomponents.tld
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/extremecomponents.tld?rev=357958&view=auto
==============================================================================
--- maven/continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/extremecomponents.tld (added)
+++ maven/continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/extremecomponents.tld Tue Dec 20 02:52:11 2005
@@ -0,0 +1,1027 @@
+
+
+
+
+
+ 1.0
+ 1.2
+ eXtremeComponents
+
+ http://www.extremecomponents.org
+
+ eXtremeComponents
+
+
+
+
+ column
+ org.extremecomponents.table.tag.ColumnTag
+ JSP
+ ColumnTag
+
+
+
+ property
+ true
+ true
+
+
+
+
+
+ value
+ false
+ true
+
+
+
+
+
+ title
+ false
+ true
+
+
+
+
+
+ styleClass
+ false
+ true
+
+
+
+
+
+ headerClass
+ false
+ true
+
+
+
+
+
+ headerStyle
+ false
+ true
+
+
+
+
+
+ filterClass
+ false
+ true
+
+
+
+
+
+ filterStyle
+ false
+ true
+
+
+
+
+
+ cell
+ false
+ true
+
+
+
+
+
+ filterCell
+ false
+ true
+
+
+
+
+
+ headerCell
+ false
+ true
+
+
+
+
+
+ format
+ false
+ true
+
+
+
+
+
+ parse
+ false
+ true
+
+
+
+
+
+ filterable
+ false
+ true
+
+
+
+
+
+ sortable
+ false
+ true
+
+
+
+
+
+ width
+ false
+ true
+
+
+
+
+
+ style
+ false
+ true
+
+
+
+
+
+ showTotal
+ false
+ true
+
+
+
+
+
+ viewsAllowed
+ false
+ true
+
+
+
+
+
+ viewsDenied
+ false
+ true
+
+
+
+
+
+
+
+ row
+ org.extremecomponents.table.tag.RowTag
+ JSP
+ RowTag
+
+
+
+ onclick
+ false
+ true
+
+
+
+
+
+ onmouseout
+ false
+ true
+
+
+
+
+
+ onmouseover
+ false
+ true
+
+
+
+
+
+ styleClass
+ false
+ true
+
+
+
+
+
+ style
+ false
+ true
+
+
+
+
+
+ highlightRow
+ false
+ true
+
+
+
+
+
+ highlightClass
+ false
+ true
+
+
+
+
+
+
+
+ exportCsv
+ org.extremecomponents.table.tag.ExportCsvTag
+ JSP
+ ExportCsvTag
+
+
+
+ delimiter
+ false
+ true
+
+
+
+
+
+ fileName
+ true
+ true
+
+
+
+
+
+ imageName
+ false
+ true
+
+
+
+
+
+ view
+ false
+ true
+
+
+
+
+
+ tooltip
+ false
+ true
+
+
+
+
+
+
+
+ input
+ org.extremecomponents.table.tag.InputTag
+ JSP
+ InputTag
+
+
+
+ type
+ true
+ true
+
+
+
+
+
+ name
+ true
+ true
+
+
+
+
+
+ value
+ true
+ true
+
+
+
+
+
+ onclick
+ false
+ true
+
+
+
+
+
+
+
+ table
+ org.extremecomponents.table.tag.TableTag
+ JSP
+ TableTag
+
+
+
+ id
+ false
+ true
+
+
+
+
+
+ collection
+ false
+ true
+
+
+
+
+
+ action
+ false
+ true
+
+
+
+
+
+ tableId
+ false
+ true
+
+
+
+
+
+ items
+ false
+ true
+
+
+
+
+
+ var
+ false
+ true
+
+
+
+
+
+ scope
+ false
+ true
+
+
+
+
+
+ styleClass
+ false
+ true
+
+
+
+
+
+ border
+ false
+ true
+
+
+
+
+
+ cellpadding
+ false
+ true
+
+
+
+
+
+ cellspacing
+ false
+ true
+
+
+
+
+
+ rowsDisplayed
+ false
+ true
+
+
+
+
+
+ filterable
+ false
+ true
+
+
+
+
+
+ showPagination
+ false
+ true
+
+
+
+
+
+ showExports
+ false
+ true
+
+
+
+
+
+ showStatusBar
+ false
+ true
+
+
+
+
+
+ imagePath
+ false
+ true
+
+
+
+
+
+ sortable
+ false
+ true
+
+
+
+
+
+ title
+ false
+ true
+
+
+
+
+
+ style
+ false
+ true
+
+
+
+
+
+ width
+ false
+ true
+
+
+
+
+
+ saveFilterSort
+ false
+ true
+
+
+
+
+
+ autoIncludeParameters
+ false
+ true
+
+
+
+
+
+ totalTitle
+ false
+ true
+
+
+
+
+
+ filterRowsCallback
+ false
+ true
+
+
+
+
+
+ retrieveRowsCallback
+ false
+ true
+
+
+
+
+
+ sortRowsCallback
+ false
+ true
+
+
+
+
+
+ view
+ false
+ true
+
+
+
+
+
+ locale
+ false
+ true
+
+
+
+
+
+
+
+ exportPdf
+ org.extremecomponents.table.tag.ExportPdfTag
+ JSP
+ ExportPdfTag
+
+
+
+ headerBackgroundColor
+ false
+ true
+
+
+
+
+
+ headerColor
+ false
+ true
+
+
+
+
+
+ headerTitle
+ false
+ true
+
+
+
+
+
+ fileName
+ true
+ true
+
+
+
+
+
+ imageName
+ false
+ true
+
+
+
+
+
+ view
+ false
+ true
+
+
+
+
+
+ tooltip
+ false
+ true
+
+
+
+
+
+
+
+ tree
+ org.extremecomponents.table.tag.TreeTag
+ JSP
+ TreeTag
+
+
+
+ parentAttribute
+ true
+ true
+
+
+
+
+
+ identifier
+ true
+ true
+
+
+
+
+
+ id
+ false
+ true
+
+
+
+
+
+ collection
+ false
+ true
+
+
+
+
+
+ action
+ false
+ true
+
+
+
+
+
+ tableId
+ false
+ true
+
+
+
+
+
+ items
+ false
+ true
+
+
+
+
+
+ var
+ false
+ true
+
+
+
+
+
+ scope
+ false
+ true
+
+
+
+
+
+ styleClass
+ false
+ true
+
+
+
+
+
+ border
+ false
+ true
+
+
+
+
+
+ cellpadding
+ false
+ true
+
+
+
+
+
+ cellspacing
+ false
+ true
+
+
+
+
+
+ rowsDisplayed
+ false
+ true
+
+
+
+
+
+ filterable
+ false
+ true
+
+
+
+
+
+ showPagination
+ false
+ true
+
+
+
+
+
+ showExports
+ false
+ true
+
+
+
+
+
+ showStatusBar
+ false
+ true
+
+
+
+
+
+ imagePath
+ false
+ true
+
+
+
+
+
+ sortable
+ false
+ true
+
+
+
+
+
+ title
+ false
+ true
+
+
+
+
+
+ style
+ false
+ true
+
+
+
+
+
+ width
+ false
+ true
+
+
+
+
+
+ saveFilterSort
+ false
+ true
+
+
+
+
+
+ autoIncludeParameters
+ false
+ true
+
+
+
+
+
+ totalTitle
+ false
+ true
+
+
+
+
+
+ filterRowsCallback
+ false
+ true
+
+
+
+
+
+ retrieveRowsCallback
+ false
+ true
+
+
+
+
+
+ sortRowsCallback
+ false
+ true
+
+
+
+
+
+ view
+ false
+ true
+
+
+
+
+
+ locale
+ false
+ true
+
+
+
+
+
+
+
+ form
+ org.extremecomponents.table.tag.FormTag
+ JSP
+ FormTag
+
+
+
+ name
+ true
+ true
+
+
+
+
+
+ action
+ true
+ true
+
+
+
+
+
+ method
+ false
+ true
+
+
+
+
+
+ onsubmit
+ false
+ true
+
+
+
+
+
+
+
+ columns
+ org.extremecomponents.table.tag.ColumnsTag
+ JSP
+ ColumnsTag
+
+
+
+ autoGenerateColumns
+ true
+ true
+
+
+
+
+
+
+
+ export
+ org.extremecomponents.table.tag.ExportTag
+ JSP
+ ExportTag
+
+
+
+ fileName
+ true
+ true
+
+
+
+
+
+ imageName
+ false
+ true
+
+
+
+
+
+ view
+ false
+ true
+
+
+
+
+
+ tooltip
+ false
+ true
+
+
+
+
+
+
+
+ parameter
+ org.extremecomponents.table.tag.ParameterTag
+ JSP
+ ParameterTag
+ attribute will be added as hidden fields ]]>
+
+
+ name
+ true
+ true
+
+
+
+
+
+ value
+ true
+ true
+
+
+
+
+
+
+
Propchange: maven/continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/extremecomponents.tld
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: maven/continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/extremecomponents.tld
------------------------------------------------------------------------------
svn:keywords = "Author Date Id Revision"
Modified: maven/continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/web.xml
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/web.xml?rev=357958&r1=357957&r2=357958&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/web.xml (original)
+++ maven/continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/web.xml Tue Dec 20 02:52:11 2005
@@ -73,6 +73,11 @@
*.vm
+
+ extremecomponentsResourceBundleLocation
+ localization/Continuum
+
+
index.html
Index.action
@@ -91,5 +96,10 @@
webwork
/WEB-INF/lib/webwork-2.1.7.jar
+
+
+
+ /tld/extremecomponents
+ /WEB-INF/extremecomponents.tld
Added: maven/continuum/trunk/continuum-webapp/src/main/webapp/css/extremecomponents.css
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-webapp/src/main/webapp/css/extremecomponents.css?rev=357958&view=auto
==============================================================================
--- maven/continuum/trunk/continuum-webapp/src/main/webapp/css/extremecomponents.css (added)
+++ maven/continuum/trunk/continuum-webapp/src/main/webapp/css/extremecomponents.css Tue Dec 20 02:52:11 2005
@@ -0,0 +1,180 @@
+.eXtremeTable {
+ margin: 0;
+ padding: 0;
+}
+
+.eXtremeTable select {
+ font-family: verdana, arial, helvetica, sans-serif;
+ font-size: 9px;
+ border: solid 1px #EEE;
+ width: 75px;
+}
+
+.eXtremeTable .tableRegion {
+ border: 1px solid silver;
+ padding: 2px;
+ font-family: verdana, arial, helvetica, sans-serif;
+ font-size: 10px;
+ margin-top: 7px;
+}
+
+.eXtremeTable .filter {
+ background-color: #efefef;
+}
+
+.eXtremeTable .filter input {
+ font-family: verdana, arial, helvetica, sans-serif;
+ font-size: 10px;
+ width: 100%;
+}
+
+.eXtremeTable .filter select {
+ font-family: verdana, arial, helvetica, sans-serif;
+ font-size: 9px;
+ border: solid 1px #EEE;
+ width: 100%;
+}
+
+.eXtremeTable .tableHeader {
+ background-color: #308dbb;
+ color: white;
+ font-family: verdana, arial, helvetica, sans-serif;
+ font-size: 11px;
+ font-weight: bold;
+ text-align: left;
+ padding-right: 3px;
+ padding-left: 3px;
+ padding-top: 4;
+ padding-bottom: 4;
+ margin: 0;
+ border-right-style: solid;
+ border-right-width: 1px;
+ border-color: white;
+}
+
+.eXtremeTable .tableHeaderSort {
+ background-color: #3a95c2;
+ color: white;
+ font-family: verdana, arial, helvetica, sans-serif;
+ font-size: 11px;
+ font-weight: bold;
+ text-align: left;
+ padding-right: 3px;
+ padding-left: 3px;
+ padding-top: 4;
+ padding-bottom: 4;
+ border-right-style: solid;
+ border-right-width: 1px;
+ border-color: white;
+}
+
+.eXtremeTable .odd a, .even a {
+ color: Black;
+ font-size: 10px;
+}
+
+.eXtremeTable .odd td, .eXtremeTable .even td {
+ padding-top: 2px;
+ padding-right: 3px;
+ padding-bottom: 2px;
+ padding-left: 3px;
+ vertical-align: middle;
+ font-family: verdana, arial, helvetica, sans-serif;
+ font-size: 10px;
+}
+
+.eXtremeTable .odd {
+ background-color: #FFFFFF;
+}
+
+.eXtremeTable .even {
+ background-color: #dfe4e8;
+}
+
+.eXtremeTable .highlight td {
+ color: black;
+ font-size: 10px;
+ padding-top: 2px;
+ padding-right: 3px;
+ padding-bottom: 2px;
+ padding-left: 3px;
+ vertical-align: middle;
+ background-color: #fdecae;
+}
+
+.eXtremeTable .highlight a, .highlight a {
+ color: black;
+ font-size: 10px;
+}
+
+.eXtremeTable .toolbar {
+ background-color: #F4F4F4;
+ font-family: verdana, arial, helvetica, sans-serif;
+ font-size: 9px;
+ margin-right: 1px;
+ border-right: 1px solid silver;
+ border-left: 1px solid silver;
+ border-top: 1px solid silver;
+ border-bottom: 1px solid silver;
+}
+
+.eXtremeTable .toolbar td {
+ color: #444444;
+ padding: 0px 3px 0px 3px;
+ text-align:center;
+}
+
+.eXtremeTable .separator {
+ width: 7px;
+}
+
+.eXtremeTable .statusBar {
+ background-color: #F4F4F4;
+ font-family: verdana, arial, helvetica, sans-serif;
+ font-size: 10px;
+}
+
+.eXtremeTable .filterButtons {
+ background-color: #efefef;
+ text-align: right;
+}
+
+.eXtremeTable .title {
+ color: #444444;
+ font-weight: bold;
+ font-family: verdana, arial, helvetica, sans-serif;
+ font-size: 15px;
+ vertical-align: middle;
+}
+
+.eXtremeTable .title span {
+ margin-left: 7px;
+}
+
+.eXtremeTable .formButtons {
+ display: block;
+ margin-top: 10px;
+ margin-left: 5px;
+}
+
+.eXtremeTable .formButton {
+ cursor: pointer;
+ font-family: verdana, arial, helvetica, sans-serif;
+ font-size:10px;
+ font-weight: bold;
+ background-color: #308dbb;
+ color: white;
+ margin-top: 5px;
+ border: outset 1px #333;
+ vertical-align: middle;
+}
+
+.eXtremeTable .tableTotal {
+ background-color: #FFFFFF;
+ border-top: solid 1px Silver;
+}
+
+.eXtremeTable .tableTotalEmpty {
+ background-color: #FFFFFF;
+}
+
Propchange: maven/continuum/trunk/continuum-webapp/src/main/webapp/css/extremecomponents.css
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: maven/continuum/trunk/continuum-webapp/src/main/webapp/css/extremecomponents.css
------------------------------------------------------------------------------
svn:keywords = "Author Date Id Revision"
Modified: maven/continuum/trunk/continuum-webapp/src/main/webapp/decorators/default.jsp
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-webapp/src/main/webapp/decorators/default.jsp?rev=357958&r1=357957&r2=357958&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-webapp/src/main/webapp/decorators/default.jsp (original)
+++ maven/continuum/trunk/continuum-webapp/src/main/webapp/decorators/default.jsp Tue Dec 20 02:52:11 2005
@@ -7,6 +7,7 @@
" media="screen" />
" media="print" />
+ " media="screen" />
" type="text/javascript">
Modified: maven/continuum/trunk/continuum-webapp/src/main/webapp/decorators/none.jsp
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-webapp/src/main/webapp/decorators/none.jsp?rev=357958&r1=357957&r2=357958&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-webapp/src/main/webapp/decorators/none.jsp (original)
+++ maven/continuum/trunk/continuum-webapp/src/main/webapp/decorators/none.jsp Tue Dec 20 02:52:11 2005
@@ -5,6 +5,7 @@
" media="screen" />
" media="print" />
+ " media="screen" />
" type="text/javascript">
Modified: maven/continuum/trunk/continuum-webapp/src/main/webapp/summary.jsp
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-webapp/src/main/webapp/summary.jsp?rev=357958&r1=357957&r2=357958&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-webapp/src/main/webapp/summary.jsp (original)
+++ maven/continuum/trunk/continuum-webapp/src/main/webapp/summary.jsp Tue Dec 20 02:52:11 2005
@@ -1,10 +1,31 @@
<%@ taglib uri="webwork" prefix="ww" %>
+<%@ taglib uri="/tld/extremecomponents" prefix="ec" %>
+
+
+
+
+
+
+
+
+
+
+
+ ${pageScope.project.projectGroup.name}
+
+
+
@@ -17,11 +38,19 @@
|
|
+ <% String trStyle = "a"; %>
-
- |
+
">
+ | |
+ |
+ |
+ |
+ |
+ |
+ <% trStyle = "a".equals( trStyle ) ? "b" : "a"; %>
+

" alt="
" title="
"/>
TODO