JBoss Rich Faces SVN: r17026 - root/ui-sandbox/tables/trunk/ui/src/main/resources/META-INF/resources.
by richfaces-svn-commits@lists.jboss.org
Author: abelevich
Date: 2010-05-13 12:54:13 -0400 (Thu, 13 May 2010)
New Revision: 17026
Modified:
root/ui-sandbox/tables/trunk/ui/src/main/resources/META-INF/resources/datatable.js
Log:
use jQuery each()
Modified: root/ui-sandbox/tables/trunk/ui/src/main/resources/META-INF/resources/datatable.js
===================================================================
--- root/ui-sandbox/tables/trunk/ui/src/main/resources/META-INF/resources/datatable.js 2010-05-13 16:35:39 UTC (rev 17025)
+++ root/ui-sandbox/tables/trunk/ui/src/main/resources/META-INF/resources/datatable.js 2010-05-13 16:54:13 UTC (rev 17026)
@@ -71,17 +71,17 @@
invokeOnSubTables: function(funcName) {
var elements = $(document.getElementById(this.id)).children(richfaces.ui.DataTable.SUBTABLE_SELECTOR);
- if(elements && elements.length > 0) {
- for (var key in elements) {
- var element = elements[key];
- if(element && element.richfaces && element.richfaces.component) {
- var component = element.richfaces.component;
- if(component instanceof RichFaces.ui.SubTable) {
- this.invokeOnComponent(component, funcName)
+ var invokeOnComponent = this.invokeOnComponent;
+ elements.each(
+ function(){
+ if(this.richfaces && this.richfaces.component) {
+ var component = this.richfaces.component;
+ if(component instanceof RichFaces.ui.SubTable) {
+ invokeOnComponent(component, funcName);
+ }
}
}
- }
- }
+ );
},
invokeOnSubTable: function(id, funcName) {
@@ -97,7 +97,6 @@
}
}
}
-
}
})());
14 years, 4 months
JBoss Rich Faces SVN: r17025 - root/ui-sandbox/tables/trunk/ui/src/main/resources/META-INF/resources.
by richfaces-svn-commits@lists.jboss.org
Author: abelevich
Date: 2010-05-13 12:35:39 -0400 (Thu, 13 May 2010)
New Revision: 17025
Removed:
root/ui-sandbox/tables/trunk/ui/src/main/resources/META-INF/resources/datatable-test.js
Log:
remove
Deleted: root/ui-sandbox/tables/trunk/ui/src/main/resources/META-INF/resources/datatable-test.js
===================================================================
--- root/ui-sandbox/tables/trunk/ui/src/main/resources/META-INF/resources/datatable-test.js 2010-05-13 16:30:13 UTC (rev 17024)
+++ root/ui-sandbox/tables/trunk/ui/src/main/resources/META-INF/resources/datatable-test.js 2010-05-13 16:35:39 UTC (rev 17025)
@@ -1,51 +0,0 @@
-(function(jQuery, RichFaces) {
-
- RichFaces.ui = RichFaces.ui || {};
-
- RichFaces.ui.DataTable = function(id, options) {
- this.id = id;
- this.options = options;
- this.sortField = options.sortField;
- this.init(options);
-
- }
-
- jQuery.extend(RichFaces.ui.DataTable.prototype, ( function () {
-
- var clientToggle = function(e, data) {
- };
-
- var serverToggle = function(e,data){
- };
-
- var ajaxToggle = function(event,data){
- var component = event.data.component;
-
- component.save(data.source);
-
- var params = {"source": data.source, "javax.faces.partial.render":"@all"};
- var id = component.id;
- jsf.ajax.request(id, event, params);
- };
-
- return {
- init: function(options) {
- this.switchType = options.switchType;
- RichFaces.Event.bindById(this.id, 'RICH:sort', this.toggle, this);
- },
-
- toggle: function(e,elem, d) {
- ajaxToggle(e,d);
- },
-
- save: function(state) {
- var fieldToSave = jQuery(document.getElementById(this.sortField));
- fieldToSave.attr('value', state);
- }
-
- }
-
- })());
-
-})(jQuery, window.RichFaces);
-
14 years, 4 months
JBoss Rich Faces SVN: r17024 - in root/ui-sandbox/componentcontrol/trunk/src/main/java/org/richfaces: component and 4 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: abelevich
Date: 2010-05-13 12:30:13 -0400 (Thu, 13 May 2010)
New Revision: 17024
Modified:
root/ui-sandbox/componentcontrol/trunk/src/main/java/org/richfaces/BehaviorStateHelper.java
root/ui-sandbox/componentcontrol/trunk/src/main/java/org/richfaces/component/UIHashParameter.java
root/ui-sandbox/componentcontrol/trunk/src/main/java/org/richfaces/component/behavior/ClientBehavior.java
root/ui-sandbox/componentcontrol/trunk/src/main/java/org/richfaces/component/behavior/ComponentControlBehavior.java
root/ui-sandbox/componentcontrol/trunk/src/main/java/org/richfaces/renderkit/ComponentControlBehaviorRenderer.java
root/ui-sandbox/componentcontrol/trunk/src/main/java/org/richfaces/tag/BehaviorRule.java
root/ui-sandbox/componentcontrol/trunk/src/main/java/org/richfaces/tag/BehaviorTagHandlerDelegate.java
root/ui-sandbox/componentcontrol/trunk/src/main/java/org/richfaces/tag/CustomBehaviorHandler.java
root/ui-sandbox/componentcontrol/trunk/src/main/java/org/richfaces/taglib/ComponentControlHandler.java
Log:
add/update license headers
Modified: root/ui-sandbox/componentcontrol/trunk/src/main/java/org/richfaces/BehaviorStateHelper.java
===================================================================
--- root/ui-sandbox/componentcontrol/trunk/src/main/java/org/richfaces/BehaviorStateHelper.java 2010-05-13 16:26:10 UTC (rev 17023)
+++ root/ui-sandbox/componentcontrol/trunk/src/main/java/org/richfaces/BehaviorStateHelper.java 2010-05-13 16:30:13 UTC (rev 17024)
@@ -1,3 +1,25 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright ${year}, Red Hat, Inc. and individual contributors
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+
package org.richfaces;
import javax.el.ValueExpression;
Modified: root/ui-sandbox/componentcontrol/trunk/src/main/java/org/richfaces/component/UIHashParameter.java
===================================================================
--- root/ui-sandbox/componentcontrol/trunk/src/main/java/org/richfaces/component/UIHashParameter.java 2010-05-13 16:26:10 UTC (rev 17023)
+++ root/ui-sandbox/componentcontrol/trunk/src/main/java/org/richfaces/component/UIHashParameter.java 2010-05-13 16:30:13 UTC (rev 17024)
@@ -1,3 +1,25 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright ${year}, Red Hat, Inc. and individual contributors
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+
package org.richfaces.component;
import java.util.HashMap;
Modified: root/ui-sandbox/componentcontrol/trunk/src/main/java/org/richfaces/component/behavior/ClientBehavior.java
===================================================================
--- root/ui-sandbox/componentcontrol/trunk/src/main/java/org/richfaces/component/behavior/ClientBehavior.java 2010-05-13 16:26:10 UTC (rev 17023)
+++ root/ui-sandbox/componentcontrol/trunk/src/main/java/org/richfaces/component/behavior/ClientBehavior.java 2010-05-13 16:30:13 UTC (rev 17024)
@@ -1,3 +1,25 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright ${year}, Red Hat, Inc. and individual contributors
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+
package org.richfaces.component.behavior;
import java.io.Serializable;
Modified: root/ui-sandbox/componentcontrol/trunk/src/main/java/org/richfaces/component/behavior/ComponentControlBehavior.java
===================================================================
--- root/ui-sandbox/componentcontrol/trunk/src/main/java/org/richfaces/component/behavior/ComponentControlBehavior.java 2010-05-13 16:26:10 UTC (rev 17023)
+++ root/ui-sandbox/componentcontrol/trunk/src/main/java/org/richfaces/component/behavior/ComponentControlBehavior.java 2010-05-13 16:30:13 UTC (rev 17024)
@@ -1,3 +1,25 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright ${year}, Red Hat, Inc. and individual contributors
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+
package org.richfaces.component.behavior;
import java.util.ArrayList;
Modified: root/ui-sandbox/componentcontrol/trunk/src/main/java/org/richfaces/renderkit/ComponentControlBehaviorRenderer.java
===================================================================
--- root/ui-sandbox/componentcontrol/trunk/src/main/java/org/richfaces/renderkit/ComponentControlBehaviorRenderer.java 2010-05-13 16:26:10 UTC (rev 17023)
+++ root/ui-sandbox/componentcontrol/trunk/src/main/java/org/richfaces/renderkit/ComponentControlBehaviorRenderer.java 2010-05-13 16:30:13 UTC (rev 17024)
@@ -1,3 +1,25 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright ${year}, Red Hat, Inc. and individual contributors
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+
package org.richfaces.renderkit;
import java.util.ArrayList;
Modified: root/ui-sandbox/componentcontrol/trunk/src/main/java/org/richfaces/tag/BehaviorRule.java
===================================================================
--- root/ui-sandbox/componentcontrol/trunk/src/main/java/org/richfaces/tag/BehaviorRule.java 2010-05-13 16:26:10 UTC (rev 17023)
+++ root/ui-sandbox/componentcontrol/trunk/src/main/java/org/richfaces/tag/BehaviorRule.java 2010-05-13 16:30:13 UTC (rev 17024)
@@ -1,3 +1,25 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright ${year}, Red Hat, Inc. and individual contributors
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+
package org.richfaces.tag;
import javax.faces.view.facelets.FaceletContext;
Modified: root/ui-sandbox/componentcontrol/trunk/src/main/java/org/richfaces/tag/BehaviorTagHandlerDelegate.java
===================================================================
--- root/ui-sandbox/componentcontrol/trunk/src/main/java/org/richfaces/tag/BehaviorTagHandlerDelegate.java 2010-05-13 16:26:10 UTC (rev 17023)
+++ root/ui-sandbox/componentcontrol/trunk/src/main/java/org/richfaces/tag/BehaviorTagHandlerDelegate.java 2010-05-13 16:30:13 UTC (rev 17024)
@@ -1,3 +1,25 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright ${year}, Red Hat, Inc. and individual contributors
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+
package org.richfaces.tag;
import java.io.IOException;
Modified: root/ui-sandbox/componentcontrol/trunk/src/main/java/org/richfaces/tag/CustomBehaviorHandler.java
===================================================================
--- root/ui-sandbox/componentcontrol/trunk/src/main/java/org/richfaces/tag/CustomBehaviorHandler.java 2010-05-13 16:26:10 UTC (rev 17023)
+++ root/ui-sandbox/componentcontrol/trunk/src/main/java/org/richfaces/tag/CustomBehaviorHandler.java 2010-05-13 16:30:13 UTC (rev 17024)
@@ -1,3 +1,25 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright ${year}, Red Hat, Inc. and individual contributors
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+
package org.richfaces.tag;
import javax.faces.view.facelets.BehaviorConfig;
Modified: root/ui-sandbox/componentcontrol/trunk/src/main/java/org/richfaces/taglib/ComponentControlHandler.java
===================================================================
--- root/ui-sandbox/componentcontrol/trunk/src/main/java/org/richfaces/taglib/ComponentControlHandler.java 2010-05-13 16:26:10 UTC (rev 17023)
+++ root/ui-sandbox/componentcontrol/trunk/src/main/java/org/richfaces/taglib/ComponentControlHandler.java 2010-05-13 16:30:13 UTC (rev 17024)
@@ -1,3 +1,25 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright ${year}, Red Hat, Inc. and individual contributors
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+
package org.richfaces.taglib;
import java.io.IOException;
14 years, 4 months
JBoss Rich Faces SVN: r17023 - in root/ui-sandbox/datascroller/trunk/ui/src/main/java/org/richfaces: component and 3 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: abelevich
Date: 2010-05-13 12:26:10 -0400 (Thu, 13 May 2010)
New Revision: 17023
Modified:
root/ui-sandbox/datascroller/trunk/ui/src/main/java/org/richfaces/DataScrollerUtils.java
root/ui-sandbox/datascroller/trunk/ui/src/main/java/org/richfaces/component/UIDataScroller.java
root/ui-sandbox/datascroller/trunk/ui/src/main/java/org/richfaces/event/DataTablePreRenderListener.java
root/ui-sandbox/datascroller/trunk/ui/src/main/java/org/richfaces/renderkit/ControlsState.java
root/ui-sandbox/datascroller/trunk/ui/src/main/java/org/richfaces/renderkit/DataScrollerBaseRenderer.java
root/ui-sandbox/datascroller/trunk/ui/src/main/java/org/richfaces/taglib/DatascrollerTagHandler.java
Log:
add/update license headers
Modified: root/ui-sandbox/datascroller/trunk/ui/src/main/java/org/richfaces/DataScrollerUtils.java
===================================================================
--- root/ui-sandbox/datascroller/trunk/ui/src/main/java/org/richfaces/DataScrollerUtils.java 2010-05-13 16:24:12 UTC (rev 17022)
+++ root/ui-sandbox/datascroller/trunk/ui/src/main/java/org/richfaces/DataScrollerUtils.java 2010-05-13 16:26:10 UTC (rev 17023)
@@ -1,3 +1,25 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright ${year}, Red Hat, Inc. and individual contributors
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+
package org.richfaces;
import java.io.Serializable;
Modified: root/ui-sandbox/datascroller/trunk/ui/src/main/java/org/richfaces/component/UIDataScroller.java
===================================================================
--- root/ui-sandbox/datascroller/trunk/ui/src/main/java/org/richfaces/component/UIDataScroller.java 2010-05-13 16:24:12 UTC (rev 17022)
+++ root/ui-sandbox/datascroller/trunk/ui/src/main/java/org/richfaces/component/UIDataScroller.java 2010-05-13 16:26:10 UTC (rev 17023)
@@ -1,3 +1,25 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright ${year}, Red Hat, Inc. and individual contributors
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+
package org.richfaces.component;
import java.util.List;
Modified: root/ui-sandbox/datascroller/trunk/ui/src/main/java/org/richfaces/event/DataTablePreRenderListener.java
===================================================================
--- root/ui-sandbox/datascroller/trunk/ui/src/main/java/org/richfaces/event/DataTablePreRenderListener.java 2010-05-13 16:24:12 UTC (rev 17022)
+++ root/ui-sandbox/datascroller/trunk/ui/src/main/java/org/richfaces/event/DataTablePreRenderListener.java 2010-05-13 16:26:10 UTC (rev 17023)
@@ -1,3 +1,25 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright ${year}, Red Hat, Inc. and individual contributors
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+
package org.richfaces.event;
import java.util.ArrayList;
Modified: root/ui-sandbox/datascroller/trunk/ui/src/main/java/org/richfaces/renderkit/ControlsState.java
===================================================================
--- root/ui-sandbox/datascroller/trunk/ui/src/main/java/org/richfaces/renderkit/ControlsState.java 2010-05-13 16:24:12 UTC (rev 17022)
+++ root/ui-sandbox/datascroller/trunk/ui/src/main/java/org/richfaces/renderkit/ControlsState.java 2010-05-13 16:26:10 UTC (rev 17023)
@@ -1,22 +1,23 @@
-/**
- * License Agreement.
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright ${year}, Red Hat, Inc. and individual contributors
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
*
- * JBoss RichFaces - Ajax4jsf Component Library
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
*
- * Copyright (C) 2007 Exadel, Inc.
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License version 2.1 as published by the Free Software Foundation.
- *
- * This library is distributed in the hope that it will be useful,
+ * This software is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
*/
package org.richfaces.renderkit;
Modified: root/ui-sandbox/datascroller/trunk/ui/src/main/java/org/richfaces/renderkit/DataScrollerBaseRenderer.java
===================================================================
--- root/ui-sandbox/datascroller/trunk/ui/src/main/java/org/richfaces/renderkit/DataScrollerBaseRenderer.java 2010-05-13 16:24:12 UTC (rev 17022)
+++ root/ui-sandbox/datascroller/trunk/ui/src/main/java/org/richfaces/renderkit/DataScrollerBaseRenderer.java 2010-05-13 16:26:10 UTC (rev 17023)
@@ -1,24 +1,26 @@
-/**
- * License Agreement.
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright ${year}, Red Hat, Inc. and individual contributors
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
*
- * JBoss RichFaces - Ajax4jsf Component Library
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
*
- * Copyright (C) 2007 Exadel, Inc.
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License version 2.1 as published by the Free Software Foundation.
- *
- * This library is distributed in the hope that it will be useful,
+ * This software is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
*/
+
package org.richfaces.renderkit;
import java.io.IOException;
Modified: root/ui-sandbox/datascroller/trunk/ui/src/main/java/org/richfaces/taglib/DatascrollerTagHandler.java
===================================================================
--- root/ui-sandbox/datascroller/trunk/ui/src/main/java/org/richfaces/taglib/DatascrollerTagHandler.java 2010-05-13 16:24:12 UTC (rev 17022)
+++ root/ui-sandbox/datascroller/trunk/ui/src/main/java/org/richfaces/taglib/DatascrollerTagHandler.java 2010-05-13 16:26:10 UTC (rev 17023)
@@ -1,22 +1,23 @@
-/**
- * License Agreement.
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright ${year}, Red Hat, Inc. and individual contributors
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
*
- * JBoss RichFaces - Ajax4jsf Component Library
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
*
- * Copyright (C) 2007 Exadel, Inc.
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License version 2.1 as published by the Free Software Foundation.
- *
- * This library is distributed in the hope that it will be useful,
+ * This software is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
*/
package org.richfaces.taglib;
14 years, 4 months
JBoss Rich Faces SVN: r17022 - in root/ui-sandbox/tables/trunk: api/src/main/java/org/richfaces/event and 5 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: abelevich
Date: 2010-05-13 12:24:12 -0400 (Thu, 13 May 2010)
New Revision: 17022
Modified:
root/ui-sandbox/tables/trunk/api/src/main/java/org/richfaces/component/Column.java
root/ui-sandbox/tables/trunk/api/src/main/java/org/richfaces/component/Expandable.java
root/ui-sandbox/tables/trunk/api/src/main/java/org/richfaces/component/Row.java
root/ui-sandbox/tables/trunk/api/src/main/java/org/richfaces/event/PagingEvent.java
root/ui-sandbox/tables/trunk/api/src/main/java/org/richfaces/event/PagingListener.java
root/ui-sandbox/tables/trunk/api/src/main/java/org/richfaces/event/SortingEvent.java
root/ui-sandbox/tables/trunk/api/src/main/java/org/richfaces/event/SortingListener.java
root/ui-sandbox/tables/trunk/api/src/main/java/org/richfaces/event/ToggleEvent.java
root/ui-sandbox/tables/trunk/api/src/main/java/org/richfaces/event/ToggleListener.java
root/ui-sandbox/tables/trunk/api/src/main/java/org/richfaces/model/SortMode.java
root/ui-sandbox/tables/trunk/api/src/main/java/org/richfaces/renderkit/RowHolderBase.java
root/ui-sandbox/tables/trunk/ui/src/main/java/org/richfaces/component/DataTableColumnsIterator.java
root/ui-sandbox/tables/trunk/ui/src/main/java/org/richfaces/component/DataTableDataIterator.java
root/ui-sandbox/tables/trunk/ui/src/main/java/org/richfaces/component/DataTableFixedChildrenIterator.java
root/ui-sandbox/tables/trunk/ui/src/main/java/org/richfaces/component/DataTableIteratorBase.java
root/ui-sandbox/tables/trunk/ui/src/main/java/org/richfaces/component/SubtableFixedChildrenIterator.java
root/ui-sandbox/tables/trunk/ui/src/main/java/org/richfaces/component/UIColumnGroup.java
root/ui-sandbox/tables/trunk/ui/src/main/java/org/richfaces/component/UIDataTable.java
root/ui-sandbox/tables/trunk/ui/src/main/java/org/richfaces/component/UISubTable.java
root/ui-sandbox/tables/trunk/ui/src/main/java/org/richfaces/component/UIToggleControl.java
root/ui-sandbox/tables/trunk/ui/src/main/java/org/richfaces/renderkit/AbstractRowsRenderer.java
root/ui-sandbox/tables/trunk/ui/src/main/java/org/richfaces/renderkit/AbstractTableBaseRenderer.java
root/ui-sandbox/tables/trunk/ui/src/main/java/org/richfaces/renderkit/AbstractTableRenderer.java
root/ui-sandbox/tables/trunk/ui/src/main/java/org/richfaces/renderkit/ColumnGroupRenderer.java
root/ui-sandbox/tables/trunk/ui/src/main/java/org/richfaces/renderkit/DataTableRenderer.java
root/ui-sandbox/tables/trunk/ui/src/main/java/org/richfaces/renderkit/DataTableRowsRenderer.java
root/ui-sandbox/tables/trunk/ui/src/main/java/org/richfaces/renderkit/HeaderEncodeStrategy.java
root/ui-sandbox/tables/trunk/ui/src/main/java/org/richfaces/renderkit/RowHolder.java
root/ui-sandbox/tables/trunk/ui/src/main/java/org/richfaces/renderkit/SubTableRenderer.java
root/ui-sandbox/tables/trunk/ui/src/main/java/org/richfaces/renderkit/ToggleControlRendererBase.java
root/ui-sandbox/tables/trunk/ui/src/main/java/org/richfaces/taglib/DataTableHandler.java
root/ui-sandbox/tables/trunk/ui/src/main/java/org/richfaces/taglib/SubTableHandler.java
Log:
add/update license headers
Modified: root/ui-sandbox/tables/trunk/api/src/main/java/org/richfaces/component/Column.java
===================================================================
--- root/ui-sandbox/tables/trunk/api/src/main/java/org/richfaces/component/Column.java 2010-05-13 16:22:05 UTC (rev 17021)
+++ root/ui-sandbox/tables/trunk/api/src/main/java/org/richfaces/component/Column.java 2010-05-13 16:24:12 UTC (rev 17022)
@@ -1,22 +1,23 @@
-/**
- * License Agreement.
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright ${year}, Red Hat, Inc. and individual contributors
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
*
- * JBoss RichFaces - Ajax4jsf Component Library
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
*
- * Copyright (C) 2007 Exadel, Inc.
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License version 2.1 as published by the Free Software Foundation.
- *
- * This library is distributed in the hope that it will be useful,
+ * This software is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
*/
package org.richfaces.component;
Modified: root/ui-sandbox/tables/trunk/api/src/main/java/org/richfaces/component/Expandable.java
===================================================================
--- root/ui-sandbox/tables/trunk/api/src/main/java/org/richfaces/component/Expandable.java 2010-05-13 16:22:05 UTC (rev 17021)
+++ root/ui-sandbox/tables/trunk/api/src/main/java/org/richfaces/component/Expandable.java 2010-05-13 16:24:12 UTC (rev 17022)
@@ -1,3 +1,26 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright ${year}, Red Hat, Inc. and individual contributors
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+
+
package org.richfaces.component;
import javax.el.MethodExpression;
Modified: root/ui-sandbox/tables/trunk/api/src/main/java/org/richfaces/component/Row.java
===================================================================
--- root/ui-sandbox/tables/trunk/api/src/main/java/org/richfaces/component/Row.java 2010-05-13 16:22:05 UTC (rev 17021)
+++ root/ui-sandbox/tables/trunk/api/src/main/java/org/richfaces/component/Row.java 2010-05-13 16:24:12 UTC (rev 17022)
@@ -1,22 +1,23 @@
-/**
- * License Agreement.
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright ${year}, Red Hat, Inc. and individual contributors
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
*
- * JBoss RichFaces - Ajax4jsf Component Library
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
*
- * Copyright (C) 2007 Exadel, Inc.
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License version 2.1 as published by the Free Software Foundation.
- *
- * This library is distributed in the hope that it will be useful,
+ * This software is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
*/
package org.richfaces.component;
Modified: root/ui-sandbox/tables/trunk/api/src/main/java/org/richfaces/event/PagingEvent.java
===================================================================
--- root/ui-sandbox/tables/trunk/api/src/main/java/org/richfaces/event/PagingEvent.java 2010-05-13 16:22:05 UTC (rev 17021)
+++ root/ui-sandbox/tables/trunk/api/src/main/java/org/richfaces/event/PagingEvent.java 2010-05-13 16:24:12 UTC (rev 17022)
@@ -1,3 +1,25 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright ${year}, Red Hat, Inc. and individual contributors
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+
package org.richfaces.event;
import javax.faces.component.UIComponent;
Modified: root/ui-sandbox/tables/trunk/api/src/main/java/org/richfaces/event/PagingListener.java
===================================================================
--- root/ui-sandbox/tables/trunk/api/src/main/java/org/richfaces/event/PagingListener.java 2010-05-13 16:22:05 UTC (rev 17021)
+++ root/ui-sandbox/tables/trunk/api/src/main/java/org/richfaces/event/PagingListener.java 2010-05-13 16:24:12 UTC (rev 17022)
@@ -1,3 +1,25 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright ${year}, Red Hat, Inc. and individual contributors
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+
package org.richfaces.event;
import javax.faces.event.FacesListener;
Modified: root/ui-sandbox/tables/trunk/api/src/main/java/org/richfaces/event/SortingEvent.java
===================================================================
--- root/ui-sandbox/tables/trunk/api/src/main/java/org/richfaces/event/SortingEvent.java 2010-05-13 16:22:05 UTC (rev 17021)
+++ root/ui-sandbox/tables/trunk/api/src/main/java/org/richfaces/event/SortingEvent.java 2010-05-13 16:24:12 UTC (rev 17022)
@@ -1,3 +1,25 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright ${year}, Red Hat, Inc. and individual contributors
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+
package org.richfaces.event;
import javax.faces.component.UIComponent;
Modified: root/ui-sandbox/tables/trunk/api/src/main/java/org/richfaces/event/SortingListener.java
===================================================================
--- root/ui-sandbox/tables/trunk/api/src/main/java/org/richfaces/event/SortingListener.java 2010-05-13 16:22:05 UTC (rev 17021)
+++ root/ui-sandbox/tables/trunk/api/src/main/java/org/richfaces/event/SortingListener.java 2010-05-13 16:24:12 UTC (rev 17022)
@@ -1,3 +1,25 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright ${year}, Red Hat, Inc. and individual contributors
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+
package org.richfaces.event;
import javax.faces.event.FacesListener;
Modified: root/ui-sandbox/tables/trunk/api/src/main/java/org/richfaces/event/ToggleEvent.java
===================================================================
--- root/ui-sandbox/tables/trunk/api/src/main/java/org/richfaces/event/ToggleEvent.java 2010-05-13 16:22:05 UTC (rev 17021)
+++ root/ui-sandbox/tables/trunk/api/src/main/java/org/richfaces/event/ToggleEvent.java 2010-05-13 16:24:12 UTC (rev 17022)
@@ -1,3 +1,25 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright ${year}, Red Hat, Inc. and individual contributors
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+
package org.richfaces.event;
import javax.faces.component.UIComponent;
@@ -8,7 +30,6 @@
* @author Anton Belevich
*
*/
-//TODO nick - move to api
public class ToggleEvent extends FacesEvent {
private static final long serialVersionUID = 2916560585918250885L;
Modified: root/ui-sandbox/tables/trunk/api/src/main/java/org/richfaces/event/ToggleListener.java
===================================================================
--- root/ui-sandbox/tables/trunk/api/src/main/java/org/richfaces/event/ToggleListener.java 2010-05-13 16:22:05 UTC (rev 17021)
+++ root/ui-sandbox/tables/trunk/api/src/main/java/org/richfaces/event/ToggleListener.java 2010-05-13 16:24:12 UTC (rev 17022)
@@ -1,3 +1,25 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright ${year}, Red Hat, Inc. and individual contributors
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+
package org.richfaces.event;
import javax.faces.event.FacesListener;
Modified: root/ui-sandbox/tables/trunk/api/src/main/java/org/richfaces/model/SortMode.java
===================================================================
--- root/ui-sandbox/tables/trunk/api/src/main/java/org/richfaces/model/SortMode.java 2010-05-13 16:22:05 UTC (rev 17021)
+++ root/ui-sandbox/tables/trunk/api/src/main/java/org/richfaces/model/SortMode.java 2010-05-13 16:24:12 UTC (rev 17022)
@@ -1,3 +1,25 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright ${year}, Red Hat, Inc. and individual contributors
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+
package org.richfaces.model;
public enum SortMode {
Modified: root/ui-sandbox/tables/trunk/api/src/main/java/org/richfaces/renderkit/RowHolderBase.java
===================================================================
--- root/ui-sandbox/tables/trunk/api/src/main/java/org/richfaces/renderkit/RowHolderBase.java 2010-05-13 16:22:05 UTC (rev 17021)
+++ root/ui-sandbox/tables/trunk/api/src/main/java/org/richfaces/renderkit/RowHolderBase.java 2010-05-13 16:24:12 UTC (rev 17022)
@@ -1,3 +1,25 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright ${year}, Red Hat, Inc. and individual contributors
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+
package org.richfaces.renderkit;
import javax.faces.context.FacesContext;
Modified: root/ui-sandbox/tables/trunk/ui/src/main/java/org/richfaces/component/DataTableColumnsIterator.java
===================================================================
--- root/ui-sandbox/tables/trunk/ui/src/main/java/org/richfaces/component/DataTableColumnsIterator.java 2010-05-13 16:22:05 UTC (rev 17021)
+++ root/ui-sandbox/tables/trunk/ui/src/main/java/org/richfaces/component/DataTableColumnsIterator.java 2010-05-13 16:24:12 UTC (rev 17022)
@@ -1,23 +1,25 @@
-/**
- * License Agreement.
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright ${year}, Red Hat, Inc. and individual contributors
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
*
- * Rich Faces - Natural Ajax for Java Server Faces (JSF)
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
*
- * Copyright (C) 2007 Exadel, Inc.
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License version 2.1 as published by the Free Software Foundation.
- *
- * This library is distributed in the hope that it will be useful,
+ * This software is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
*/
+
package org.richfaces.component;
import java.util.Iterator;
Modified: root/ui-sandbox/tables/trunk/ui/src/main/java/org/richfaces/component/DataTableDataIterator.java
===================================================================
--- root/ui-sandbox/tables/trunk/ui/src/main/java/org/richfaces/component/DataTableDataIterator.java 2010-05-13 16:22:05 UTC (rev 17021)
+++ root/ui-sandbox/tables/trunk/ui/src/main/java/org/richfaces/component/DataTableDataIterator.java 2010-05-13 16:24:12 UTC (rev 17022)
@@ -1,23 +1,26 @@
-/**
- * License Agreement.
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright ${year}, Red Hat, Inc. and individual contributors
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
*
- * Rich Faces - Natural Ajax for Java Server Faces (JSF)
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
*
- * Copyright (C) 2007 Exadel, Inc.
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License version 2.1 as published by the Free Software Foundation.
- *
- * This library is distributed in the hope that it will be useful,
+ * This software is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
*/
+
+
package org.richfaces.component;
import java.util.Iterator;
Modified: root/ui-sandbox/tables/trunk/ui/src/main/java/org/richfaces/component/DataTableFixedChildrenIterator.java
===================================================================
--- root/ui-sandbox/tables/trunk/ui/src/main/java/org/richfaces/component/DataTableFixedChildrenIterator.java 2010-05-13 16:22:05 UTC (rev 17021)
+++ root/ui-sandbox/tables/trunk/ui/src/main/java/org/richfaces/component/DataTableFixedChildrenIterator.java 2010-05-13 16:24:12 UTC (rev 17022)
@@ -1,23 +1,25 @@
-/**
- * License Agreement.
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright ${year}, Red Hat, Inc. and individual contributors
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
*
- * Rich Faces - Natural Ajax for Java Server Faces (JSF)
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
*
- * Copyright (C) 2007 Exadel, Inc.
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License version 2.1 as published by the Free Software Foundation.
- *
- * This library is distributed in the hope that it will be useful,
+ * This software is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
*/
+
package org.richfaces.component;
import java.util.Iterator;
Modified: root/ui-sandbox/tables/trunk/ui/src/main/java/org/richfaces/component/DataTableIteratorBase.java
===================================================================
--- root/ui-sandbox/tables/trunk/ui/src/main/java/org/richfaces/component/DataTableIteratorBase.java 2010-05-13 16:22:05 UTC (rev 17021)
+++ root/ui-sandbox/tables/trunk/ui/src/main/java/org/richfaces/component/DataTableIteratorBase.java 2010-05-13 16:24:12 UTC (rev 17022)
@@ -1,3 +1,24 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright ${year}, Red Hat, Inc. and individual contributors
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
package org.richfaces.component;
import java.util.Iterator;
@@ -7,7 +28,6 @@
* @author Anton Belevich
* @author Nick Belaevski
*/
-// TODO nick - rename this class
public abstract class DataTableIteratorBase<E> implements Iterator<E> {
private boolean isCompleted = false;
Modified: root/ui-sandbox/tables/trunk/ui/src/main/java/org/richfaces/component/SubtableFixedChildrenIterator.java
===================================================================
--- root/ui-sandbox/tables/trunk/ui/src/main/java/org/richfaces/component/SubtableFixedChildrenIterator.java 2010-05-13 16:22:05 UTC (rev 17021)
+++ root/ui-sandbox/tables/trunk/ui/src/main/java/org/richfaces/component/SubtableFixedChildrenIterator.java 2010-05-13 16:24:12 UTC (rev 17022)
@@ -1,22 +1,23 @@
-/**
- * License Agreement.
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright ${year}, Red Hat, Inc. and individual contributors
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
*
- * Rich Faces - Natural Ajax for Java Server Faces (JSF)
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
*
- * Copyright (C) 2007 Exadel, Inc.
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License version 2.1 as published by the Free Software Foundation.
- *
- * This library is distributed in the hope that it will be useful,
+ * This software is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
*/
package org.richfaces.component;
Modified: root/ui-sandbox/tables/trunk/ui/src/main/java/org/richfaces/component/UIColumnGroup.java
===================================================================
--- root/ui-sandbox/tables/trunk/ui/src/main/java/org/richfaces/component/UIColumnGroup.java 2010-05-13 16:22:05 UTC (rev 17021)
+++ root/ui-sandbox/tables/trunk/ui/src/main/java/org/richfaces/component/UIColumnGroup.java 2010-05-13 16:24:12 UTC (rev 17022)
@@ -1,22 +1,23 @@
-/**
- * License Agreement.
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright ${year}, Red Hat, Inc. and individual contributors
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
*
- * JBoss RichFaces - Ajax4jsf Component Library
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
*
- * Copyright (C) 2007 Exadel, Inc.
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License version 2.1 as published by the Free Software Foundation.
- *
- * This library is distributed in the hope that it will be useful,
+ * This software is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
*/
package org.richfaces.component;
Modified: root/ui-sandbox/tables/trunk/ui/src/main/java/org/richfaces/component/UIDataTable.java
===================================================================
--- root/ui-sandbox/tables/trunk/ui/src/main/java/org/richfaces/component/UIDataTable.java 2010-05-13 16:22:05 UTC (rev 17021)
+++ root/ui-sandbox/tables/trunk/ui/src/main/java/org/richfaces/component/UIDataTable.java 2010-05-13 16:24:12 UTC (rev 17022)
@@ -1,3 +1,25 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright ${year}, Red Hat, Inc. and individual contributors
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+
package org.richfaces.component;
import javax.el.MethodExpression;
@@ -21,7 +43,6 @@
sortingExpression
}
-
public void setSortingListener(MethodExpression sortingExpression) {
//TODO nick - use addToggleListener() & MethodExpression wrapper in tag
getStateHelper().put(PropertyKeys.sortingExpression, sortingExpression);
@@ -63,6 +84,6 @@
public String[] getHiddenInputId() {
return new String[]{getClientId() + ":sort"};
- }
-
+ }
+
}
Modified: root/ui-sandbox/tables/trunk/ui/src/main/java/org/richfaces/component/UISubTable.java
===================================================================
--- root/ui-sandbox/tables/trunk/ui/src/main/java/org/richfaces/component/UISubTable.java 2010-05-13 16:22:05 UTC (rev 17021)
+++ root/ui-sandbox/tables/trunk/ui/src/main/java/org/richfaces/component/UISubTable.java 2010-05-13 16:24:12 UTC (rev 17022)
@@ -1,22 +1,23 @@
-/**
- * License Agreement.
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright ${year}, Red Hat, Inc. and individual contributors
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
*
- * JBoss RichFaces - Ajax4jsf Component Library
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
*
- * Copyright (C) 2007 Exadel, Inc.
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License version 2.1 as published by the Free Software Foundation.
- *
- * This library is distributed in the hope that it will be useful,
+ * This software is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
*/
package org.richfaces.component;
Modified: root/ui-sandbox/tables/trunk/ui/src/main/java/org/richfaces/component/UIToggleControl.java
===================================================================
--- root/ui-sandbox/tables/trunk/ui/src/main/java/org/richfaces/component/UIToggleControl.java 2010-05-13 16:22:05 UTC (rev 17021)
+++ root/ui-sandbox/tables/trunk/ui/src/main/java/org/richfaces/component/UIToggleControl.java 2010-05-13 16:24:12 UTC (rev 17022)
@@ -1,3 +1,24 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright ${year}, Red Hat, Inc. and individual contributors
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
package org.richfaces.component;
import javax.faces.component.UIComponentBase;
Modified: root/ui-sandbox/tables/trunk/ui/src/main/java/org/richfaces/renderkit/AbstractRowsRenderer.java
===================================================================
--- root/ui-sandbox/tables/trunk/ui/src/main/java/org/richfaces/renderkit/AbstractRowsRenderer.java 2010-05-13 16:22:05 UTC (rev 17021)
+++ root/ui-sandbox/tables/trunk/ui/src/main/java/org/richfaces/renderkit/AbstractRowsRenderer.java 2010-05-13 16:24:12 UTC (rev 17022)
@@ -1,22 +1,23 @@
-/**
- * License Agreement.
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright ${year}, Red Hat, Inc. and individual contributors
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
*
- * JBoss RichFaces - Ajax4jsf Component Library
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
*
- * Copyright (C) 2007 Exadel, Inc.
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License version 2.1 as published by the Free Software Foundation.
- *
- * This library is distributed in the hope that it will be useful,
+ * This software is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
*/
package org.richfaces.renderkit;
Modified: root/ui-sandbox/tables/trunk/ui/src/main/java/org/richfaces/renderkit/AbstractTableBaseRenderer.java
===================================================================
--- root/ui-sandbox/tables/trunk/ui/src/main/java/org/richfaces/renderkit/AbstractTableBaseRenderer.java 2010-05-13 16:22:05 UTC (rev 17021)
+++ root/ui-sandbox/tables/trunk/ui/src/main/java/org/richfaces/renderkit/AbstractTableBaseRenderer.java 2010-05-13 16:24:12 UTC (rev 17022)
@@ -1,3 +1,25 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright ${year}, Red Hat, Inc. and individual contributors
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+
package org.richfaces.renderkit;
import java.io.IOException;
Modified: root/ui-sandbox/tables/trunk/ui/src/main/java/org/richfaces/renderkit/AbstractTableRenderer.java
===================================================================
--- root/ui-sandbox/tables/trunk/ui/src/main/java/org/richfaces/renderkit/AbstractTableRenderer.java 2010-05-13 16:22:05 UTC (rev 17021)
+++ root/ui-sandbox/tables/trunk/ui/src/main/java/org/richfaces/renderkit/AbstractTableRenderer.java 2010-05-13 16:24:12 UTC (rev 17022)
@@ -1,3 +1,25 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright ${year}, Red Hat, Inc. and individual contributors
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+
package org.richfaces.renderkit;
import java.io.IOException;
@@ -127,6 +149,7 @@
String predefinedStyles = null;
if (dataTable instanceof UISubTable) {
UISubTable subTable = (UISubTable) dataTable;
+ writer.writeAttribute(HTML.CLASS_ATTRIBUTE, getTableSkinClass(), null);
if (!subTable.isExpanded()) {
predefinedStyles = "display: none;";
}
Modified: root/ui-sandbox/tables/trunk/ui/src/main/java/org/richfaces/renderkit/ColumnGroupRenderer.java
===================================================================
--- root/ui-sandbox/tables/trunk/ui/src/main/java/org/richfaces/renderkit/ColumnGroupRenderer.java 2010-05-13 16:22:05 UTC (rev 17021)
+++ root/ui-sandbox/tables/trunk/ui/src/main/java/org/richfaces/renderkit/ColumnGroupRenderer.java 2010-05-13 16:24:12 UTC (rev 17022)
@@ -1,3 +1,25 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright ${year}, Red Hat, Inc. and individual contributors
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+
package org.richfaces.renderkit;
import java.io.IOException;
Modified: root/ui-sandbox/tables/trunk/ui/src/main/java/org/richfaces/renderkit/DataTableRenderer.java
===================================================================
--- root/ui-sandbox/tables/trunk/ui/src/main/java/org/richfaces/renderkit/DataTableRenderer.java 2010-05-13 16:22:05 UTC (rev 17021)
+++ root/ui-sandbox/tables/trunk/ui/src/main/java/org/richfaces/renderkit/DataTableRenderer.java 2010-05-13 16:24:12 UTC (rev 17022)
@@ -25,6 +25,7 @@
import java.io.IOException;
import java.util.HashMap;
import java.util.Iterator;
+import java.util.Map;
import javax.faces.application.ResourceDependencies;
import javax.faces.application.ResourceDependency;
@@ -322,41 +323,16 @@
}
@Override
- public void encodeClientScript(ResponseWriter writer, FacesContext facesContext, UIDataTableBase dataTable) throws IOException {
+ public void encodeClientScript(ResponseWriter writer, FacesContext facesContext, UIDataTableBase dataTableBase) throws IOException {
+ UIDataTable dataTable = (UIDataTable)dataTableBase;
writer.startElement(HTML.SCRIPT_ELEM, dataTable);
writer.writeAttribute(HTML.TYPE_ATTR, "text/javascript", null);
JSFunction function = new JSFunction("new RichFaces.ui.DataTable");
function.addParameter(dataTable.getClientId(facesContext));
- HashMap<String, Object> options = new HashMap<String, Object>();
+ Map<String, Object> options = new HashMap<String, Object>();
- HashMap<String, Object> columnsOption = new HashMap<String, Object>();
- /*
- Iterator<UIComponent> columns = dataTable.columns();
- while (columns.hasNext()) {
-
- UIComponent component = (UIComponent) columns.next();
- HashMap<String, Object> columnOption = new HashMap<String, Object>();
-
- if(component instanceof org.richfaces.component.UIColumn) {
- org.richfaces.component.UIColumn column = (org.richfaces.component.UIColumn)component;
- columnsOption.put(column.getClientId(context), columnOption);
-
- HashMap<String, Object> sorting = new HashMap<String, Object>();
- boolean sortable = isSortable(column);
- if(sortable) {
- sorting.put("sortOrder", column.getSortOrder());
- sorting.put("sortEvent", column.getSortEvent());
- }
- sorting.put("sortable", sortable);
- columnOption.put("sorting", sorting);
- }
-
- }
-
- options.put("columns", columnsOption);
- */
AjaxEventOptions ajaxEventOptions = AjaxRendererUtils.buildEventOptions(facesContext, dataTable);
options.put("ajaxEventOptions", ajaxEventOptions.getParameters());
Modified: root/ui-sandbox/tables/trunk/ui/src/main/java/org/richfaces/renderkit/DataTableRowsRenderer.java
===================================================================
--- root/ui-sandbox/tables/trunk/ui/src/main/java/org/richfaces/renderkit/DataTableRowsRenderer.java 2010-05-13 16:22:05 UTC (rev 17021)
+++ root/ui-sandbox/tables/trunk/ui/src/main/java/org/richfaces/renderkit/DataTableRowsRenderer.java 2010-05-13 16:24:12 UTC (rev 17022)
@@ -1,3 +1,25 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright ${year}, Red Hat, Inc. and individual contributors
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+
package org.richfaces.renderkit;
import java.util.Collection;
Modified: root/ui-sandbox/tables/trunk/ui/src/main/java/org/richfaces/renderkit/HeaderEncodeStrategy.java
===================================================================
--- root/ui-sandbox/tables/trunk/ui/src/main/java/org/richfaces/renderkit/HeaderEncodeStrategy.java 2010-05-13 16:22:05 UTC (rev 17021)
+++ root/ui-sandbox/tables/trunk/ui/src/main/java/org/richfaces/renderkit/HeaderEncodeStrategy.java 2010-05-13 16:24:12 UTC (rev 17022)
@@ -1,22 +1,23 @@
-/**
- * License Agreement.
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright ${year}, Red Hat, Inc. and individual contributors
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
*
- * JBoss RichFaces - Ajax4jsf Component Library
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
*
- * Copyright (C) 2007 Exadel, Inc.
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License version 2.1 as published by the Free Software Foundation.
- *
- * This library is distributed in the hope that it will be useful,
+ * This software is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
*/
package org.richfaces.renderkit;
Modified: root/ui-sandbox/tables/trunk/ui/src/main/java/org/richfaces/renderkit/RowHolder.java
===================================================================
--- root/ui-sandbox/tables/trunk/ui/src/main/java/org/richfaces/renderkit/RowHolder.java 2010-05-13 16:22:05 UTC (rev 17021)
+++ root/ui-sandbox/tables/trunk/ui/src/main/java/org/richfaces/renderkit/RowHolder.java 2010-05-13 16:24:12 UTC (rev 17022)
@@ -1,3 +1,25 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright ${year}, Red Hat, Inc. and individual contributors
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+
package org.richfaces.renderkit;
import javax.faces.component.UIComponent;
Modified: root/ui-sandbox/tables/trunk/ui/src/main/java/org/richfaces/renderkit/SubTableRenderer.java
===================================================================
--- root/ui-sandbox/tables/trunk/ui/src/main/java/org/richfaces/renderkit/SubTableRenderer.java 2010-05-13 16:22:05 UTC (rev 17021)
+++ root/ui-sandbox/tables/trunk/ui/src/main/java/org/richfaces/renderkit/SubTableRenderer.java 2010-05-13 16:24:12 UTC (rev 17022)
@@ -1,3 +1,26 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright ${year}, Red Hat, Inc. and individual contributors
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+
+
package org.richfaces.renderkit;
import java.io.IOException;
@@ -94,7 +117,7 @@
@Override
protected void doEncodeEnd(ResponseWriter writer, FacesContext facesContext, UIComponent component) throws IOException {
UISubTable subTable = (UISubTable)component;
-
+
encodeFooterFacet(writer, facesContext, subTable);
encodeStateInput(writer, facesContext, subTable);
encodeClientScript(writer, facesContext, subTable);
@@ -206,7 +229,7 @@
}
public String getTableSkinClass() {
- return null;
+ return "rich-subtable";
}
@Override
Modified: root/ui-sandbox/tables/trunk/ui/src/main/java/org/richfaces/renderkit/ToggleControlRendererBase.java
===================================================================
--- root/ui-sandbox/tables/trunk/ui/src/main/java/org/richfaces/renderkit/ToggleControlRendererBase.java 2010-05-13 16:22:05 UTC (rev 17021)
+++ root/ui-sandbox/tables/trunk/ui/src/main/java/org/richfaces/renderkit/ToggleControlRendererBase.java 2010-05-13 16:24:12 UTC (rev 17022)
@@ -1,3 +1,25 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright ${year}, Red Hat, Inc. and individual contributors
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+
package org.richfaces.renderkit;
import java.io.IOException;
@@ -31,34 +53,7 @@
private static final String COLLAPSE_STATE = "collapse";
- private static final String HIDDEN = ":hidden";
-/*
- @Override
- protected void doDecode(FacesContext context, UIComponent component) {
- UIToggleControl toggle = (UIToggleControl) component;
-
- Map<String, String> params = context.getExternalContext().getRequestParameterMap();
-
- String hiddenId = toggle.getClientId() + HIDDEN;
- String state = params.get(hiddenId);
-
- if (state != null && state.trim().length() > 0) {
-
- UIComponent processed = findComponent(context, toggle);
- if (processed instanceof Expandable) {
-
- boolean newState = Boolean.valueOf(state).booleanValue();
- boolean prevState = ((Expandable) processed).isExpanded();
-
- if (newState != prevState) {
- new ToggleEvent(toggle, processed, newState).queue();
- }
-
- }
- }
- }
-*/
protected void encodeControl(FacesContext context, UIComponent component) throws IOException {
UIToggleControl toggleControl = (UIToggleControl) component;
@@ -141,19 +136,7 @@
options.put("eventName", eventName);
return options;
}
-/*
- public void encodeHiddenInput(FacesContext context, ResponseWriter writer, UIComponent component)
- throws IOException {
- String hiddenId = component.getClientId(context) + HIDDEN;
- writer.startElement(HTML.INPUT_ELEM, component);
- writer.writeAttribute(HTML.ID_ATTRIBUTE, hiddenId, null);
- writer.writeAttribute(HTML.NAME_ATTRIBUTE, hiddenId, null);
- writer.writeAttribute(HTML.TYPE_ATTR, "hidden", null);
- writer.endElement(HTML.INPUT_ELEM);
-
- }
-*/
public String getStyleClass(FacesContext context, UIToggleControl control) {
return null;
}
Modified: root/ui-sandbox/tables/trunk/ui/src/main/java/org/richfaces/taglib/DataTableHandler.java
===================================================================
--- root/ui-sandbox/tables/trunk/ui/src/main/java/org/richfaces/taglib/DataTableHandler.java 2010-05-13 16:22:05 UTC (rev 17021)
+++ root/ui-sandbox/tables/trunk/ui/src/main/java/org/richfaces/taglib/DataTableHandler.java 2010-05-13 16:24:12 UTC (rev 17022)
@@ -1,3 +1,26 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright ${year}, Red Hat, Inc. and individual contributors
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+
+
package org.richfaces.taglib;
import javax.el.MethodExpression;
Modified: root/ui-sandbox/tables/trunk/ui/src/main/java/org/richfaces/taglib/SubTableHandler.java
===================================================================
--- root/ui-sandbox/tables/trunk/ui/src/main/java/org/richfaces/taglib/SubTableHandler.java 2010-05-13 16:22:05 UTC (rev 17021)
+++ root/ui-sandbox/tables/trunk/ui/src/main/java/org/richfaces/taglib/SubTableHandler.java 2010-05-13 16:24:12 UTC (rev 17022)
@@ -1,3 +1,26 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright ${year}, Red Hat, Inc. and individual contributors
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+
+
package org.richfaces.taglib;
import javax.el.MethodExpression;
14 years, 4 months
JBoss Rich Faces SVN: r17021 - root/ui-sandbox/tables/trunk/ui/src/main/resources/META-INF/resources.
by richfaces-svn-commits@lists.jboss.org
Author: abelevich
Date: 2010-05-13 12:22:05 -0400 (Thu, 13 May 2010)
New Revision: 17021
Modified:
root/ui-sandbox/tables/trunk/ui/src/main/resources/META-INF/resources/datatable.js
root/ui-sandbox/tables/trunk/ui/src/main/resources/META-INF/resources/subtable.js
root/ui-sandbox/tables/trunk/ui/src/main/resources/META-INF/resources/toggler.js
Log:
dataTable client api
Modified: root/ui-sandbox/tables/trunk/ui/src/main/resources/META-INF/resources/datatable.js
===================================================================
--- root/ui-sandbox/tables/trunk/ui/src/main/resources/META-INF/resources/datatable.js 2010-05-13 14:49:49 UTC (rev 17020)
+++ root/ui-sandbox/tables/trunk/ui/src/main/resources/META-INF/resources/datatable.js 2010-05-13 16:22:05 UTC (rev 17021)
@@ -7,6 +7,7 @@
this.options = options;
$super.constructor.call(this,id);
$p.attachToDom.call(this, id);
+
};
var $super = richfaces.BaseComponent.extend(richfaces.BaseComponent, richfaces.ui.DataTable);
@@ -15,7 +16,8 @@
$.extend(richfaces.ui.DataTable, {
SORTING: "rich:sorting",
- FILTERING: "rich:filtering"
+ FILTERING: "rich:filtering",
+ SUBTABLE_SELECTOR:".rich-subtable"
});
$.extend(richfaces.ui.DataTable.prototype, ( function () {
@@ -38,6 +40,7 @@
return parameters;
};
+
return {
name : "RichFaces.ui.DataTable",
@@ -48,20 +51,55 @@
filter: function(columnId, filterValue, isClear) {
invoke.call(this,createParameters.call(this,richfaces.ui.DataTable.FILTERING, columnId, filterValue, isClear));
+ },
+
+ expandAllSubTables: function() {
+ this.invokeOnSubTables.call(this, 'expand');
},
+ collapseAllSubTables: function() {
+ this.invokeOnSubTables.call(this, 'collapse');
+ },
+
switchSubTable: function(id) {
-
+ this.getSubTable(id).toggle();
},
- expandAllSubTables: function() {
-
+ getSubTable: function(id) {
+ return richfaces.$(id);
},
- collapseAllSubTables: function() {
-
+ invokeOnSubTables: function(funcName) {
+ var elements = $(document.getElementById(this.id)).children(richfaces.ui.DataTable.SUBTABLE_SELECTOR);
+ if(elements && elements.length > 0) {
+ for (var key in elements) {
+ var element = elements[key];
+ if(element && element.richfaces && element.richfaces.component) {
+ var component = element.richfaces.component;
+ if(component instanceof RichFaces.ui.SubTable) {
+ this.invokeOnComponent(component, funcName)
+ }
+ }
+ }
+ }
+ },
+
+ invokeOnSubTable: function(id, funcName) {
+ var subtable = this.getSubTable(id);
+ this.invokeOnComponent(subtable, funcName);
+ },
+
+ invokeOnComponent: function(component, funcName) {
+ if(component) {
+ var func = component[funcName];
+ if(typeof func == 'function') {
+ func.call(component);
+ }
+ }
}
+
}
+
})());
})(jQuery, window.RichFaces);
Modified: root/ui-sandbox/tables/trunk/ui/src/main/resources/META-INF/resources/subtable.js
===================================================================
--- root/ui-sandbox/tables/trunk/ui/src/main/resources/META-INF/resources/subtable.js 2010-05-13 14:49:49 UTC (rev 17020)
+++ root/ui-sandbox/tables/trunk/ui/src/main/resources/META-INF/resources/subtable.js 2010-05-13 16:22:05 UTC (rev 17021)
@@ -11,89 +11,90 @@
$super.constructor.call(this, id);
$p.attachToDom.call(this, id);
- };
+ };
$.extend(richfaces.ui.SubTable, {
MODE_AJAX: "ajax",
MODE_SRV: "server",
- MODE_CLNT: "client"
+ MODE_CLNT: "client",
+ collapse: 0,
+ expand: 1
})
var $super = richfaces.BaseComponent.extend(richfaces.BaseComponent, richfaces.ui.SubTable);
var $p = richfaces.BaseComponent.extend(richfaces.BaseComponent,richfaces.ui.SubTable, {});
- var $super = richfaces.ui.SubTable.$super;
+ var $super = richfaces.ui.SubTable.$super;
$.extend(richfaces.ui.SubTable.prototype, (function () {
- getElementById = function(id) {
- return $(document.getElementById(id));
- }
+ var element = function() {
+ return $(document.getElementById(this.id));
+ };
- getState = function() {
- return getElementById(this.stateInput).val();
- }
+ var stateInputElem = function() {
+ return $(document.getElementById(this.stateInput));
+ };
+
+ var ajax = function(e, options) {
+ this.switchState();
+ richfaces.ajax(this.id, e, options);
+ };
- setState = function(state) {
- getElementById(this.stateInput).val(state);
- }
+ var server = function() {
+ this.switchState();
+ $(document.getElementById(this.formId)).submit();
+ };
- ajax = function(e) {
- if(this.element && this.element[0]) {
- jsf.ajax.request(this.element[0], e, this.eventOptions);
- }
- }
-
- server = function(e) {
- var f = document.getElementById(this.formId);
- if(f) {
- f.submit();
- }
- }
-
- client = function(e) {
+ var client = function() {
if(this.isExpand()) {
- this.element.show();
+ this.collapse();
} else {
- this.element.hide();
+ this.expand();
}
- }
-
+ };
+
+
return {
+
+ name: "RichFaces.ui.SubTable",
toggle: function(e) {
- if(this.isExpand()) {
- this.collapse(e);
- } else {
- this.expand(e);
- }
+ if(this.expandMode == richfaces.ui.SubTable.MODE_AJAX) {
+ ajax.call(this, e, this.eventOptions);
+ }else if(this.expandMode == richfaces.ui.SubTable.MODE_SRV) {
+ server.call(this);
+ }else if(this.expandMode == richfaces.ui.SubTable.MODE_CLNT) {
+ client.call(this);
+ }
},
- collapse: function(e) {
- this.toggleToState(0, e);
+ collapse: function() {
+ this.setState(richfaces.ui.SubTable.collapse);
+ element.call(this).hide();
},
- expand: function(e) {
- this.toggleToState(1, e);
+ expand: function() {
+ this.setState(richfaces.ui.SubTable.expand);
+ element.call(this).show();
},
isExpand: function() {
- var currentState = getState.call(this);
- return (currentState > 0);
- },
-
- toggleToState: function(toState, e) {
-
- setState.call(this, toState);
-
- if(this.expandMode == richfaces.ui.SubTable.MODE_AJAX) {
- ajax.call(this, e);
- }else if(this.expandMode == richfaces.ui.SubTable.MODE_SRV) {
- server.call(this, e);
- }else if(this.expandMode == richfaces.ui.SubTable.MODE_CLNT) {
- client.call(this ,e);
- }
- }
- };
+ return (this.getState() > richfaces.ui.SubTable.collapse);
+ },
+
+ switchState: function() {
+ var state = this.isExpand() ? richfaces.ui.SubTable.collapse : richfaces.ui.SubTable.expand;
+ this.setState(state);
+ },
+
+ getState: function() {
+ return stateInputElem.call(this).val();
+ },
+
+ setState: function(state) {
+ stateInputElem.call(this).val(state)
+ }
+ };
})());
Modified: root/ui-sandbox/tables/trunk/ui/src/main/resources/META-INF/resources/toggler.js
===================================================================
--- root/ui-sandbox/tables/trunk/ui/src/main/resources/META-INF/resources/toggler.js 2010-05-13 14:49:49 UTC (rev 17020)
+++ root/ui-sandbox/tables/trunk/ui/src/main/resources/META-INF/resources/toggler.js 2010-05-13 16:22:05 UTC (rev 17021)
@@ -14,18 +14,17 @@
$.extend(richfaces.ui.DataTableToggler.prototype, (function () {
- getElementById= function(id) {
- $(document.getElementById(id))
+ var getElementById= function(id) {
+ return $(document.getElementById(id))
}
return {
-
- toggle: function(event) {
- var element = getElementById(this.forId);
- var subtable = element.attr('richfaces');
- if(subtable && subtable.component) {
- this.toggleControl(subtable.component.isExpand());
- subtable.component.toggle(event);
+
+ toggle: function(e) {
+ var subtable = richfaces.$(this.forId);
+ if(subtable) {
+ this.toggleControl(subtable.isExpand());
+ subtable.toggle(e);
}
},
14 years, 4 months
JBoss Rich Faces SVN: r17020 - in root/examples/richfaces-demo/trunk/src/main: webapp/WEB-INF and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: ilya_shaikovsky
Date: 2010-05-13 10:49:49 -0400 (Thu, 13 May 2010)
New Revision: 17020
Modified:
root/examples/richfaces-demo/trunk/src/main/java/org/richfaces/demo/common/SkinBean.java
root/examples/richfaces-demo/trunk/src/main/webapp/WEB-INF/faces-config.xml
Log:
https://jira.jboss.org/jira/browse/RF-8654
Modified: root/examples/richfaces-demo/trunk/src/main/java/org/richfaces/demo/common/SkinBean.java
===================================================================
--- root/examples/richfaces-demo/trunk/src/main/java/org/richfaces/demo/common/SkinBean.java 2010-05-13 12:52:12 UTC (rev 17019)
+++ root/examples/richfaces-demo/trunk/src/main/java/org/richfaces/demo/common/SkinBean.java 2010-05-13 14:49:49 UTC (rev 17020)
@@ -5,15 +5,23 @@
import java.io.Serializable;
+import javax.faces.bean.ManagedBean;
+import javax.faces.bean.ManagedProperty;
+import javax.faces.bean.SessionScoped;
+
/**
- * @author sim
+ * @author ishaikovsky
*/
+@ManagedBean(name="skinBean")
+@SessionScoped
public class SkinBean implements Serializable {
/**
*
*/
private static final long serialVersionUID = -2399884208294434812L;
+
+ @ManagedProperty(value="blueSky")
private String skin;
public String getSkin() {
Modified: root/examples/richfaces-demo/trunk/src/main/webapp/WEB-INF/faces-config.xml
===================================================================
--- root/examples/richfaces-demo/trunk/src/main/webapp/WEB-INF/faces-config.xml 2010-05-13 12:52:12 UTC (rev 17019)
+++ root/examples/richfaces-demo/trunk/src/main/webapp/WEB-INF/faces-config.xml 2010-05-13 14:49:49 UTC (rev 17020)
@@ -19,16 +19,5 @@
<managed-bean-name>opBean2</managed-bean-name>
<managed-bean-class>org.richfaces.demo.outputPanel.OutputPanelBean</managed-bean-class>
<managed-bean-scope>request</managed-bean-scope>
- </managed-bean>
- <managed-bean>
- <managed-bean-name>skinBean</managed-bean-name>
- <managed-bean-class>org.richfaces.demo.common.SkinBean</managed-bean-class>
- <managed-bean-scope>session</managed-bean-scope>
- <managed-property>
- <property-name>skin</property-name>
- <property-class>java.lang.String</property-class>
- <value>blueSky</value>
- </managed-property>
- </managed-bean>
-
+ </managed-bean>
</faces-config>
\ No newline at end of file
14 years, 4 months
JBoss Rich Faces SVN: r17019 - in root/examples: richfaces-demo/trunk and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2010-05-13 08:52:12 -0400 (Thu, 13 May 2010)
New Revision: 17019
Modified:
root/examples/core-demo/trunk/pom.xml
root/examples/richfaces-demo/trunk/pom.xml
Log:
Wrong core.ui artifactId fixed
Modified: root/examples/core-demo/trunk/pom.xml
===================================================================
--- root/examples/core-demo/trunk/pom.xml 2010-05-13 12:48:36 UTC (rev 17018)
+++ root/examples/core-demo/trunk/pom.xml 2010-05-13 12:52:12 UTC (rev 17019)
@@ -37,8 +37,7 @@
<dependencies>
<dependency>
<groupId>org.richfaces.ui</groupId>
- <artifactId>core</artifactId>
- <version>${project.version}</version>
+ <artifactId>core-api</artifactId>
</dependency>
<dependency>
Modified: root/examples/richfaces-demo/trunk/pom.xml
===================================================================
--- root/examples/richfaces-demo/trunk/pom.xml 2010-05-13 12:48:36 UTC (rev 17018)
+++ root/examples/richfaces-demo/trunk/pom.xml 2010-05-13 12:52:12 UTC (rev 17019)
@@ -20,7 +20,7 @@
<dependencies>
<dependency>
<groupId>org.richfaces.ui</groupId>
- <artifactId>core</artifactId>
+ <artifactId>core-api</artifactId>
</dependency>
<dependency>
14 years, 5 months
JBoss Rich Faces SVN: r17018 - root/build/parent/trunk.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2010-05-13 08:48:36 -0400 (Thu, 13 May 2010)
New Revision: 17018
Modified:
root/build/parent/trunk/pom.xml
Log:
Wrong Checkstyle artifactId fixed
Modified: root/build/parent/trunk/pom.xml
===================================================================
--- root/build/parent/trunk/pom.xml 2010-05-13 12:28:59 UTC (rev 17017)
+++ root/build/parent/trunk/pom.xml 2010-05-13 12:48:36 UTC (rev 17018)
@@ -127,7 +127,7 @@
<dependencies>
<dependency>
<groupId>org.richfaces</groupId>
- <artifactId>checkstyle</artifactId>
+ <artifactId>richfaces-build-checkstyle</artifactId>
<version>${richfaces.checkstyle.version}</version>
</dependency>
</dependencies>
14 years, 5 months
JBoss Rich Faces SVN: r17017 - in root: commons/trunk/api and 7 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: Alex.Kolonitsky
Date: 2010-05-13 08:28:59 -0400 (Thu, 13 May 2010)
New Revision: 17017
Modified:
root/build/parent/trunk/pom.xml
root/commons/trunk/api/pom.xml
root/commons/trunk/parent/pom.xml
root/core/trunk/api/pom.xml
root/core/trunk/impl/pom.xml
root/core/trunk/parent/pom.xml
root/core/trunk/pom.xml
root/examples/pom.xml
root/ui/core/trunk/pom.xml
Log:
fix generation taglib.xml and faces-config.xml
Modified: root/build/parent/trunk/pom.xml
===================================================================
--- root/build/parent/trunk/pom.xml 2010-05-13 12:20:33 UTC (rev 17016)
+++ root/build/parent/trunk/pom.xml 2010-05-13 12:28:59 UTC (rev 17017)
@@ -59,6 +59,7 @@
</issueManagement>
<properties>
+ <richfaces.checkstyle.version>4.0.0-SNAPSHOT</richfaces.checkstyle.version>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
</properties>
@@ -111,7 +112,6 @@
<artifactId>maven-javascript-plugin</artifactId>
<version>3.3.1.GA</version>
</plugin>
-
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>javacc-maven-plugin</artifactId>
@@ -121,13 +121,20 @@
<artifactId>maven-antrun-plugin</artifactId>
</plugin>
<plugin>
- <groupId>com.atlassian.maven.plugins</groupId>
- <artifactId>maven-clover2-plugin</artifactId>
- </plugin>
- <plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>2.3</version>
+ <dependencies>
+ <dependency>
+ <groupId>org.richfaces</groupId>
+ <artifactId>checkstyle</artifactId>
+ <version>${richfaces.checkstyle.version}</version>
+ </dependency>
+ </dependencies>
+ <configuration>
+ <configLocation>richfaces-checkstyle/richfaces-checkstyle.xml</configLocation>
+ <suppressionsLocation>checkstyle-suppressions.xml</suppressionsLocation>
+ </configuration>
<executions>
<execution>
<id>richfaces-checkstyle-report</id>
@@ -137,16 +144,8 @@
</goals>
</execution>
</executions>
- <configuration>
- <skip>${skipCheckstyle}</skip>
- </configuration>
</plugin>
<plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-javadoc-plugin</artifactId>
- <version>2.2</version>
- </plugin>
- <plugin>
<artifactId>maven-source-plugin</artifactId>
<executions>
<execution>
@@ -166,10 +165,10 @@
<manifest>
<addDefaultSpecificationEntries>
true
- </addDefaultSpecificationEntries>
+ </addDefaultSpecificationEntries>
<addDefaultImplementationEntries>
true
- </addDefaultImplementationEntries>
+ </addDefaultImplementationEntries>
</manifest>
<manifestEntries>
<mode>development</mode>
@@ -199,24 +198,44 @@
</executions>
</plugin>
<plugin>
- <artifactId>maven-eclipse-plugin</artifactId>
+ <artifactId>maven-compiler-plugin</artifactId>
<configuration>
- <wtpversion>2.0</wtpversion>
- <downloadSources>true</downloadSources>
+ <source>1.5</source>
+ <target>1.5</target>
</configuration>
</plugin>
+
+ <!-- reporting -->
<plugin>
- <artifactId>maven-compiler-plugin</artifactId>
+ <groupId>com.atlassian.maven.plugins</groupId>
+ <artifactId>maven-clover2-plugin</artifactId>
+ </plugin>
+
+ <!-- dev -->
+ <plugin>
+ <artifactId>maven-eclipse-plugin</artifactId>
<configuration>
- <source>1.5</source>
- <target>1.5</target>
+ <wtpversion>2.0</wtpversion>
+ <downloadSources>true</downloadSources>
</configuration>
</plugin>
+
+ <!-- docs -->
<plugin>
<groupId>gr.abiss.mvn.plugins</groupId>
<artifactId>maven-jstools-plugin</artifactId>
<version>0.7</version>
+ <configuration>
+ <jsDir>${basedir}/src/main/resources/Meta-inf/resources</jsDir>
+ <includes>**/*.js</includes>
+ <caseSensitive>true</caseSensitive>
+ </configuration>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ <version>2.2</version>
+ </plugin>
</plugins>
</pluginManagement>
</build>
Modified: root/commons/trunk/api/pom.xml
===================================================================
--- root/commons/trunk/api/pom.xml 2010-05-13 12:20:33 UTC (rev 17016)
+++ root/commons/trunk/api/pom.xml 2010-05-13 12:28:59 UTC (rev 17017)
@@ -64,10 +64,8 @@
</dependencies>
<build>
- <!-- Trigger checkstyle for this build -->
<plugins>
<plugin>
- <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
</plugin>
</plugins>
Modified: root/commons/trunk/parent/pom.xml
===================================================================
--- root/commons/trunk/parent/pom.xml 2010-05-13 12:20:33 UTC (rev 17016)
+++ root/commons/trunk/parent/pom.xml 2010-05-13 12:28:59 UTC (rev 17017)
@@ -39,7 +39,6 @@
<properties>
<richfaces.commons.version>4.0.0-SNAPSHOT</richfaces.commons.version>
- <richfaces.checkstyle.version>4.0.0-SNAPSHOT</richfaces.checkstyle.version>
</properties>
<dependencyManagement>
@@ -70,27 +69,4 @@
</dependency>
</dependencies>
</dependencyManagement>
-
- <build>
- <pluginManagement>
- <!-- Configure checkstyle plugin for commons -->
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-checkstyle-plugin</artifactId>
- <dependencies>
- <dependency>
- <groupId>org.richfaces</groupId>
- <artifactId>checkstyle</artifactId>
- <version>${richfaces.checkstyle.version}</version>
- </dependency>
- </dependencies>
- <configuration>
- <configLocation>richfaces-checkstyle/richfaces-checkstyle.xml</configLocation>
- <suppressionsLocation>checkstyle-suppressions.xml</suppressionsLocation>
- </configuration>
- </plugin>
- </plugins>
- </pluginManagement>
- </build>
</project>
\ No newline at end of file
Modified: root/core/trunk/api/pom.xml
===================================================================
--- root/core/trunk/api/pom.xml 2010-05-13 12:20:33 UTC (rev 17016)
+++ root/core/trunk/api/pom.xml 2010-05-13 12:28:59 UTC (rev 17017)
@@ -34,7 +34,7 @@
<description>
The RichFaces Core API.
- </description>
+ </description>
<dependencies>
<!-- Runtime dependencies -->
@@ -86,14 +86,4 @@
<scope>test</scope>
</dependency>
</dependencies>
-
- <build>
- <!-- Trigger checkstyle for this build -->
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-checkstyle-plugin</artifactId>
- </plugin>
- </plugins>
- </build>
</project>
\ No newline at end of file
Modified: root/core/trunk/impl/pom.xml
===================================================================
--- root/core/trunk/impl/pom.xml 2010-05-13 12:20:33 UTC (rev 17016)
+++ root/core/trunk/impl/pom.xml 2010-05-13 12:28:59 UTC (rev 17017)
@@ -143,12 +143,6 @@
</resources>
<plugins>
- <!-- Trigger checkstyle for this build -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-checkstyle-plugin</artifactId>
- </plugin>
-
<!--
TODO Centralize this because calendar and context menu
use this too
@@ -174,11 +168,6 @@
<!-- Configure js documentation plugin -->
<groupId>gr.abiss.mvn.plugins</groupId>
<artifactId>maven-jstools-plugin</artifactId>
- <configuration>
- <jsDir>${basedir}/src/main/resources/Meta-inf/resources</jsDir>
- <includes>**/*.js</includes>
- <caseSensitive>true</caseSensitive>
- </configuration>
</plugin>
<!--
Modified: root/core/trunk/parent/pom.xml
===================================================================
--- root/core/trunk/parent/pom.xml 2010-05-13 12:20:33 UTC (rev 17016)
+++ root/core/trunk/parent/pom.xml 2010-05-13 12:28:59 UTC (rev 17017)
@@ -38,7 +38,6 @@
<properties>
<richfaces.core.version>4.0.0-SNAPSHOT</richfaces.core.version>
- <richfaces.checkstyle.version>4.0.0-SNAPSHOT</richfaces.checkstyle.version>
</properties>
<dependencyManagement>
@@ -95,27 +94,4 @@
</dependency>
</dependencies>
</dependencyManagement>
-
- <build>
- <pluginManagement>
- <!-- Configure checkstyle plugin for commons -->
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-checkstyle-plugin</artifactId>
- <dependencies>
- <dependency>
- <groupId>org.richfaces</groupId>
- <artifactId>checkstyle</artifactId>
- <version>${richfaces.checkstyle.version}</version>
- </dependency>
- </dependencies>
- <configuration>
- <configLocation>richfaces-checkstyle/richfaces-checkstyle.xml</configLocation>
- <suppressionsLocation>checkstyle-suppressions.xml</suppressionsLocation>
- </configuration>
- </plugin>
- </plugins>
- </pluginManagement>
- </build>
</project>
\ No newline at end of file
Modified: root/core/trunk/pom.xml
===================================================================
--- root/core/trunk/pom.xml 2010-05-13 12:20:33 UTC (rev 17016)
+++ root/core/trunk/pom.xml 2010-05-13 12:28:59 UTC (rev 17017)
@@ -44,17 +44,24 @@
<module>impl</module>
</modules>
- <reporting>
+ <build>
<plugins>
- <!-- TODO: want to centralize, need to research -->
<plugin>
- <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<configuration>
+ <configLocation>richfaces-checkstyle/richfaces-checkstyle.xml</configLocation>
<suppressionsLocation>checkstyle-suppressions.xml</suppressionsLocation>
</configuration>
</plugin>
</plugins>
+ </build>
+
+ <reporting>
+ <plugins>
+ <plugin>
+ <artifactId>maven-checkstyle-plugin</artifactId>
+ </plugin>
+ </plugins>
</reporting>
</project>
Modified: root/examples/pom.xml
===================================================================
--- root/examples/pom.xml 2010-05-13 12:20:33 UTC (rev 17016)
+++ root/examples/pom.xml 2010-05-13 12:28:59 UTC (rev 17017)
@@ -144,13 +144,6 @@
<build>
<plugins>
<plugin>
- <artifactId>maven-eclipse-plugin</artifactId>
- <configuration>
- <wtpversion>2.0</wtpversion>
- <downloadSources>true</downloadSources>
- </configuration>
- </plugin>
- <plugin>
<artifactId>maven-checkstyle-plugin</artifactId>
</plugin>
<plugin>
Modified: root/ui/core/trunk/pom.xml
===================================================================
--- root/ui/core/trunk/pom.xml 2010-05-13 12:20:33 UTC (rev 17016)
+++ root/ui/core/trunk/pom.xml 2010-05-13 12:28:59 UTC (rev 17017)
@@ -38,32 +38,7 @@
</plugin>
<plugin>
- <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
- <version>2.4</version>
-
- <dependencies>
- <dependency>
- <groupId>org.richfaces</groupId>
- <artifactId>checkstyle</artifactId>
- <version>${project.version}</version>
- </dependency>
- </dependencies>
-
- <executions>
- <execution>
- <id>richfaces-checkstyle-report</id>
- <configuration>
- <configLocation>richfaces-checkstyle/richfaces-checkstyle.xml</configLocation>
- <suppressionsLocation>checkstyle-suppressions.xml</suppressionsLocation>
- </configuration>
-
- <phase>process-sources</phase>
- <goals>
- <goal>check</goal>
- </goals>
- </execution>
- </executions>
</plugin>
</plugins>
</build>
@@ -71,14 +46,7 @@
<reporting>
<plugins>
<plugin>
- <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
- <version>2.3</version>
-
- <configuration>
- <configLocation>richfaces-checkstyle/richfaces-checkstyle.xml</configLocation>
- <suppressionsLocation>checkstyle-suppressions.xml</suppressionsLocation>
- </configuration>
</plugin>
</plugins>
</reporting>
14 years, 5 months