JBoss Rich Faces SVN: r18509 - in trunk/ui/iteration: dist/richfaces-ui-iteration-api/src/main/java/org/richfaces and 9 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: Alex.Kolonitsky
Date: 2010-08-09 10:03:02 -0400 (Mon, 09 Aug 2010)
New Revision: 18509
Added:
trunk/ui/iteration/dist/richfaces-ui-iteration-api/src/main/java/org/richfaces/component/Column.java
trunk/ui/iteration/dist/richfaces-ui-iteration-api/src/main/java/org/richfaces/component/Expandable.java
trunk/ui/iteration/dist/richfaces-ui-iteration-api/src/main/java/org/richfaces/component/Row.java
trunk/ui/iteration/dist/richfaces-ui-iteration-api/src/main/java/org/richfaces/component/SortOrder.java
trunk/ui/iteration/dist/richfaces-ui-iteration-api/src/main/java/org/richfaces/event/FilteringEvent.java
trunk/ui/iteration/dist/richfaces-ui-iteration-api/src/main/java/org/richfaces/event/FilteringListener.java
trunk/ui/iteration/dist/richfaces-ui-iteration-api/src/main/java/org/richfaces/event/PagingEvent.java
trunk/ui/iteration/dist/richfaces-ui-iteration-api/src/main/java/org/richfaces/event/PagingListener.java
trunk/ui/iteration/dist/richfaces-ui-iteration-api/src/main/java/org/richfaces/event/SortingEvent.java
trunk/ui/iteration/dist/richfaces-ui-iteration-api/src/main/java/org/richfaces/event/SortingListener.java
trunk/ui/iteration/dist/richfaces-ui-iteration-api/src/main/java/org/richfaces/event/ToggleEvent.java
trunk/ui/iteration/dist/richfaces-ui-iteration-api/src/main/java/org/richfaces/event/ToggleListener.java
trunk/ui/iteration/dist/richfaces-ui-iteration-api/src/main/java/org/richfaces/model/
trunk/ui/iteration/dist/richfaces-ui-iteration-ui/pom-list.xml
trunk/ui/iteration/dist/richfaces-ui-iteration-ui/src/main/java/org/richfaces/model/
Removed:
trunk/ui/iteration/dist/richfaces-ui-iteration-impl/
trunk/ui/iteration/lists/ui/pom.xml
trunk/ui/iteration/tables/api/src/main/java/org/richfaces/component/Column.java
trunk/ui/iteration/tables/api/src/main/java/org/richfaces/component/Expandable.java
trunk/ui/iteration/tables/api/src/main/java/org/richfaces/component/Row.java
trunk/ui/iteration/tables/api/src/main/java/org/richfaces/component/SortOrder.java
trunk/ui/iteration/tables/api/src/main/java/org/richfaces/event/FilteringEvent.java
trunk/ui/iteration/tables/api/src/main/java/org/richfaces/event/FilteringListener.java
trunk/ui/iteration/tables/api/src/main/java/org/richfaces/event/PagingEvent.java
trunk/ui/iteration/tables/api/src/main/java/org/richfaces/event/PagingListener.java
trunk/ui/iteration/tables/api/src/main/java/org/richfaces/event/SortingEvent.java
trunk/ui/iteration/tables/api/src/main/java/org/richfaces/event/SortingListener.java
trunk/ui/iteration/tables/api/src/main/java/org/richfaces/event/ToggleEvent.java
trunk/ui/iteration/tables/api/src/main/java/org/richfaces/event/ToggleListener.java
trunk/ui/iteration/tables/api/src/main/java/org/richfaces/model/
trunk/ui/iteration/tables/impl/src/main/java/org/richfaces/model/
Log:
Richfaces 4.0 restructurization of svn repository structure
Copied: trunk/ui/iteration/dist/richfaces-ui-iteration-api/src/main/java/org/richfaces/component/Column.java (from rev 18497, trunk/ui/iteration/tables/api/src/main/java/org/richfaces/component/Column.java)
===================================================================
--- trunk/ui/iteration/dist/richfaces-ui-iteration-api/src/main/java/org/richfaces/component/Column.java (rev 0)
+++ trunk/ui/iteration/dist/richfaces-ui-iteration-api/src/main/java/org/richfaces/component/Column.java 2010-08-09 14:03:02 UTC (rev 18509)
@@ -0,0 +1,32 @@
+/*
+ * 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;
+
+
+/**
+ * Marker interface for all components used as column in UIDataTable
+ * @author shura
+ *
+ */
+public interface Column {
+}
Copied: trunk/ui/iteration/dist/richfaces-ui-iteration-api/src/main/java/org/richfaces/component/Expandable.java (from rev 18497, trunk/ui/iteration/tables/api/src/main/java/org/richfaces/component/Expandable.java)
===================================================================
--- trunk/ui/iteration/dist/richfaces-ui-iteration-api/src/main/java/org/richfaces/component/Expandable.java (rev 0)
+++ trunk/ui/iteration/dist/richfaces-ui-iteration-api/src/main/java/org/richfaces/component/Expandable.java 2010-08-09 14:03:02 UTC (rev 18509)
@@ -0,0 +1,39 @@
+/*
+ * 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 org.richfaces.event.ToggleListener;
+
+public interface Expandable {
+
+ public boolean isExpanded();
+
+ public void setExpanded(boolean expand);
+
+ public void addToggleListener(ToggleListener listener);
+
+ public void removeToggleListener(ToggleListener listener);
+
+ public ToggleListener[] getToggleListeners();
+}
Copied: trunk/ui/iteration/dist/richfaces-ui-iteration-api/src/main/java/org/richfaces/component/Row.java (from rev 18497, trunk/ui/iteration/tables/api/src/main/java/org/richfaces/component/Row.java)
===================================================================
--- trunk/ui/iteration/dist/richfaces-ui-iteration-api/src/main/java/org/richfaces/component/Row.java (rev 0)
+++ trunk/ui/iteration/dist/richfaces-ui-iteration-api/src/main/java/org/richfaces/component/Row.java 2010-08-09 14:03:02 UTC (rev 18509)
@@ -0,0 +1,49 @@
+/*
+ * 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 org.ajax4jsf.model.DataVisitor;
+
+import javax.faces.component.UIComponent;
+import javax.faces.context.FacesContext;
+import java.util.Iterator;
+
+/**
+ * Marker interface for table columns, rendered as entire row.
+ *
+ * @author shura
+ */
+public interface Row {
+
+ /**
+ * Get iterator for all columns contained in this row.
+ */
+ public Iterator<UIComponent> columns();
+
+ public void setRowKey(FacesContext context, Object rowKey);
+
+ public String getClientId(FacesContext context);
+
+ public void walk(FacesContext context, DataVisitor visitor, Object argument);
+
+}
Copied: trunk/ui/iteration/dist/richfaces-ui-iteration-api/src/main/java/org/richfaces/component/SortOrder.java (from rev 18497, trunk/ui/iteration/tables/api/src/main/java/org/richfaces/component/SortOrder.java)
===================================================================
--- trunk/ui/iteration/dist/richfaces-ui-iteration-api/src/main/java/org/richfaces/component/SortOrder.java (rev 0)
+++ trunk/ui/iteration/dist/richfaces-ui-iteration-api/src/main/java/org/richfaces/component/SortOrder.java 2010-08-09 14:03:02 UTC (rev 18509)
@@ -0,0 +1,33 @@
+/*
+ * 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;
+
+
+public enum SortOrder {
+
+ ascending,
+
+ descending,
+
+ unsorted
+}
\ No newline at end of file
Copied: trunk/ui/iteration/dist/richfaces-ui-iteration-api/src/main/java/org/richfaces/event/FilteringEvent.java (from rev 18497, trunk/ui/iteration/tables/api/src/main/java/org/richfaces/event/FilteringEvent.java)
===================================================================
--- trunk/ui/iteration/dist/richfaces-ui-iteration-api/src/main/java/org/richfaces/event/FilteringEvent.java (rev 0)
+++ trunk/ui/iteration/dist/richfaces-ui-iteration-api/src/main/java/org/richfaces/event/FilteringEvent.java 2010-08-09 14:03:02 UTC (rev 18509)
@@ -0,0 +1,24 @@
+package org.richfaces.event;
+
+import javax.faces.component.UIComponent;
+import javax.faces.event.FacesEvent;
+import javax.faces.event.FacesListener;
+
+public class FilteringEvent extends FacesEvent {
+
+ private static final long serialVersionUID = -2053345697091983617L;
+
+ public FilteringEvent(UIComponent component) {
+ super(component);
+ }
+
+ @Override
+ public boolean isAppropriateListener(FacesListener listener) {
+ return (listener instanceof FilteringListener);
+ }
+
+ @Override
+ public void processListener(FacesListener listener) {
+ ((FilteringListener)listener).processFiltering(this);
+ }
+}
Copied: trunk/ui/iteration/dist/richfaces-ui-iteration-api/src/main/java/org/richfaces/event/FilteringListener.java (from rev 18497, trunk/ui/iteration/tables/api/src/main/java/org/richfaces/event/FilteringListener.java)
===================================================================
--- trunk/ui/iteration/dist/richfaces-ui-iteration-api/src/main/java/org/richfaces/event/FilteringListener.java (rev 0)
+++ trunk/ui/iteration/dist/richfaces-ui-iteration-api/src/main/java/org/richfaces/event/FilteringListener.java 2010-08-09 14:03:02 UTC (rev 18509)
@@ -0,0 +1,9 @@
+package org.richfaces.event;
+
+import javax.faces.event.FacesListener;
+
+public interface FilteringListener extends FacesListener{
+
+ public void processFiltering(FilteringEvent filteringEvent);
+
+}
Copied: trunk/ui/iteration/dist/richfaces-ui-iteration-api/src/main/java/org/richfaces/event/PagingEvent.java (from rev 18497, trunk/ui/iteration/tables/api/src/main/java/org/richfaces/event/PagingEvent.java)
===================================================================
--- trunk/ui/iteration/dist/richfaces-ui-iteration-api/src/main/java/org/richfaces/event/PagingEvent.java (rev 0)
+++ trunk/ui/iteration/dist/richfaces-ui-iteration-api/src/main/java/org/richfaces/event/PagingEvent.java 2010-08-09 14:03:02 UTC (rev 18509)
@@ -0,0 +1,44 @@
+/*
+ * 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;
+import javax.faces.event.FacesEvent;
+import javax.faces.event.FacesListener;
+
+public class PagingEvent extends FacesEvent {
+
+ private static final long serialVersionUID = -8176111805839316345L;
+
+ public PagingEvent(UIComponent component) {
+ super(component);
+ }
+
+ public boolean isAppropriateListener(FacesListener listener) {
+ return listener instanceof PagingListener;
+ }
+
+ public void processListener(FacesListener listener) {
+ ((PagingListener) listener).processPaging(this);
+ }
+}
Copied: trunk/ui/iteration/dist/richfaces-ui-iteration-api/src/main/java/org/richfaces/event/PagingListener.java (from rev 18497, trunk/ui/iteration/tables/api/src/main/java/org/richfaces/event/PagingListener.java)
===================================================================
--- trunk/ui/iteration/dist/richfaces-ui-iteration-api/src/main/java/org/richfaces/event/PagingListener.java (rev 0)
+++ trunk/ui/iteration/dist/richfaces-ui-iteration-api/src/main/java/org/richfaces/event/PagingListener.java 2010-08-09 14:03:02 UTC (rev 18509)
@@ -0,0 +1,31 @@
+/*
+ * 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;
+
+public interface PagingListener extends FacesListener {
+
+ public void processPaging(PagingEvent event);
+
+}
Copied: trunk/ui/iteration/dist/richfaces-ui-iteration-api/src/main/java/org/richfaces/event/SortingEvent.java (from rev 18497, trunk/ui/iteration/tables/api/src/main/java/org/richfaces/event/SortingEvent.java)
===================================================================
--- trunk/ui/iteration/dist/richfaces-ui-iteration-api/src/main/java/org/richfaces/event/SortingEvent.java (rev 0)
+++ trunk/ui/iteration/dist/richfaces-ui-iteration-api/src/main/java/org/richfaces/event/SortingEvent.java 2010-08-09 14:03:02 UTC (rev 18509)
@@ -0,0 +1,69 @@
+/*
+ * 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;
+import javax.faces.event.FacesEvent;
+import javax.faces.event.FacesListener;
+
+import org.richfaces.component.SortOrder;
+
+public class SortingEvent extends FacesEvent {
+
+ private static final long serialVersionUID = 2125258204996535522L;
+
+ private SortOrder sortOrder;
+
+ private String columnId;
+
+
+ public SortingEvent(UIComponent source, String columnId, SortOrder sortOrder) {
+ super(source);
+ this.sortOrder = sortOrder;
+ this.setColumnId(columnId);
+ }
+
+ public boolean isAppropriateListener(FacesListener listener) {
+ return (listener instanceof SortingListener);
+ }
+
+ public void processListener(FacesListener listener) {
+ ((SortingListener)listener).processSorting(this);
+ }
+
+ public void setSortOrder(SortOrder sortOrder) {
+ this.sortOrder = sortOrder;
+ }
+
+ public SortOrder getSortOrder() {
+ return sortOrder;
+ }
+
+ public void setColumnId(String columnId) {
+ this.columnId = columnId;
+ }
+
+ public String getColumnId() {
+ return columnId;
+ }
+}
Copied: trunk/ui/iteration/dist/richfaces-ui-iteration-api/src/main/java/org/richfaces/event/SortingListener.java (from rev 18497, trunk/ui/iteration/tables/api/src/main/java/org/richfaces/event/SortingListener.java)
===================================================================
--- trunk/ui/iteration/dist/richfaces-ui-iteration-api/src/main/java/org/richfaces/event/SortingListener.java (rev 0)
+++ trunk/ui/iteration/dist/richfaces-ui-iteration-api/src/main/java/org/richfaces/event/SortingListener.java 2010-08-09 14:03:02 UTC (rev 18509)
@@ -0,0 +1,31 @@
+/*
+ * 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;
+
+public interface SortingListener extends FacesListener {
+
+ public void processSorting(SortingEvent sortingEvent);
+
+}
Copied: trunk/ui/iteration/dist/richfaces-ui-iteration-api/src/main/java/org/richfaces/event/ToggleEvent.java (from rev 18497, trunk/ui/iteration/tables/api/src/main/java/org/richfaces/event/ToggleEvent.java)
===================================================================
--- trunk/ui/iteration/dist/richfaces-ui-iteration-api/src/main/java/org/richfaces/event/ToggleEvent.java (rev 0)
+++ trunk/ui/iteration/dist/richfaces-ui-iteration-api/src/main/java/org/richfaces/event/ToggleEvent.java 2010-08-09 14:03:02 UTC (rev 18509)
@@ -0,0 +1,72 @@
+/*
+ * 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;
+import javax.faces.event.FacesEvent;
+import javax.faces.event.FacesListener;
+
+/**
+ * @author Anton Belevich
+ *
+ */
+public class ToggleEvent extends FacesEvent {
+
+ private static final long serialVersionUID = 2916560585918250885L;
+
+ private String togglerId;
+
+ private boolean expanded;
+
+
+
+ public ToggleEvent(UIComponent source, boolean expanded) {
+ this(source, expanded, null);
+ }
+
+ public ToggleEvent(UIComponent source, boolean expanded, String toggerId) {
+ super(source);
+ this.expanded = expanded;
+ this.togglerId = toggerId;
+ }
+
+ public String getTogglerId() {
+ return togglerId;
+ }
+
+ public void setTogglerId(String togglerId) {
+ this.togglerId = togglerId;
+ }
+
+ public boolean isExpanded() {
+ return this.expanded;
+ }
+
+ public boolean isAppropriateListener(FacesListener listener) {
+ return (listener instanceof ToggleListener);
+ }
+
+ public void processListener(FacesListener listener) {
+ ((ToggleListener) listener).processToggle(this);
+ }
+}
Copied: trunk/ui/iteration/dist/richfaces-ui-iteration-api/src/main/java/org/richfaces/event/ToggleListener.java (from rev 18497, trunk/ui/iteration/tables/api/src/main/java/org/richfaces/event/ToggleListener.java)
===================================================================
--- trunk/ui/iteration/dist/richfaces-ui-iteration-api/src/main/java/org/richfaces/event/ToggleListener.java (rev 0)
+++ trunk/ui/iteration/dist/richfaces-ui-iteration-api/src/main/java/org/richfaces/event/ToggleListener.java 2010-08-09 14:03:02 UTC (rev 18509)
@@ -0,0 +1,35 @@
+/*
+ * 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;
+
+/**
+ * @author Anton Belevich
+ *
+ */
+public interface ToggleListener extends FacesListener {
+
+ public void processToggle(ToggleEvent event);
+
+}
Copied: trunk/ui/iteration/dist/richfaces-ui-iteration-api/src/main/java/org/richfaces/model (from rev 18497, trunk/ui/iteration/tables/api/src/main/java/org/richfaces/model)
Copied: trunk/ui/iteration/dist/richfaces-ui-iteration-ui/pom-list.xml (from rev 18497, trunk/ui/iteration/lists/ui/pom.xml)
===================================================================
--- trunk/ui/iteration/dist/richfaces-ui-iteration-ui/pom-list.xml (rev 0)
+++ trunk/ui/iteration/dist/richfaces-ui-iteration-ui/pom-list.xml 2010-08-09 14:03:02 UTC (rev 18509)
@@ -0,0 +1,135 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- JBoss, Home of Professional Open Source Copyright 2010, 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. -->
+
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <groupId>org.richfaces.ui.iteration</groupId>
+ <artifactId>lists-aggregator</artifactId>
+ <version>4.0.0-SNAPSHOT</version>
+ <relativePath>../pom.xml</relativePath>
+ </parent>
+
+ <groupId>org.richfaces.ui.iteration</groupId>
+ <artifactId>lists-ui</artifactId>
+ <packaging>jar</packaging>
+ <name>Richfaces UI Components: Lists UI</name>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.richfaces.cdk</groupId>
+ <artifactId>maven-cdk-plugin</artifactId>
+ </plugin>
+ </plugins>
+ </build>
+
+ <dependencies>
+ <!-- runtime -->
+ <dependency>
+ <groupId>org.richfaces.core</groupId>
+ <artifactId>richfaces-core-api</artifactId>
+ </dependency>
+ <dependency>
+ <!-- todo remove this dependency or move to test scope -->
+ <groupId>org.richfaces.core</groupId>
+ <artifactId>richfaces-core-impl</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.richfaces.cdk</groupId>
+ <artifactId>annotations</artifactId>
+ <scope>provided</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>org.richfaces.ui.iteration</groupId>
+ <artifactId>lists-api</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+
+ <!-- JSF with dependencies -->
+ <dependency>
+ <groupId>${jsf2.api.groupid}</groupId>
+ <artifactId>${jsf2.api.artifactid}</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>javax.servlet</groupId>
+ <artifactId>servlet-api</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>javax.servlet.jsp</groupId>
+ <artifactId>jsp-api</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>javax.el</groupId>
+ <artifactId>el-api</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>javax.servlet</groupId>
+ <artifactId>jstl</artifactId>
+ <scope>provided</scope>
+ </dependency>
+
+ <!-- tests -->
+ <dependency>
+ <groupId>${jsf2.impl.groupid}</groupId>
+ <artifactId>${jsf2.impl.artifactid}</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <!-- todo api? -->
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-log4j12</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.test-jsf</groupId>
+ <artifactId>jsf-test-stage</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.test-jsf</groupId>
+ <artifactId>htmlunit-client</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.test-jsf</groupId>
+ <artifactId>jsf-mock</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>com.google.guava</groupId>
+ <artifactId>guava</artifactId>
+ </dependency>
+ </dependencies>
+
+ <scm>
+ <connection>scm:svn:http://anonsvn.jboss.org/repos/richfaces/trunk/ui/iteration/lists/ui</connection>
+ <developerConnection>scm:svn:https://svn.jboss.org/repos/richfaces/trunk/ui/iteration/lists/ui</developerConnection>
+ <url>http://fisheye.jboss.org/browse/richfaces</url>
+ </scm>
+</project>
\ No newline at end of file
Copied: trunk/ui/iteration/dist/richfaces-ui-iteration-ui/src/main/java/org/richfaces/model (from rev 18497, trunk/ui/iteration/tables/impl/src/main/java/org/richfaces/model)
Deleted: trunk/ui/iteration/lists/ui/pom.xml
===================================================================
--- trunk/ui/iteration/lists/ui/pom.xml 2010-08-09 13:46:52 UTC (rev 18508)
+++ trunk/ui/iteration/lists/ui/pom.xml 2010-08-09 14:03:02 UTC (rev 18509)
@@ -1,135 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!-- JBoss, Home of Professional Open Source Copyright 2010, 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. -->
-
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
-
- <modelVersion>4.0.0</modelVersion>
-
- <parent>
- <groupId>org.richfaces.ui.iteration</groupId>
- <artifactId>lists-aggregator</artifactId>
- <version>4.0.0-SNAPSHOT</version>
- <relativePath>../pom.xml</relativePath>
- </parent>
-
- <groupId>org.richfaces.ui.iteration</groupId>
- <artifactId>lists-ui</artifactId>
- <packaging>jar</packaging>
- <name>Richfaces UI Components: Lists UI</name>
-
- <build>
- <plugins>
- <plugin>
- <groupId>org.richfaces.cdk</groupId>
- <artifactId>maven-cdk-plugin</artifactId>
- </plugin>
- </plugins>
- </build>
-
- <dependencies>
- <!-- runtime -->
- <dependency>
- <groupId>org.richfaces.core</groupId>
- <artifactId>richfaces-core-api</artifactId>
- </dependency>
- <dependency>
- <!-- todo remove this dependency or move to test scope -->
- <groupId>org.richfaces.core</groupId>
- <artifactId>richfaces-core-impl</artifactId>
- </dependency>
- <dependency>
- <groupId>org.richfaces.cdk</groupId>
- <artifactId>annotations</artifactId>
- <scope>provided</scope>
- </dependency>
-
- <dependency>
- <groupId>org.richfaces.ui.iteration</groupId>
- <artifactId>lists-api</artifactId>
- <version>${project.version}</version>
- </dependency>
-
- <!-- JSF with dependencies -->
- <dependency>
- <groupId>${jsf2.api.groupid}</groupId>
- <artifactId>${jsf2.api.artifactid}</artifactId>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>javax.servlet</groupId>
- <artifactId>servlet-api</artifactId>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>javax.servlet.jsp</groupId>
- <artifactId>jsp-api</artifactId>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>javax.el</groupId>
- <artifactId>el-api</artifactId>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>javax.servlet</groupId>
- <artifactId>jstl</artifactId>
- <scope>provided</scope>
- </dependency>
-
- <!-- tests -->
- <dependency>
- <groupId>${jsf2.impl.groupid}</groupId>
- <artifactId>${jsf2.impl.artifactid}</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <!-- todo api? -->
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-log4j12</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.jboss.test-jsf</groupId>
- <artifactId>jsf-test-stage</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.jboss.test-jsf</groupId>
- <artifactId>htmlunit-client</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.jboss.test-jsf</groupId>
- <artifactId>jsf-mock</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>com.google.guava</groupId>
- <artifactId>guava</artifactId>
- </dependency>
- </dependencies>
-
- <scm>
- <connection>scm:svn:http://anonsvn.jboss.org/repos/richfaces/trunk/ui/iteration/lists/ui</connection>
- <developerConnection>scm:svn:https://svn.jboss.org/repos/richfaces/trunk/ui/iteration/lists/ui</developerConnection>
- <url>http://fisheye.jboss.org/browse/richfaces</url>
- </scm>
-</project>
\ No newline at end of file
Deleted: trunk/ui/iteration/tables/api/src/main/java/org/richfaces/component/Column.java
===================================================================
--- trunk/ui/iteration/tables/api/src/main/java/org/richfaces/component/Column.java 2010-08-09 13:46:52 UTC (rev 18508)
+++ trunk/ui/iteration/tables/api/src/main/java/org/richfaces/component/Column.java 2010-08-09 14:03:02 UTC (rev 18509)
@@ -1,32 +0,0 @@
-/*
- * 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;
-
-
-/**
- * Marker interface for all components used as column in UIDataTable
- * @author shura
- *
- */
-public interface Column {
-}
Deleted: trunk/ui/iteration/tables/api/src/main/java/org/richfaces/component/Expandable.java
===================================================================
--- trunk/ui/iteration/tables/api/src/main/java/org/richfaces/component/Expandable.java 2010-08-09 13:46:52 UTC (rev 18508)
+++ trunk/ui/iteration/tables/api/src/main/java/org/richfaces/component/Expandable.java 2010-08-09 14:03:02 UTC (rev 18509)
@@ -1,39 +0,0 @@
-/*
- * 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 org.richfaces.event.ToggleListener;
-
-public interface Expandable {
-
- public boolean isExpanded();
-
- public void setExpanded(boolean expand);
-
- public void addToggleListener(ToggleListener listener);
-
- public void removeToggleListener(ToggleListener listener);
-
- public ToggleListener[] getToggleListeners();
-}
Deleted: trunk/ui/iteration/tables/api/src/main/java/org/richfaces/component/Row.java
===================================================================
--- trunk/ui/iteration/tables/api/src/main/java/org/richfaces/component/Row.java 2010-08-09 13:46:52 UTC (rev 18508)
+++ trunk/ui/iteration/tables/api/src/main/java/org/richfaces/component/Row.java 2010-08-09 14:03:02 UTC (rev 18509)
@@ -1,49 +0,0 @@
-/*
- * 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 org.ajax4jsf.model.DataVisitor;
-
-import javax.faces.component.UIComponent;
-import javax.faces.context.FacesContext;
-import java.util.Iterator;
-
-/**
- * Marker interface for table columns, rendered as entire row.
- *
- * @author shura
- */
-public interface Row {
-
- /**
- * Get iterator for all columns contained in this row.
- */
- public Iterator<UIComponent> columns();
-
- public void setRowKey(FacesContext context, Object rowKey);
-
- public String getClientId(FacesContext context);
-
- public void walk(FacesContext context, DataVisitor visitor, Object argument);
-
-}
Deleted: trunk/ui/iteration/tables/api/src/main/java/org/richfaces/component/SortOrder.java
===================================================================
--- trunk/ui/iteration/tables/api/src/main/java/org/richfaces/component/SortOrder.java 2010-08-09 13:46:52 UTC (rev 18508)
+++ trunk/ui/iteration/tables/api/src/main/java/org/richfaces/component/SortOrder.java 2010-08-09 14:03:02 UTC (rev 18509)
@@ -1,33 +0,0 @@
-/*
- * 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;
-
-
-public enum SortOrder {
-
- ascending,
-
- descending,
-
- unsorted
-}
\ No newline at end of file
Deleted: trunk/ui/iteration/tables/api/src/main/java/org/richfaces/event/FilteringEvent.java
===================================================================
--- trunk/ui/iteration/tables/api/src/main/java/org/richfaces/event/FilteringEvent.java 2010-08-09 13:46:52 UTC (rev 18508)
+++ trunk/ui/iteration/tables/api/src/main/java/org/richfaces/event/FilteringEvent.java 2010-08-09 14:03:02 UTC (rev 18509)
@@ -1,24 +0,0 @@
-package org.richfaces.event;
-
-import javax.faces.component.UIComponent;
-import javax.faces.event.FacesEvent;
-import javax.faces.event.FacesListener;
-
-public class FilteringEvent extends FacesEvent {
-
- private static final long serialVersionUID = -2053345697091983617L;
-
- public FilteringEvent(UIComponent component) {
- super(component);
- }
-
- @Override
- public boolean isAppropriateListener(FacesListener listener) {
- return (listener instanceof FilteringListener);
- }
-
- @Override
- public void processListener(FacesListener listener) {
- ((FilteringListener)listener).processFiltering(this);
- }
-}
Deleted: trunk/ui/iteration/tables/api/src/main/java/org/richfaces/event/FilteringListener.java
===================================================================
--- trunk/ui/iteration/tables/api/src/main/java/org/richfaces/event/FilteringListener.java 2010-08-09 13:46:52 UTC (rev 18508)
+++ trunk/ui/iteration/tables/api/src/main/java/org/richfaces/event/FilteringListener.java 2010-08-09 14:03:02 UTC (rev 18509)
@@ -1,9 +0,0 @@
-package org.richfaces.event;
-
-import javax.faces.event.FacesListener;
-
-public interface FilteringListener extends FacesListener{
-
- public void processFiltering(FilteringEvent filteringEvent);
-
-}
Deleted: trunk/ui/iteration/tables/api/src/main/java/org/richfaces/event/PagingEvent.java
===================================================================
--- trunk/ui/iteration/tables/api/src/main/java/org/richfaces/event/PagingEvent.java 2010-08-09 13:46:52 UTC (rev 18508)
+++ trunk/ui/iteration/tables/api/src/main/java/org/richfaces/event/PagingEvent.java 2010-08-09 14:03:02 UTC (rev 18509)
@@ -1,44 +0,0 @@
-/*
- * 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;
-import javax.faces.event.FacesEvent;
-import javax.faces.event.FacesListener;
-
-public class PagingEvent extends FacesEvent {
-
- private static final long serialVersionUID = -8176111805839316345L;
-
- public PagingEvent(UIComponent component) {
- super(component);
- }
-
- public boolean isAppropriateListener(FacesListener listener) {
- return listener instanceof PagingListener;
- }
-
- public void processListener(FacesListener listener) {
- ((PagingListener) listener).processPaging(this);
- }
-}
Deleted: trunk/ui/iteration/tables/api/src/main/java/org/richfaces/event/PagingListener.java
===================================================================
--- trunk/ui/iteration/tables/api/src/main/java/org/richfaces/event/PagingListener.java 2010-08-09 13:46:52 UTC (rev 18508)
+++ trunk/ui/iteration/tables/api/src/main/java/org/richfaces/event/PagingListener.java 2010-08-09 14:03:02 UTC (rev 18509)
@@ -1,31 +0,0 @@
-/*
- * 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;
-
-public interface PagingListener extends FacesListener {
-
- public void processPaging(PagingEvent event);
-
-}
Deleted: trunk/ui/iteration/tables/api/src/main/java/org/richfaces/event/SortingEvent.java
===================================================================
--- trunk/ui/iteration/tables/api/src/main/java/org/richfaces/event/SortingEvent.java 2010-08-09 13:46:52 UTC (rev 18508)
+++ trunk/ui/iteration/tables/api/src/main/java/org/richfaces/event/SortingEvent.java 2010-08-09 14:03:02 UTC (rev 18509)
@@ -1,69 +0,0 @@
-/*
- * 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;
-import javax.faces.event.FacesEvent;
-import javax.faces.event.FacesListener;
-
-import org.richfaces.component.SortOrder;
-
-public class SortingEvent extends FacesEvent {
-
- private static final long serialVersionUID = 2125258204996535522L;
-
- private SortOrder sortOrder;
-
- private String columnId;
-
-
- public SortingEvent(UIComponent source, String columnId, SortOrder sortOrder) {
- super(source);
- this.sortOrder = sortOrder;
- this.setColumnId(columnId);
- }
-
- public boolean isAppropriateListener(FacesListener listener) {
- return (listener instanceof SortingListener);
- }
-
- public void processListener(FacesListener listener) {
- ((SortingListener)listener).processSorting(this);
- }
-
- public void setSortOrder(SortOrder sortOrder) {
- this.sortOrder = sortOrder;
- }
-
- public SortOrder getSortOrder() {
- return sortOrder;
- }
-
- public void setColumnId(String columnId) {
- this.columnId = columnId;
- }
-
- public String getColumnId() {
- return columnId;
- }
-}
Deleted: trunk/ui/iteration/tables/api/src/main/java/org/richfaces/event/SortingListener.java
===================================================================
--- trunk/ui/iteration/tables/api/src/main/java/org/richfaces/event/SortingListener.java 2010-08-09 13:46:52 UTC (rev 18508)
+++ trunk/ui/iteration/tables/api/src/main/java/org/richfaces/event/SortingListener.java 2010-08-09 14:03:02 UTC (rev 18509)
@@ -1,31 +0,0 @@
-/*
- * 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;
-
-public interface SortingListener extends FacesListener {
-
- public void processSorting(SortingEvent sortingEvent);
-
-}
Deleted: trunk/ui/iteration/tables/api/src/main/java/org/richfaces/event/ToggleEvent.java
===================================================================
--- trunk/ui/iteration/tables/api/src/main/java/org/richfaces/event/ToggleEvent.java 2010-08-09 13:46:52 UTC (rev 18508)
+++ trunk/ui/iteration/tables/api/src/main/java/org/richfaces/event/ToggleEvent.java 2010-08-09 14:03:02 UTC (rev 18509)
@@ -1,72 +0,0 @@
-/*
- * 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;
-import javax.faces.event.FacesEvent;
-import javax.faces.event.FacesListener;
-
-/**
- * @author Anton Belevich
- *
- */
-public class ToggleEvent extends FacesEvent {
-
- private static final long serialVersionUID = 2916560585918250885L;
-
- private String togglerId;
-
- private boolean expanded;
-
-
-
- public ToggleEvent(UIComponent source, boolean expanded) {
- this(source, expanded, null);
- }
-
- public ToggleEvent(UIComponent source, boolean expanded, String toggerId) {
- super(source);
- this.expanded = expanded;
- this.togglerId = toggerId;
- }
-
- public String getTogglerId() {
- return togglerId;
- }
-
- public void setTogglerId(String togglerId) {
- this.togglerId = togglerId;
- }
-
- public boolean isExpanded() {
- return this.expanded;
- }
-
- public boolean isAppropriateListener(FacesListener listener) {
- return (listener instanceof ToggleListener);
- }
-
- public void processListener(FacesListener listener) {
- ((ToggleListener) listener).processToggle(this);
- }
-}
Deleted: trunk/ui/iteration/tables/api/src/main/java/org/richfaces/event/ToggleListener.java
===================================================================
--- trunk/ui/iteration/tables/api/src/main/java/org/richfaces/event/ToggleListener.java 2010-08-09 13:46:52 UTC (rev 18508)
+++ trunk/ui/iteration/tables/api/src/main/java/org/richfaces/event/ToggleListener.java 2010-08-09 14:03:02 UTC (rev 18509)
@@ -1,35 +0,0 @@
-/*
- * 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;
-
-/**
- * @author Anton Belevich
- *
- */
-public interface ToggleListener extends FacesListener {
-
- public void processToggle(ToggleEvent event);
-
-}
15 years, 9 months
JBoss Rich Faces SVN: r18508 - in trunk/ui/iteration: datascroller/ui and 4 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: Alex.Kolonitsky
Date: 2010-08-09 09:46:52 -0400 (Mon, 09 Aug 2010)
New Revision: 18508
Added:
trunk/ui/iteration/dist/richfaces-ui-iteration-api/pom.xml
trunk/ui/iteration/dist/richfaces-ui-iteration-ui/pom.xml
trunk/ui/iteration/dist/richfaces-ui-iteration-ui/src/test/
Removed:
trunk/ui/iteration/datascroller/api/pom.xml
trunk/ui/iteration/datascroller/ui/pom.xml
trunk/ui/iteration/lists/ui/src/test/
Log:
Richfaces 4.0 restructurization of svn repository structure
Deleted: trunk/ui/iteration/datascroller/api/pom.xml
===================================================================
--- trunk/ui/iteration/datascroller/api/pom.xml 2010-08-09 13:27:29 UTC (rev 18507)
+++ trunk/ui/iteration/datascroller/api/pom.xml 2010-08-09 13:46:52 UTC (rev 18508)
@@ -1,105 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!--
- JBoss, Home of Professional Open Source Copyright 2010, 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.
--->
-
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
-
- <parent>
- <groupId>org.richfaces.ui.iteration</groupId>
- <artifactId>datascroller-aggregator</artifactId>
- <version>4.0.0-SNAPSHOT</version>
- <relativePath>../pom.xml</relativePath>
- </parent>
-
- <modelVersion>4.0.0</modelVersion>
- <groupId>org.richfaces.ui.iteration</groupId>
- <artifactId>datascroller-api</artifactId>
- <name>Richfaces UI Components: Datascroller API</name>
- <packaging>jar</packaging>
-
- <dependencies>
- <!-- JSF with dependencies -->
- <dependency>
- <groupId>${jsf2.api.groupid}</groupId>
- <artifactId>${jsf2.api.artifactid}</artifactId>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>javax.servlet</groupId>
- <artifactId>servlet-api</artifactId>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>javax.servlet.jsp</groupId>
- <artifactId>jsp-api</artifactId>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>javax.el</groupId>
- <artifactId>el-api</artifactId>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>javax.servlet</groupId>
- <artifactId>jstl</artifactId>
- <scope>provided</scope>
- </dependency>
-
- <!-- tests -->
- <dependency>
- <groupId>${jsf2.impl.groupid}</groupId>
- <artifactId>${jsf2.impl.artifactid}</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <!-- todo api? -->
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-log4j12</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.jboss.test-jsf</groupId>
- <artifactId>jsf-test-stage</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.jboss.test-jsf</groupId>
- <artifactId>htmlunit-client</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.jboss.test-jsf</groupId>
- <artifactId>jsf-mock</artifactId>
- <scope>test</scope>
- </dependency>
- </dependencies>
-
- <scm>
- <connection>scm:svn:http://anonsvn.jboss.org/repos/richfaces/trunk/ui/iteration/datas...</connection>
- <developerConnection>scm:svn:https://svn.jboss.org/repos/richfaces/trunk/ui/iteration/datascro...</developerConnection>
- <url>http://fisheye.jboss.org/browse/richfaces</url>
- </scm>
-
-</project>
\ No newline at end of file
Deleted: trunk/ui/iteration/datascroller/ui/pom.xml
===================================================================
--- trunk/ui/iteration/datascroller/ui/pom.xml 2010-08-09 13:27:29 UTC (rev 18507)
+++ trunk/ui/iteration/datascroller/ui/pom.xml 2010-08-09 13:46:52 UTC (rev 18508)
@@ -1,136 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!--
- JBoss, Home of Professional Open Source Copyright 2010, 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.
--->
-
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
-
- <modelVersion>4.0.0</modelVersion>
-
- <parent>
- <groupId>org.richfaces.ui.iteration</groupId>
- <artifactId>datascroller-aggregator</artifactId>
- <version>4.0.0-SNAPSHOT</version>
- <relativePath>../pom.xml</relativePath>
- </parent>
-
- <groupId>org.richfaces.ui.iteration</groupId>
- <artifactId>datascroller-ui</artifactId>
- <name>Richfaces UI Components: Datascroller UI</name>
- <packaging>jar</packaging>
- <build>
- <plugins>
- <plugin>
- <groupId>org.richfaces.cdk</groupId>
- <artifactId>maven-cdk-plugin</artifactId>
- </plugin>
- </plugins>
- </build>
-
- <dependencies>
- <!-- runtime -->
- <dependency>
- <groupId>org.richfaces.core</groupId>
- <artifactId>richfaces-core-api</artifactId>
- </dependency>
- <dependency>
- <!-- todo remove this dependency or move to test scope -->
- <groupId>org.richfaces.core</groupId>
- <artifactId>richfaces-core-impl</artifactId>
- </dependency>
- <dependency>
- <groupId>org.richfaces.cdk</groupId>
- <artifactId>annotations</artifactId>
- <scope>provided</scope>
- </dependency>
-
- <dependency>
- <groupId>org.richfaces.ui.iteration</groupId>
- <artifactId>datascroller-api</artifactId>
- <version>${project.version}</version>
- </dependency>
-
- <!-- JSF with dependencies -->
- <dependency>
- <groupId>${jsf2.api.groupid}</groupId>
- <artifactId>${jsf2.api.artifactid}</artifactId>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>javax.servlet</groupId>
- <artifactId>servlet-api</artifactId>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>javax.servlet.jsp</groupId>
- <artifactId>jsp-api</artifactId>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>javax.el</groupId>
- <artifactId>el-api</artifactId>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>javax.servlet</groupId>
- <artifactId>jstl</artifactId>
- <scope>provided</scope>
- </dependency>
-
- <!-- tests -->
- <dependency>
- <groupId>${jsf2.impl.groupid}</groupId>
- <artifactId>${jsf2.impl.artifactid}</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <!-- todo api? -->
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-log4j12</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.jboss.test-jsf</groupId>
- <artifactId>jsf-test-stage</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.jboss.test-jsf</groupId>
- <artifactId>htmlunit-client</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.jboss.test-jsf</groupId>
- <artifactId>jsf-mock</artifactId>
- <scope>test</scope>
- </dependency>
- </dependencies>
-
- <scm>
- <connection>scm:svn:http://anonsvn.jboss.org/repos/richfaces/trunk/ui/iteration/datas...</connection>
- <developerConnection>scm:svn:https://svn.jboss.org/repos/richfaces/trunk/ui/iteration/datascro...</developerConnection>
- <url>http://fisheye.jboss.org/browse/richfaces</url>
- </scm>
-
-</project>
\ No newline at end of file
Copied: trunk/ui/iteration/dist/richfaces-ui-iteration-api/pom.xml (from rev 18497, trunk/ui/iteration/datascroller/api/pom.xml)
===================================================================
--- trunk/ui/iteration/dist/richfaces-ui-iteration-api/pom.xml (rev 0)
+++ trunk/ui/iteration/dist/richfaces-ui-iteration-api/pom.xml 2010-08-09 13:46:52 UTC (rev 18508)
@@ -0,0 +1,105 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+ JBoss, Home of Professional Open Source Copyright 2010, 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.
+-->
+
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+
+ <parent>
+ <groupId>org.richfaces.ui.iteration</groupId>
+ <artifactId>datascroller-aggregator</artifactId>
+ <version>4.0.0-SNAPSHOT</version>
+ <relativePath>../pom.xml</relativePath>
+ </parent>
+
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.richfaces.ui.iteration</groupId>
+ <artifactId>datascroller-api</artifactId>
+ <name>Richfaces UI Components: Datascroller API</name>
+ <packaging>jar</packaging>
+
+ <dependencies>
+ <!-- JSF with dependencies -->
+ <dependency>
+ <groupId>${jsf2.api.groupid}</groupId>
+ <artifactId>${jsf2.api.artifactid}</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>javax.servlet</groupId>
+ <artifactId>servlet-api</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>javax.servlet.jsp</groupId>
+ <artifactId>jsp-api</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>javax.el</groupId>
+ <artifactId>el-api</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>javax.servlet</groupId>
+ <artifactId>jstl</artifactId>
+ <scope>provided</scope>
+ </dependency>
+
+ <!-- tests -->
+ <dependency>
+ <groupId>${jsf2.impl.groupid}</groupId>
+ <artifactId>${jsf2.impl.artifactid}</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <!-- todo api? -->
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-log4j12</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.test-jsf</groupId>
+ <artifactId>jsf-test-stage</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.test-jsf</groupId>
+ <artifactId>htmlunit-client</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.test-jsf</groupId>
+ <artifactId>jsf-mock</artifactId>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+
+ <scm>
+ <connection>scm:svn:http://anonsvn.jboss.org/repos/richfaces/trunk/ui/iteration/datas...</connection>
+ <developerConnection>scm:svn:https://svn.jboss.org/repos/richfaces/trunk/ui/iteration/datascro...</developerConnection>
+ <url>http://fisheye.jboss.org/browse/richfaces</url>
+ </scm>
+
+</project>
\ No newline at end of file
Copied: trunk/ui/iteration/dist/richfaces-ui-iteration-ui/pom.xml (from rev 18497, trunk/ui/iteration/datascroller/ui/pom.xml)
===================================================================
--- trunk/ui/iteration/dist/richfaces-ui-iteration-ui/pom.xml (rev 0)
+++ trunk/ui/iteration/dist/richfaces-ui-iteration-ui/pom.xml 2010-08-09 13:46:52 UTC (rev 18508)
@@ -0,0 +1,136 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+ JBoss, Home of Professional Open Source Copyright 2010, 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.
+-->
+
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <groupId>org.richfaces.ui.iteration</groupId>
+ <artifactId>datascroller-aggregator</artifactId>
+ <version>4.0.0-SNAPSHOT</version>
+ <relativePath>../pom.xml</relativePath>
+ </parent>
+
+ <groupId>org.richfaces.ui.iteration</groupId>
+ <artifactId>datascroller-ui</artifactId>
+ <name>Richfaces UI Components: Datascroller UI</name>
+ <packaging>jar</packaging>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.richfaces.cdk</groupId>
+ <artifactId>maven-cdk-plugin</artifactId>
+ </plugin>
+ </plugins>
+ </build>
+
+ <dependencies>
+ <!-- runtime -->
+ <dependency>
+ <groupId>org.richfaces.core</groupId>
+ <artifactId>richfaces-core-api</artifactId>
+ </dependency>
+ <dependency>
+ <!-- todo remove this dependency or move to test scope -->
+ <groupId>org.richfaces.core</groupId>
+ <artifactId>richfaces-core-impl</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.richfaces.cdk</groupId>
+ <artifactId>annotations</artifactId>
+ <scope>provided</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>org.richfaces.ui.iteration</groupId>
+ <artifactId>datascroller-api</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+
+ <!-- JSF with dependencies -->
+ <dependency>
+ <groupId>${jsf2.api.groupid}</groupId>
+ <artifactId>${jsf2.api.artifactid}</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>javax.servlet</groupId>
+ <artifactId>servlet-api</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>javax.servlet.jsp</groupId>
+ <artifactId>jsp-api</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>javax.el</groupId>
+ <artifactId>el-api</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>javax.servlet</groupId>
+ <artifactId>jstl</artifactId>
+ <scope>provided</scope>
+ </dependency>
+
+ <!-- tests -->
+ <dependency>
+ <groupId>${jsf2.impl.groupid}</groupId>
+ <artifactId>${jsf2.impl.artifactid}</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <!-- todo api? -->
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-log4j12</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.test-jsf</groupId>
+ <artifactId>jsf-test-stage</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.test-jsf</groupId>
+ <artifactId>htmlunit-client</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.test-jsf</groupId>
+ <artifactId>jsf-mock</artifactId>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+
+ <scm>
+ <connection>scm:svn:http://anonsvn.jboss.org/repos/richfaces/trunk/ui/iteration/datas...</connection>
+ <developerConnection>scm:svn:https://svn.jboss.org/repos/richfaces/trunk/ui/iteration/datascro...</developerConnection>
+ <url>http://fisheye.jboss.org/browse/richfaces</url>
+ </scm>
+
+</project>
\ No newline at end of file
Copied: trunk/ui/iteration/dist/richfaces-ui-iteration-ui/src/test (from rev 18497, trunk/ui/iteration/lists/ui/src/test)
15 years, 9 months
JBoss Rich Faces SVN: r18507 - in trunk/ui/iteration: dist/richfaces-ui-iteration-api/src/main/java/org/richfaces and 12 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: Alex.Kolonitsky
Date: 2010-08-09 09:27:29 -0400 (Mon, 09 Aug 2010)
New Revision: 18507
Added:
trunk/ui/iteration/dist/richfaces-ui-iteration-api/src/main/java/org/richfaces/component/
trunk/ui/iteration/dist/richfaces-ui-iteration-ui/src/main/java/org/richfaces/component/AbstractList.java
trunk/ui/iteration/dist/richfaces-ui-iteration-ui/src/main/java/org/richfaces/package-info.java
trunk/ui/iteration/dist/richfaces-ui-iteration-ui/src/main/java/org/richfaces/renderkit/ListRendererBase.java
trunk/ui/iteration/dist/richfaces-ui-iteration-ui/src/main/resources/META-INF/resources/org.richfaces/
trunk/ui/iteration/dist/richfaces-ui-iteration-ui/src/main/templates/list.template.xml
Removed:
trunk/ui/iteration/dist/richfaces-ui-iteration-api/pom.xml
trunk/ui/iteration/dist/richfaces-ui-iteration-ui/pom.xml
trunk/ui/iteration/lists/api/src/main/java/org/richfaces/component/
trunk/ui/iteration/lists/ui/src/main/java/org/richfaces/component/AbstractList.java
trunk/ui/iteration/lists/ui/src/main/java/org/richfaces/package-info.java
trunk/ui/iteration/lists/ui/src/main/java/org/richfaces/renderkit/ListRendererBase.java
trunk/ui/iteration/lists/ui/src/main/resources/META-INF/resources/org.richfaces/
trunk/ui/iteration/lists/ui/src/main/templates/list.template.xml
Log:
Richfaces 4.0 restructurization of svn repository structure
Deleted: trunk/ui/iteration/dist/richfaces-ui-iteration-api/pom.xml
===================================================================
--- trunk/ui/iteration/dist/richfaces-ui-iteration-api/pom.xml 2010-08-09 13:04:26 UTC (rev 18506)
+++ trunk/ui/iteration/dist/richfaces-ui-iteration-api/pom.xml 2010-08-09 13:27:29 UTC (rev 18507)
@@ -1,169 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- JBoss, Home of Professional Open Source Copyright 2010, 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.
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
-
- <modelVersion>4.0.0</modelVersion>
-
- <parent>
- <groupId>org.richfaces.ui.iteration</groupId>
- <artifactId>richfaces-ui-iteration-assembler</artifactId>
- <version>4.0.0-SNAPSHOT</version>
- <relativePath>../pom.xml</relativePath>
- </parent>
-
- <groupId>org.richfaces.ui.iteration</groupId>
- <artifactId>richfaces-ui-iteration-api</artifactId>
- <version>4.0.0-SNAPSHOT</version>
- <packaging>jar</packaging>
- <name>Richfaces UI Iteration API</name>
-
- <properties>
- <assembly.projects.group>org.richfaces.ui.iteration</assembly.projects.group>
- <faces-shade-transformers.version>2</faces-shade-transformers.version>
- </properties>
-
- <dependencyManagement>
- <dependencies>
- <dependency>
- <groupId>org.richfaces.ui.iteration</groupId>
- <artifactId>richfaces-ui-iteration-bom</artifactId>
- <version>${project.version}</version>
- <scope>import</scope>
- <type>pom</type>
- </dependency>
- </dependencies>
- </dependencyManagement>
-
- <dependencies>
- <!-- artifacts for aggregation -->
- <dependency>
- <groupId>${assembly.projects.group}</groupId>
- <artifactId>datascroller-api</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>${assembly.projects.group}</groupId>
- <artifactId>tables-api</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>${assembly.projects.group}</groupId>
- <artifactId>lists-api</artifactId>
- <version>${project.version}</version>
- </dependency>
-
- <!-- artifacts for javadoc generation -->
- <dependency>
- <groupId>${jsf2.api.groupid}</groupId>
- <artifactId>${jsf2.api.artifactid}</artifactId>
- </dependency>
- <dependency>
- <groupId>javax.el</groupId>
- <artifactId>el-api</artifactId>
- </dependency>
- </dependencies>
-
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-shade-plugin</artifactId>
- <version>1.3.3</version>
- <executions>
- <execution>
- <phase>package</phase>
- <goals>
- <goal>shade</goal>
- </goals>
- <configuration>
- <artifactSet>
- <includes>
- <include>${assembly.projects.group}:*-api:*</include>
- </includes>
- </artifactSet>
- <createSourcesJar>true</createSourcesJar>
- </configuration>
- </execution>
- </executions>
- <dependencies>
- <dependency>
- <groupId>org.richfaces.build.resources</groupId>
- <artifactId>faces-shade-transformers</artifactId>
- <version>${faces-shade-transformers.version}</version>
- </dependency>
- </dependencies>
- </plugin>
- </plugins>
- </build>
-
-
- <profiles>
- <profile>
- <id>release</id>
-
- <build>
- <plugins>
- <plugin>
- <!-- unpack necessary dependencies for collecting javadocs -->
- <artifactId>maven-dependency-plugin</artifactId>
- <executions>
- <execution>
- <id>deps</id>
- <phase>process-sources</phase>
- <goals>
- <goal>unpack-dependencies</goal>
- </goals>
- <configuration>
- <classifier>sources</classifier>
-
- <includeGroupIds>${assembly.projects.group}</includeGroupIds>
- <useSubDirectoryPerArtifact>true</useSubDirectoryPerArtifact>
- <excludeTransitive>true</excludeTransitive>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <artifactId>maven-javadoc-plugin</artifactId>
- <version>2.7</version>
- <executions>
- <execution>
- <id>javadoc-jar</id>
- <phase>package</phase>
- <goals>
- <goal>jar</goal>
- </goals>
- <configuration>
- <sourcepath>${basedir}/target/dependency</sourcepath>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </profile>
- </profiles>
-
- <scm>
- <connection>scm:svn:http://anonsvn.jboss.org/repos/richfaces/trunk/ui/iteration/dist/...</connection>
- <developerConnection>scm:svn:https://svn.jboss.org/repos/richfaces/trunk/ui/iteration/dist/ric...</developerConnection>
- <url>http://fisheye.jboss.org/browse/richfaces</url>
- </scm>
-</project>
\ No newline at end of file
Copied: trunk/ui/iteration/dist/richfaces-ui-iteration-api/src/main/java/org/richfaces/component (from rev 18497, trunk/ui/iteration/lists/api/src/main/java/org/richfaces/component)
Deleted: trunk/ui/iteration/dist/richfaces-ui-iteration-ui/pom.xml
===================================================================
--- trunk/ui/iteration/dist/richfaces-ui-iteration-ui/pom.xml 2010-08-09 13:04:26 UTC (rev 18506)
+++ trunk/ui/iteration/dist/richfaces-ui-iteration-ui/pom.xml 2010-08-09 13:27:29 UTC (rev 18507)
@@ -1,232 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- JBoss, Home of Professional Open Source Copyright 2010, 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.
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
-
- <modelVersion>4.0.0</modelVersion>
-
- <parent>
- <groupId>org.richfaces.ui.iteration</groupId>
- <artifactId>richfaces-ui-iteration-assembler</artifactId>
- <version>4.0.0-SNAPSHOT</version>
- <relativePath>../pom.xml</relativePath>
- </parent>
-
- <groupId>org.richfaces.ui.iteration</groupId>
- <artifactId>richfaces-ui-iteration-ui</artifactId>
- <version>4.0.0-SNAPSHOT</version>
- <packaging>jar</packaging>
- <name>Richfaces UI Iteration UI</name>
-
- <properties>
- <assembly.projects.group>org.richfaces.ui.iteration</assembly.projects.group>
- <faces-shade-transformers.version>2</faces-shade-transformers.version>
- </properties>
-
- <dependencyManagement>
- <dependencies>
- <dependency>
- <groupId>org.richfaces.ui.iteration</groupId>
- <artifactId>richfaces-ui-iteration-bom</artifactId>
- <version>${project.version}</version>
- <scope>import</scope>
- <type>pom</type>
- </dependency>
- </dependencies>
- </dependencyManagement>
-
- <dependencies>
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>richfaces-ui-iteration-impl</artifactId>
- <version>${project.version}</version>
- </dependency>
-
- <!-- artifacts for aggregation -->
- <dependency>
- <groupId>${assembly.projects.group}</groupId>
- <artifactId>datascroller-ui</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>${assembly.projects.group}</groupId>
- <artifactId>tables-ui</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>${assembly.projects.group}</groupId>
- <artifactId>lists-ui</artifactId>
- <version>${project.version}</version>
- </dependency>
-
- <!-- artifacts for javadoc generation -->
- <dependency>
- <groupId>${jsf2.api.groupid}</groupId>
- <artifactId>${jsf2.api.artifactid}</artifactId>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>javax.el</groupId>
- <artifactId>el-api</artifactId>
- </dependency>
- <dependency>
- <!-- necessary for javadocs generation -->
- <groupId>org.richfaces.cdk</groupId>
- <artifactId>annotations</artifactId>
- <scope>provided</scope>
- </dependency>
- </dependencies>
-
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-shade-plugin</artifactId>
- <version>1.3.3</version>
- <executions>
- <execution>
- <phase>package</phase>
- <goals>
- <goal>shade</goal>
- </goals>
- <configuration>
- <artifactSet>
- <includes>
- <include>${assembly.projects.group}:*-ui:*</include>
- </includes>
- </artifactSet>
- <createSourcesJar>true</createSourcesJar>
- <transformers>
- <transformer implementation="org.richfaces.build.shade.resource.TaglibXmlResourceTransformer">
- <taglibs>
- <taglib>
- <targetNamespace>http://richfaces.org/iteration</targetNamespace>
- <sourceNamespacesPattern>.*</sourceNamespacesPattern>
- </taglib>
- </taglibs>
- </transformer>
- <transformer implementation="org.richfaces.build.shade.resource.FacesConfigXmlResourceTransformer" />
- </transformers>
- </configuration>
- </execution>
- </executions>
- <dependencies>
- <dependency>
- <groupId>org.richfaces.build.resources</groupId>
- <artifactId>faces-shade-transformers</artifactId>
- <version>${faces-shade-transformers.version}</version>
- </dependency>
- </dependencies>
- </plugin>
- </plugins>
- </build>
- <profiles>
- <profile>
- <id>release</id>
-
- <build>
- <plugins>
- <plugin>
- <!-- unpack necessary dependencies for collecting jsdoc and javadocs -->
- <artifactId>maven-dependency-plugin</artifactId>
- <executions>
- <execution>
- <id>deps</id>
- <phase>process-sources</phase>
- <goals>
- <goal>unpack-dependencies</goal>
- </goals>
- <configuration>
- <classifier>sources</classifier>
-
- <includeGroupIds>${assembly.projects.group}</includeGroupIds>
- <useSubDirectoryPerArtifact>true</useSubDirectoryPerArtifact>
- <excludeTransitive>true</excludeTransitive>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <!-- collecting jsdoc -->
- <groupId>gr.abiss.mvn.plugins</groupId>
- <artifactId>maven-jstools-plugin</artifactId>
- <executions>
- <execution>
- <id>jsdoc</id>
- <phase>prepare-package</phase>
- <configuration>
- <outputBaseDirectory>${basedir}/target</outputBaseDirectory>
- <jsDir>${basedir}/target/dependency</jsDir>
- <includes>**/*.js</includes>
- <caseSensitive>true</caseSensitive>
- </configuration>
- <goals>
- <goal>jsdoc</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <!-- pack jsdoc to jar -->
- <artifactId>maven-jar-plugin</artifactId>
- <executions>
- <execution>
- <id>pack-jsodcs</id>
- <phase>package</phase>
- <goals>
- <goal>jar</goal>
- </goals>
- <configuration>
- <classesDirectory>${basedir}/target/jsdoc</classesDirectory>
- <classifier>jsdoc</classifier>
- <excludes>
- <exclude>**/symbols/src/*</exclude>
- </excludes>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <!-- collecting javadoc -->
- <artifactId>maven-javadoc-plugin</artifactId>
- <version>2.7</version>
- <executions>
- <execution>
- <id>javadoc-jar</id>
- <phase>package</phase>
- <goals>
- <goal>jar</goal>
- </goals>
- <configuration>
- <sourcepath>${basedir}/target/dependency</sourcepath>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </profile>
- </profiles>
-
- <scm>
- <connection>scm:svn:http://anonsvn.jboss.org/repos/richfaces/trunk/ui/iteration/dist/...</connection>
- <developerConnection>scm:svn:https://svn.jboss.org/repos/richfaces/trunk/ui/iteration/dist/ric...</developerConnection>
- <url>http://fisheye.jboss.org/browse/richfaces</url>
- </scm>
-</project>
\ No newline at end of file
Copied: trunk/ui/iteration/dist/richfaces-ui-iteration-ui/src/main/java/org/richfaces/component/AbstractList.java (from rev 18497, trunk/ui/iteration/lists/ui/src/main/java/org/richfaces/component/AbstractList.java)
===================================================================
--- trunk/ui/iteration/dist/richfaces-ui-iteration-ui/src/main/java/org/richfaces/component/AbstractList.java (rev 0)
+++ trunk/ui/iteration/dist/richfaces-ui-iteration-ui/src/main/java/org/richfaces/component/AbstractList.java 2010-08-09 13:27:29 UTC (rev 18507)
@@ -0,0 +1,161 @@
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * 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,
+ * 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 library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
+package org.richfaces.component;
+
+import java.util.Iterator;
+
+import javax.faces.component.UIComponent;
+
+import org.richfaces.cdk.annotations.Attribute;
+import org.richfaces.cdk.annotations.EventName;
+import org.richfaces.cdk.annotations.Facet;
+import org.richfaces.cdk.annotations.JsfComponent;
+import org.richfaces.cdk.annotations.JsfRenderer;
+
+import com.google.common.base.Predicate;
+import com.google.common.base.Predicates;
+import com.google.common.collect.Iterators;
+import com.google.common.collect.Maps;
+
+/**
+ * JSF component class
+ *
+ */
+@JsfComponent(type = "org.richfaces.List", family = "org.richfaces.List", facets = @Facet(name = AbstractList.TERM),
+ renderer = @JsfRenderer(type = "org.richfaces.ListRenderer"))
+public abstract class AbstractList extends UISequence {
+
+ public static final String TERM = "term";
+
+ private static final Predicate<String> TERM_PREDICATE = new Predicate<String>() {
+
+ public boolean apply(String input) {
+ return TERM.equals(input);
+ }
+ };
+
+ private static final Predicate<String> NON_TERM_PREDICATE = Predicates.not(TERM_PREDICATE);
+
+ private Iterator<UIComponent> getFacetsIterator(Predicate<? super String> namePredicate) {
+ if (getFacetCount() > 0) {
+ return Maps.filterKeys(getFacets(), namePredicate).values().iterator();
+ }
+
+ return Iterators.emptyIterator();
+ }
+
+ protected Iterator<UIComponent> dataChildren() {
+ return Iterators.concat(getChildren().iterator(), getFacetsIterator(TERM_PREDICATE));
+ }
+
+ protected Iterator<UIComponent> fixedChildren() {
+ return getFacetsIterator(NON_TERM_PREDICATE);
+ }
+
+ @Attribute(required = true)
+ public abstract ListType getType();
+
+ public UIComponent getTerm() {
+ return getFacet(TERM);
+ }
+
+ @Attribute(events = @EventName("click"))
+ public abstract String getOnclick();
+
+ @Attribute(events = @EventName("dblclick"))
+ public abstract String getOndblclick();
+
+ @Attribute(events = @EventName("mousedown"))
+ public abstract String getOnmousedown();
+
+ @Attribute(events = @EventName("mouseup"))
+ public abstract String getOnmouseup();
+
+ @Attribute(events = @EventName("mouseover"))
+ public abstract String getOnmouseover();
+
+ @Attribute(events = @EventName("mousemove"))
+ public abstract String getOnmousemove();
+
+ @Attribute(events = @EventName("mouseout"))
+ public abstract String getOnmouseout();
+
+ @Attribute(events = @EventName("keypress"))
+ public abstract String getOnkeypress();
+
+ @Attribute(events = @EventName("keydown"))
+ public abstract String getOnkeydown();
+
+ @Attribute(events = @EventName("keyup"))
+ public abstract String getOnkeyup();
+
+ @Attribute(events = @EventName("rowclick"))
+ public abstract String getOnrowclick();
+
+ @Attribute(events = @EventName("rowdblclick"))
+ public abstract String getOnrowdblclick();
+
+ @Attribute(events = @EventName("rowmousedown"))
+ public abstract String getOnrowmousedown();
+
+ @Attribute(events = @EventName("rowmouseup"))
+ public abstract String getOnrowmouseup();
+
+ @Attribute(events = @EventName("rowmouseover"))
+ public abstract String getOnrowmouseover();
+
+ @Attribute(events = @EventName("rowmousemove"))
+ public abstract String getOnrowmousemove();
+
+ @Attribute(events = @EventName("rowmouseout"))
+ public abstract String getOnrowmouseout();
+
+ @Attribute(events = @EventName("rowkeypress"))
+ public abstract String getOnrowkeypress();
+
+ @Attribute(events = @EventName("rowkeydown"))
+ public abstract String getOnrowkeydown();
+
+ @Attribute(events = @EventName("rowkeyup"))
+ public abstract String getOnrowkeyup();
+
+ @Attribute
+ public abstract String getStyle();
+
+ @Attribute
+ public abstract String getStyleClass();
+
+ @Attribute
+ public abstract String getTitle();
+
+ @Attribute
+ public abstract String getDir();
+
+ @Attribute
+ public abstract String getLang();
+
+ @Attribute
+ public abstract String getRowClasses();
+
+ @Attribute
+ public abstract String getRowClass();
+}
Copied: trunk/ui/iteration/dist/richfaces-ui-iteration-ui/src/main/java/org/richfaces/package-info.java (from rev 18497, trunk/ui/iteration/lists/ui/src/main/java/org/richfaces/package-info.java)
===================================================================
--- trunk/ui/iteration/dist/richfaces-ui-iteration-ui/src/main/java/org/richfaces/package-info.java (rev 0)
+++ trunk/ui/iteration/dist/richfaces-ui-iteration-ui/src/main/java/org/richfaces/package-info.java 2010-08-09 13:27:29 UTC (rev 18507)
@@ -0,0 +1,5 @@
+/**
+ * Implementation of RichFaces data lists
+ */
+(a)org.richfaces.cdk.annotations.TagLibrary(uri="http://richfaces.org/lists", shortName="lists")
+package org.richfaces;
\ No newline at end of file
Copied: trunk/ui/iteration/dist/richfaces-ui-iteration-ui/src/main/java/org/richfaces/renderkit/ListRendererBase.java (from rev 18497, trunk/ui/iteration/lists/ui/src/main/java/org/richfaces/renderkit/ListRendererBase.java)
===================================================================
--- trunk/ui/iteration/dist/richfaces-ui-iteration-ui/src/main/java/org/richfaces/renderkit/ListRendererBase.java (rev 0)
+++ trunk/ui/iteration/dist/richfaces-ui-iteration-ui/src/main/java/org/richfaces/renderkit/ListRendererBase.java 2010-08-09 13:27:29 UTC (rev 18507)
@@ -0,0 +1,272 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2010, 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;
+import java.text.MessageFormat;
+import java.util.Collections;
+import java.util.Map;
+
+import javax.faces.FacesException;
+import javax.faces.application.ResourceDependency;
+import javax.faces.component.UIComponent;
+import javax.faces.context.FacesContext;
+import javax.faces.context.ResponseWriter;
+import javax.faces.render.Renderer;
+
+import org.ajax4jsf.model.DataVisitResult;
+import org.ajax4jsf.model.DataVisitor;
+import org.ajax4jsf.renderkit.RendererUtils;
+import org.ajax4jsf.renderkit.RendererUtils.HTML;
+import org.richfaces.component.AbstractList;
+import org.richfaces.component.ListType;
+import org.richfaces.component.UISequence;
+import org.richfaces.component.util.HtmlUtil;
+import org.richfaces.log.RichfacesLogger;
+
+/**
+ * @author Nick Belaevski
+ *
+ */
+@ResourceDependency(library = "org.richfaces", name = "list.ecss")
+public abstract class ListRendererBase extends Renderer {
+
+ private static final Map<String, ComponentAttribute> ROW_HANDLER_ATTRIBUTES = Collections
+ .unmodifiableMap(ComponentAttribute.createMap(
+ new ComponentAttribute(HTML.ONCLICK_ATTRIBUTE).setEventNames("rowclick").
+ setComponentAttributeName("onrowclick"),
+ new ComponentAttribute(HTML.ONDBLCLICK_ATTRIBUTE).setEventNames("rowdblclick").
+ setComponentAttributeName("onrowdblclick"),
+ new ComponentAttribute(HTML.ONMOUSEDOWN_ATTRIBUTE).setEventNames("rowmousedown").
+ setComponentAttributeName("onrowmousedown"),
+ new ComponentAttribute(HTML.ONMOUSEUP_ATTRIBUTE).setEventNames("rowmouseup").
+ setComponentAttributeName("onrowmouseup"),
+ new ComponentAttribute(HTML.ONMOUSEOVER_ATTRIBUTE).setEventNames("rowmouseover").
+ setComponentAttributeName("onrowmouseover"),
+ new ComponentAttribute(HTML.ONMOUSEMOVE_ATTRIBUTE).setEventNames("rowmousemove").
+ setComponentAttributeName("onrowmousemove"),
+ new ComponentAttribute(HTML.ONMOUSEOUT_ATTRIBUTE).setEventNames("rowmouseout").
+ setComponentAttributeName("onrowmouseout"),
+ new ComponentAttribute(HTML.ONKEYPRESS_ATTRIBUTE).setEventNames("rowkeypress").
+ setComponentAttributeName("onrowkeypress"),
+ new ComponentAttribute(HTML.ONKEYDOWN_ATTRIBUTE).setEventNames("rowkeydown").
+ setComponentAttributeName("onrowkeydown"),
+ new ComponentAttribute(HTML.ONKEYUP_ATTRIBUTE).setEventNames("rowkeyup").
+ setComponentAttributeName("onrowkeyup")
+ ));
+
+ private RendererUtils rendererUtils = RendererUtils.getInstance();
+
+ /**
+ * @author Nick Belaevski
+ *
+ */
+ private class SimpleItemsEncoder extends ItemsEncoder {
+
+ private String itemClass;
+
+ public SimpleItemsEncoder(String itemClass) {
+ super();
+ this.itemClass = itemClass;
+ }
+
+ @Override
+ protected void encodeRow(FacesContext context, UISequence sequence, SequenceRendererHelper helper)
+ throws IOException {
+ ResponseWriter writer = context.getResponseWriter();
+
+ writer.startElement(HTML.LI_ELEMENT, sequence);
+
+ if (rendererUtils.hasExplicitId(sequence)) {
+ rendererUtils.writeAttribute(writer, HTML.ID_ATTRIBUTE, sequence.getClientId(context));
+ }
+
+ rendererUtils.writeAttribute(writer, HTML.CLASS_ATTRIBUTE,
+ HtmlUtil.concatClasses(helper.getRowClass(), helper.getColumnClass(), itemClass));
+ renderHandlers(context, sequence);
+ rendererUtils.encodeChildren(context, sequence);
+ writer.endElement(HTML.LI_ELEMENT);
+ }
+
+ public void encodeFakeItem(FacesContext context, UIComponent component) throws IOException {
+ ResponseWriter writer = context.getResponseWriter();
+ writer.startElement(HTML.LI_ELEMENT, component);
+ writer.writeAttribute(HTML.STYLE_ATTRIBUTE, "display:none", null);
+ writer.endElement(HTML.LI_ELEMENT);
+ }
+ }
+
+ /**
+ * @author Nick Belaevski
+ *
+ */
+ private final class DefinitionItemsEncoder extends ItemsEncoder {
+ @Override
+ protected void encodeRow(FacesContext context, UISequence sequence, SequenceRendererHelper helper)
+ throws IOException {
+ ResponseWriter writer = context.getResponseWriter();
+
+ UIComponent termFacet = sequence.getFacet(AbstractList.TERM);
+ if (termFacet != null) {
+ writer.startElement(HTML.DT_ELEMENT, sequence);
+
+ if (rendererUtils.hasExplicitId(sequence)) {
+ rendererUtils.writeAttribute(writer, HTML.ID_ATTRIBUTE, sequence.getClientId(context) + ".dt");
+ }
+
+ rendererUtils.writeAttribute(writer, HTML.CLASS_ATTRIBUTE,
+ HtmlUtil.concatClasses(helper.getRowClass(), helper.getColumnClass(), "rf-dlst-t"));
+ termFacet.encodeAll(context);
+ writer.endElement(HTML.DT_ELEMENT);
+ }
+
+ writer.startElement(HTML.DD_ELEMENT, sequence);
+
+ if (rendererUtils.hasExplicitId(sequence)) {
+ rendererUtils.writeAttribute(writer, HTML.ID_ATTRIBUTE, sequence.getClientId(context));
+ }
+
+ rendererUtils.writeAttribute(writer, HTML.CLASS_ATTRIBUTE,
+ HtmlUtil.concatClasses(helper.getRowClass(), helper.getColumnClass(), "rf-dlst-d"));
+ renderHandlers(context, sequence);
+ rendererUtils.encodeChildren(context, sequence);
+ writer.endElement(HTML.DD_ELEMENT);
+ }
+
+ public void encodeFakeItem(FacesContext context, UIComponent component) throws IOException {
+ ResponseWriter writer = context.getResponseWriter();
+ writer.startElement(HTML.DD_ELEMENT, component);
+ writer.writeAttribute(HTML.STYLE_ATTRIBUTE, "display:none", null);
+ writer.endElement(HTML.DD_ELEMENT);
+ }
+ }
+
+ private abstract class ItemsEncoder implements DataVisitor {
+
+ protected void renderHandlers(FacesContext context, UISequence sequence) throws IOException {
+ RenderKitUtils.renderPassThroughAttributesOptimized(context, sequence, ROW_HANDLER_ATTRIBUTES);
+ }
+
+ protected abstract void encodeRow(FacesContext context, UISequence sequence, SequenceRendererHelper helper)
+ throws IOException;
+
+ public DataVisitResult process(FacesContext context, Object rowKey, Object argument) {
+ SequenceRendererHelper helper = (SequenceRendererHelper) argument;
+ UISequence sequence = helper.getSequence();
+ sequence.setRowKey(context, rowKey);
+ if (sequence.isRowAvailable()) {
+ helper.nextRow();
+
+ try {
+ encodeRow(context, sequence, helper);
+ } catch (IOException e) {
+ throw new FacesException(e.getMessage(), e);
+ }
+
+ return DataVisitResult.CONTINUE;
+ } else {
+ return DataVisitResult.STOP;
+ }
+ }
+
+ public abstract void encodeFakeItem(FacesContext context, UIComponent component) throws IOException;
+
+ }
+
+ private ItemsEncoder unorderedListItemsEncoder = new SimpleItemsEncoder("rf-ulst-i");
+
+ private ItemsEncoder orderedListItemsEncoder = new SimpleItemsEncoder("rf-olst-i");
+
+ private ItemsEncoder definitionItemsEncoder = new DefinitionItemsEncoder();
+
+ protected String getListClass(ListType type) {
+ switch (type) {
+ case ordered:
+ return "rf-olst";
+ case unordered:
+ return "rf-ulst";
+ case definitions:
+ return "rf-dlst";
+
+ default:
+ throw new IllegalArgumentException(type.toString());
+ }
+ }
+
+ protected ItemsEncoder getItemsEncoderByType(ListType type) {
+ switch (type) {
+ case ordered:
+ return orderedListItemsEncoder;
+ case unordered:
+ return unorderedListItemsEncoder;
+ case definitions:
+ return definitionItemsEncoder;
+
+ default:
+ throw new IllegalArgumentException(type.toString());
+ }
+ }
+
+ protected ListType getType(UIComponent component) {
+ ListType type = ((AbstractList) component).getType();
+ if (type == null) {
+ String exceptionMessage = MessageFormat.format("Type for rich:list {0} is required!", RichfacesLogger.getComponentPath(component));
+ throw new IllegalArgumentException(exceptionMessage);
+ }
+
+ return type;
+ }
+
+ protected String getStyleClass(UIComponent component, ListType listType) {
+ String styleClass = (String) component.getAttributes().get(HTML.STYLE_CLASS_ATTR);
+ return HtmlUtil.concatClasses(styleClass, getListClass(listType));
+ }
+
+ protected String getElementId(FacesContext facesContext, UIComponent component) {
+ if (rendererUtils.hasExplicitId(component)) {
+ return component.getClientId(facesContext);
+ }
+
+ return null;
+ }
+
+ protected void encodeListItems(FacesContext context, UIComponent component, ListType listType)
+ throws IOException {
+ AbstractList list = (AbstractList) component;
+ try {
+ ItemsEncoder itemsEncoder = getItemsEncoderByType(listType);
+ SequenceRendererHelper rendererHelper = new SequenceRendererHelper(list);
+ list.walk(context, itemsEncoder, rendererHelper);
+
+ if (!rendererHelper.hasWalkedOverRows()) {
+ itemsEncoder.encodeFakeItem(context, component);
+ }
+ } catch (FacesException e) {
+ // TODO nick - review
+ if (e.getCause() instanceof IOException) {
+ throw (IOException) e.getCause();
+ } else {
+ throw e;
+ }
+ }
+ }
+}
Copied: trunk/ui/iteration/dist/richfaces-ui-iteration-ui/src/main/resources/META-INF/resources/org.richfaces (from rev 18497, trunk/ui/iteration/lists/ui/src/main/resources/META-INF/resources/org.richfaces)
Copied: trunk/ui/iteration/dist/richfaces-ui-iteration-ui/src/main/templates/list.template.xml (from rev 18497, trunk/ui/iteration/lists/ui/src/main/templates/list.template.xml)
===================================================================
--- trunk/ui/iteration/dist/richfaces-ui-iteration-ui/src/main/templates/list.template.xml (rev 0)
+++ trunk/ui/iteration/dist/richfaces-ui-iteration-ui/src/main/templates/list.template.xml 2010-08-09 13:27:29 UTC (rev 18507)
@@ -0,0 +1,104 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<cdk:root xmlns="http://richfaces.org/cdk/xhtml-el" xmlns:cdk="http://richfaces.org/cdk/core"
+ xmlns:c="http://richfaces.org/cdk/jstl/core" xmlns:cc="http://richfaces.org/cdk/jsf/composite"
+ xmlns:javaee="http://java.sun.com/xml/ns/javaee">
+
+ <cc:interface>
+ <cdk:class>org.richfaces.renderkit.html.ListRenderer</cdk:class>
+ <cdk:superclass>org.richfaces.renderkit.ListRendererBase</cdk:superclass>
+ <cdk:component-family>org.richfaces.List</cdk:component-family>
+ <cdk:renderer-type>org.richfaces.ListRenderer
+ </cdk:renderer-type>
+ <cdk:renders-children>true</cdk:renders-children>
+
+ <!--
+ <cc:attribute name="onclick" type="java.lang.String">
+ <cc:clientBehavior event="click" />
+ </cc:attribute>
+ <cc:attribute name="ondblclick" type="java.lang.String">
+ <cc:clientBehavior event="dblclick" />
+ </cc:attribute>
+ <cc:attribute name="onmousedown" type="java.lang.String">
+ <cc:clientBehavior event="mousedown" />
+ </cc:attribute>
+ <cc:attribute name="onmouseup" type="java.lang.String">
+ <cc:clientBehavior event="mouseup" />
+ </cc:attribute>
+ <cc:attribute name="onmouseover" type="java.lang.String">
+ <cc:clientBehavior event="mouseover" />
+ </cc:attribute>
+ <cc:attribute name="onmousemove" type="java.lang.String">
+ <cc:clientBehavior event="mousemove" />
+ </cc:attribute>
+ <cc:attribute name="onmouseout" type="java.lang.String">
+ <cc:clientBehavior event="mouseout" />
+ </cc:attribute>
+ <cc:attribute name="onkeypress" type="java.lang.String">
+ <cc:clientBehavior event="keypress" />
+ </cc:attribute>
+ <cc:attribute name="onkeydown" type="java.lang.String">
+ <cc:clientBehavior event="keydown" />
+ </cc:attribute>
+ <cc:attribute name="onkeyup" type="java.lang.String">
+ <cc:clientBehavior event="keyup" />
+ </cc:attribute>
+ <cc:attribute name="onrowclick" type="java.lang.String">
+ <cc:clientBehavior event="rowclick" />
+ </cc:attribute>
+ <cc:attribute name="onrowdblclick" type="java.lang.String">
+ <cc:clientBehavior event="rowdblclick" />
+ </cc:attribute>
+ <cc:attribute name="onrowmousedown" type="java.lang.String">
+ <cc:clientBehavior event="rowmousedown" />
+ </cc:attribute>
+ <cc:attribute name="onrowmouseup" type="java.lang.String">
+ <cc:clientBehavior event="rowmouseup" />
+ </cc:attribute>
+ <cc:attribute name="onrowmouseover" type="java.lang.String">
+ <cc:clientBehavior event="rowmouseover" />
+ </cc:attribute>
+ <cc:attribute name="onrowmousemove" type="java.lang.String">
+ <cc:clientBehavior event="rowmousemove" />
+ </cc:attribute>
+ <cc:attribute name="onrowmouseout" type="java.lang.String">
+ <cc:clientBehavior event="rowmouseout" />
+ </cc:attribute>
+ <cc:attribute name="onrowkeypress" type="java.lang.String">
+ <cc:clientBehavior event="rowkeypress" />
+ </cc:attribute>
+ <cc:attribute name="onrowkeydown" type="java.lang.String">
+ <cc:clientBehavior event="rowkeydown" />
+ </cc:attribute>
+ <cc:attribute name="onrowkeyup" type="java.lang.String">
+ <cc:clientBehavior event="rowkeyup" />
+ </cc:attribute>
+ -->
+ </cc:interface>
+
+ <cc:implementation>
+ <cdk:object type="org.richfaces.component.ListType" name="listType" value="#{getType(component)}" />
+
+ <cdk:object name="styleClass" value="#{getStyleClass(component, listType)}" />
+ <cdk:object name="elementId" value="#{getElementId(facesContext, component)}" />
+
+ <cdk:switch key="#{listType}">
+ <cdk:case values="ordered">
+ <ol id="#{elementId}" class="#{styleClass}" cdk:passThroughWithExclusions="type value">
+ <cdk:call expression="encodeListItems(facesContext, component, listType)" />
+ </ol>
+ </cdk:case>
+ <cdk:case values="unordered">
+ <ul id="#{elementId}" class="#{styleClass}" cdk:passThroughWithExclusions="type value">
+ <cdk:call expression="encodeListItems(facesContext, component, listType)" />
+ </ul>
+ </cdk:case>
+ <cdk:case values="definitions">
+ <dl id="#{elementId}" class="#{styleClass}" cdk:passThroughWithExclusions="type value">
+ <cdk:call expression="encodeListItems(facesContext, component, listType)" />
+ </dl>
+ </cdk:case>
+ </cdk:switch>
+ </cc:implementation>
+
+</cdk:root>
Deleted: trunk/ui/iteration/lists/ui/src/main/java/org/richfaces/component/AbstractList.java
===================================================================
--- trunk/ui/iteration/lists/ui/src/main/java/org/richfaces/component/AbstractList.java 2010-08-09 13:04:26 UTC (rev 18506)
+++ trunk/ui/iteration/lists/ui/src/main/java/org/richfaces/component/AbstractList.java 2010-08-09 13:27:29 UTC (rev 18507)
@@ -1,161 +0,0 @@
-/**
- * License Agreement.
- *
- * JBoss RichFaces - Ajax4jsf Component Library
- *
- * 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,
- * 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 library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- */
-
-package org.richfaces.component;
-
-import java.util.Iterator;
-
-import javax.faces.component.UIComponent;
-
-import org.richfaces.cdk.annotations.Attribute;
-import org.richfaces.cdk.annotations.EventName;
-import org.richfaces.cdk.annotations.Facet;
-import org.richfaces.cdk.annotations.JsfComponent;
-import org.richfaces.cdk.annotations.JsfRenderer;
-
-import com.google.common.base.Predicate;
-import com.google.common.base.Predicates;
-import com.google.common.collect.Iterators;
-import com.google.common.collect.Maps;
-
-/**
- * JSF component class
- *
- */
-@JsfComponent(type = "org.richfaces.List", family = "org.richfaces.List", facets = @Facet(name = AbstractList.TERM),
- renderer = @JsfRenderer(type = "org.richfaces.ListRenderer"))
-public abstract class AbstractList extends UISequence {
-
- public static final String TERM = "term";
-
- private static final Predicate<String> TERM_PREDICATE = new Predicate<String>() {
-
- public boolean apply(String input) {
- return TERM.equals(input);
- }
- };
-
- private static final Predicate<String> NON_TERM_PREDICATE = Predicates.not(TERM_PREDICATE);
-
- private Iterator<UIComponent> getFacetsIterator(Predicate<? super String> namePredicate) {
- if (getFacetCount() > 0) {
- return Maps.filterKeys(getFacets(), namePredicate).values().iterator();
- }
-
- return Iterators.emptyIterator();
- }
-
- protected Iterator<UIComponent> dataChildren() {
- return Iterators.concat(getChildren().iterator(), getFacetsIterator(TERM_PREDICATE));
- }
-
- protected Iterator<UIComponent> fixedChildren() {
- return getFacetsIterator(NON_TERM_PREDICATE);
- }
-
- @Attribute(required = true)
- public abstract ListType getType();
-
- public UIComponent getTerm() {
- return getFacet(TERM);
- }
-
- @Attribute(events = @EventName("click"))
- public abstract String getOnclick();
-
- @Attribute(events = @EventName("dblclick"))
- public abstract String getOndblclick();
-
- @Attribute(events = @EventName("mousedown"))
- public abstract String getOnmousedown();
-
- @Attribute(events = @EventName("mouseup"))
- public abstract String getOnmouseup();
-
- @Attribute(events = @EventName("mouseover"))
- public abstract String getOnmouseover();
-
- @Attribute(events = @EventName("mousemove"))
- public abstract String getOnmousemove();
-
- @Attribute(events = @EventName("mouseout"))
- public abstract String getOnmouseout();
-
- @Attribute(events = @EventName("keypress"))
- public abstract String getOnkeypress();
-
- @Attribute(events = @EventName("keydown"))
- public abstract String getOnkeydown();
-
- @Attribute(events = @EventName("keyup"))
- public abstract String getOnkeyup();
-
- @Attribute(events = @EventName("rowclick"))
- public abstract String getOnrowclick();
-
- @Attribute(events = @EventName("rowdblclick"))
- public abstract String getOnrowdblclick();
-
- @Attribute(events = @EventName("rowmousedown"))
- public abstract String getOnrowmousedown();
-
- @Attribute(events = @EventName("rowmouseup"))
- public abstract String getOnrowmouseup();
-
- @Attribute(events = @EventName("rowmouseover"))
- public abstract String getOnrowmouseover();
-
- @Attribute(events = @EventName("rowmousemove"))
- public abstract String getOnrowmousemove();
-
- @Attribute(events = @EventName("rowmouseout"))
- public abstract String getOnrowmouseout();
-
- @Attribute(events = @EventName("rowkeypress"))
- public abstract String getOnrowkeypress();
-
- @Attribute(events = @EventName("rowkeydown"))
- public abstract String getOnrowkeydown();
-
- @Attribute(events = @EventName("rowkeyup"))
- public abstract String getOnrowkeyup();
-
- @Attribute
- public abstract String getStyle();
-
- @Attribute
- public abstract String getStyleClass();
-
- @Attribute
- public abstract String getTitle();
-
- @Attribute
- public abstract String getDir();
-
- @Attribute
- public abstract String getLang();
-
- @Attribute
- public abstract String getRowClasses();
-
- @Attribute
- public abstract String getRowClass();
-}
Deleted: trunk/ui/iteration/lists/ui/src/main/java/org/richfaces/package-info.java
===================================================================
--- trunk/ui/iteration/lists/ui/src/main/java/org/richfaces/package-info.java 2010-08-09 13:04:26 UTC (rev 18506)
+++ trunk/ui/iteration/lists/ui/src/main/java/org/richfaces/package-info.java 2010-08-09 13:27:29 UTC (rev 18507)
@@ -1,5 +0,0 @@
-/**
- * Implementation of RichFaces data lists
- */
-(a)org.richfaces.cdk.annotations.TagLibrary(uri="http://richfaces.org/lists", shortName="lists")
-package org.richfaces;
\ No newline at end of file
Deleted: trunk/ui/iteration/lists/ui/src/main/java/org/richfaces/renderkit/ListRendererBase.java
===================================================================
--- trunk/ui/iteration/lists/ui/src/main/java/org/richfaces/renderkit/ListRendererBase.java 2010-08-09 13:04:26 UTC (rev 18506)
+++ trunk/ui/iteration/lists/ui/src/main/java/org/richfaces/renderkit/ListRendererBase.java 2010-08-09 13:27:29 UTC (rev 18507)
@@ -1,272 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2010, 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;
-import java.text.MessageFormat;
-import java.util.Collections;
-import java.util.Map;
-
-import javax.faces.FacesException;
-import javax.faces.application.ResourceDependency;
-import javax.faces.component.UIComponent;
-import javax.faces.context.FacesContext;
-import javax.faces.context.ResponseWriter;
-import javax.faces.render.Renderer;
-
-import org.ajax4jsf.model.DataVisitResult;
-import org.ajax4jsf.model.DataVisitor;
-import org.ajax4jsf.renderkit.RendererUtils;
-import org.ajax4jsf.renderkit.RendererUtils.HTML;
-import org.richfaces.component.AbstractList;
-import org.richfaces.component.ListType;
-import org.richfaces.component.UISequence;
-import org.richfaces.component.util.HtmlUtil;
-import org.richfaces.log.RichfacesLogger;
-
-/**
- * @author Nick Belaevski
- *
- */
-@ResourceDependency(library = "org.richfaces", name = "list.ecss")
-public abstract class ListRendererBase extends Renderer {
-
- private static final Map<String, ComponentAttribute> ROW_HANDLER_ATTRIBUTES = Collections
- .unmodifiableMap(ComponentAttribute.createMap(
- new ComponentAttribute(HTML.ONCLICK_ATTRIBUTE).setEventNames("rowclick").
- setComponentAttributeName("onrowclick"),
- new ComponentAttribute(HTML.ONDBLCLICK_ATTRIBUTE).setEventNames("rowdblclick").
- setComponentAttributeName("onrowdblclick"),
- new ComponentAttribute(HTML.ONMOUSEDOWN_ATTRIBUTE).setEventNames("rowmousedown").
- setComponentAttributeName("onrowmousedown"),
- new ComponentAttribute(HTML.ONMOUSEUP_ATTRIBUTE).setEventNames("rowmouseup").
- setComponentAttributeName("onrowmouseup"),
- new ComponentAttribute(HTML.ONMOUSEOVER_ATTRIBUTE).setEventNames("rowmouseover").
- setComponentAttributeName("onrowmouseover"),
- new ComponentAttribute(HTML.ONMOUSEMOVE_ATTRIBUTE).setEventNames("rowmousemove").
- setComponentAttributeName("onrowmousemove"),
- new ComponentAttribute(HTML.ONMOUSEOUT_ATTRIBUTE).setEventNames("rowmouseout").
- setComponentAttributeName("onrowmouseout"),
- new ComponentAttribute(HTML.ONKEYPRESS_ATTRIBUTE).setEventNames("rowkeypress").
- setComponentAttributeName("onrowkeypress"),
- new ComponentAttribute(HTML.ONKEYDOWN_ATTRIBUTE).setEventNames("rowkeydown").
- setComponentAttributeName("onrowkeydown"),
- new ComponentAttribute(HTML.ONKEYUP_ATTRIBUTE).setEventNames("rowkeyup").
- setComponentAttributeName("onrowkeyup")
- ));
-
- private RendererUtils rendererUtils = RendererUtils.getInstance();
-
- /**
- * @author Nick Belaevski
- *
- */
- private class SimpleItemsEncoder extends ItemsEncoder {
-
- private String itemClass;
-
- public SimpleItemsEncoder(String itemClass) {
- super();
- this.itemClass = itemClass;
- }
-
- @Override
- protected void encodeRow(FacesContext context, UISequence sequence, SequenceRendererHelper helper)
- throws IOException {
- ResponseWriter writer = context.getResponseWriter();
-
- writer.startElement(HTML.LI_ELEMENT, sequence);
-
- if (rendererUtils.hasExplicitId(sequence)) {
- rendererUtils.writeAttribute(writer, HTML.ID_ATTRIBUTE, sequence.getClientId(context));
- }
-
- rendererUtils.writeAttribute(writer, HTML.CLASS_ATTRIBUTE,
- HtmlUtil.concatClasses(helper.getRowClass(), helper.getColumnClass(), itemClass));
- renderHandlers(context, sequence);
- rendererUtils.encodeChildren(context, sequence);
- writer.endElement(HTML.LI_ELEMENT);
- }
-
- public void encodeFakeItem(FacesContext context, UIComponent component) throws IOException {
- ResponseWriter writer = context.getResponseWriter();
- writer.startElement(HTML.LI_ELEMENT, component);
- writer.writeAttribute(HTML.STYLE_ATTRIBUTE, "display:none", null);
- writer.endElement(HTML.LI_ELEMENT);
- }
- }
-
- /**
- * @author Nick Belaevski
- *
- */
- private final class DefinitionItemsEncoder extends ItemsEncoder {
- @Override
- protected void encodeRow(FacesContext context, UISequence sequence, SequenceRendererHelper helper)
- throws IOException {
- ResponseWriter writer = context.getResponseWriter();
-
- UIComponent termFacet = sequence.getFacet(AbstractList.TERM);
- if (termFacet != null) {
- writer.startElement(HTML.DT_ELEMENT, sequence);
-
- if (rendererUtils.hasExplicitId(sequence)) {
- rendererUtils.writeAttribute(writer, HTML.ID_ATTRIBUTE, sequence.getClientId(context) + ".dt");
- }
-
- rendererUtils.writeAttribute(writer, HTML.CLASS_ATTRIBUTE,
- HtmlUtil.concatClasses(helper.getRowClass(), helper.getColumnClass(), "rf-dlst-t"));
- termFacet.encodeAll(context);
- writer.endElement(HTML.DT_ELEMENT);
- }
-
- writer.startElement(HTML.DD_ELEMENT, sequence);
-
- if (rendererUtils.hasExplicitId(sequence)) {
- rendererUtils.writeAttribute(writer, HTML.ID_ATTRIBUTE, sequence.getClientId(context));
- }
-
- rendererUtils.writeAttribute(writer, HTML.CLASS_ATTRIBUTE,
- HtmlUtil.concatClasses(helper.getRowClass(), helper.getColumnClass(), "rf-dlst-d"));
- renderHandlers(context, sequence);
- rendererUtils.encodeChildren(context, sequence);
- writer.endElement(HTML.DD_ELEMENT);
- }
-
- public void encodeFakeItem(FacesContext context, UIComponent component) throws IOException {
- ResponseWriter writer = context.getResponseWriter();
- writer.startElement(HTML.DD_ELEMENT, component);
- writer.writeAttribute(HTML.STYLE_ATTRIBUTE, "display:none", null);
- writer.endElement(HTML.DD_ELEMENT);
- }
- }
-
- private abstract class ItemsEncoder implements DataVisitor {
-
- protected void renderHandlers(FacesContext context, UISequence sequence) throws IOException {
- RenderKitUtils.renderPassThroughAttributesOptimized(context, sequence, ROW_HANDLER_ATTRIBUTES);
- }
-
- protected abstract void encodeRow(FacesContext context, UISequence sequence, SequenceRendererHelper helper)
- throws IOException;
-
- public DataVisitResult process(FacesContext context, Object rowKey, Object argument) {
- SequenceRendererHelper helper = (SequenceRendererHelper) argument;
- UISequence sequence = helper.getSequence();
- sequence.setRowKey(context, rowKey);
- if (sequence.isRowAvailable()) {
- helper.nextRow();
-
- try {
- encodeRow(context, sequence, helper);
- } catch (IOException e) {
- throw new FacesException(e.getMessage(), e);
- }
-
- return DataVisitResult.CONTINUE;
- } else {
- return DataVisitResult.STOP;
- }
- }
-
- public abstract void encodeFakeItem(FacesContext context, UIComponent component) throws IOException;
-
- }
-
- private ItemsEncoder unorderedListItemsEncoder = new SimpleItemsEncoder("rf-ulst-i");
-
- private ItemsEncoder orderedListItemsEncoder = new SimpleItemsEncoder("rf-olst-i");
-
- private ItemsEncoder definitionItemsEncoder = new DefinitionItemsEncoder();
-
- protected String getListClass(ListType type) {
- switch (type) {
- case ordered:
- return "rf-olst";
- case unordered:
- return "rf-ulst";
- case definitions:
- return "rf-dlst";
-
- default:
- throw new IllegalArgumentException(type.toString());
- }
- }
-
- protected ItemsEncoder getItemsEncoderByType(ListType type) {
- switch (type) {
- case ordered:
- return orderedListItemsEncoder;
- case unordered:
- return unorderedListItemsEncoder;
- case definitions:
- return definitionItemsEncoder;
-
- default:
- throw new IllegalArgumentException(type.toString());
- }
- }
-
- protected ListType getType(UIComponent component) {
- ListType type = ((AbstractList) component).getType();
- if (type == null) {
- String exceptionMessage = MessageFormat.format("Type for rich:list {0} is required!", RichfacesLogger.getComponentPath(component));
- throw new IllegalArgumentException(exceptionMessage);
- }
-
- return type;
- }
-
- protected String getStyleClass(UIComponent component, ListType listType) {
- String styleClass = (String) component.getAttributes().get(HTML.STYLE_CLASS_ATTR);
- return HtmlUtil.concatClasses(styleClass, getListClass(listType));
- }
-
- protected String getElementId(FacesContext facesContext, UIComponent component) {
- if (rendererUtils.hasExplicitId(component)) {
- return component.getClientId(facesContext);
- }
-
- return null;
- }
-
- protected void encodeListItems(FacesContext context, UIComponent component, ListType listType)
- throws IOException {
- AbstractList list = (AbstractList) component;
- try {
- ItemsEncoder itemsEncoder = getItemsEncoderByType(listType);
- SequenceRendererHelper rendererHelper = new SequenceRendererHelper(list);
- list.walk(context, itemsEncoder, rendererHelper);
-
- if (!rendererHelper.hasWalkedOverRows()) {
- itemsEncoder.encodeFakeItem(context, component);
- }
- } catch (FacesException e) {
- // TODO nick - review
- if (e.getCause() instanceof IOException) {
- throw (IOException) e.getCause();
- } else {
- throw e;
- }
- }
- }
-}
Deleted: trunk/ui/iteration/lists/ui/src/main/templates/list.template.xml
===================================================================
--- trunk/ui/iteration/lists/ui/src/main/templates/list.template.xml 2010-08-09 13:04:26 UTC (rev 18506)
+++ trunk/ui/iteration/lists/ui/src/main/templates/list.template.xml 2010-08-09 13:27:29 UTC (rev 18507)
@@ -1,104 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<cdk:root xmlns="http://richfaces.org/cdk/xhtml-el" xmlns:cdk="http://richfaces.org/cdk/core"
- xmlns:c="http://richfaces.org/cdk/jstl/core" xmlns:cc="http://richfaces.org/cdk/jsf/composite"
- xmlns:javaee="http://java.sun.com/xml/ns/javaee">
-
- <cc:interface>
- <cdk:class>org.richfaces.renderkit.html.ListRenderer</cdk:class>
- <cdk:superclass>org.richfaces.renderkit.ListRendererBase</cdk:superclass>
- <cdk:component-family>org.richfaces.List</cdk:component-family>
- <cdk:renderer-type>org.richfaces.ListRenderer
- </cdk:renderer-type>
- <cdk:renders-children>true</cdk:renders-children>
-
- <!--
- <cc:attribute name="onclick" type="java.lang.String">
- <cc:clientBehavior event="click" />
- </cc:attribute>
- <cc:attribute name="ondblclick" type="java.lang.String">
- <cc:clientBehavior event="dblclick" />
- </cc:attribute>
- <cc:attribute name="onmousedown" type="java.lang.String">
- <cc:clientBehavior event="mousedown" />
- </cc:attribute>
- <cc:attribute name="onmouseup" type="java.lang.String">
- <cc:clientBehavior event="mouseup" />
- </cc:attribute>
- <cc:attribute name="onmouseover" type="java.lang.String">
- <cc:clientBehavior event="mouseover" />
- </cc:attribute>
- <cc:attribute name="onmousemove" type="java.lang.String">
- <cc:clientBehavior event="mousemove" />
- </cc:attribute>
- <cc:attribute name="onmouseout" type="java.lang.String">
- <cc:clientBehavior event="mouseout" />
- </cc:attribute>
- <cc:attribute name="onkeypress" type="java.lang.String">
- <cc:clientBehavior event="keypress" />
- </cc:attribute>
- <cc:attribute name="onkeydown" type="java.lang.String">
- <cc:clientBehavior event="keydown" />
- </cc:attribute>
- <cc:attribute name="onkeyup" type="java.lang.String">
- <cc:clientBehavior event="keyup" />
- </cc:attribute>
- <cc:attribute name="onrowclick" type="java.lang.String">
- <cc:clientBehavior event="rowclick" />
- </cc:attribute>
- <cc:attribute name="onrowdblclick" type="java.lang.String">
- <cc:clientBehavior event="rowdblclick" />
- </cc:attribute>
- <cc:attribute name="onrowmousedown" type="java.lang.String">
- <cc:clientBehavior event="rowmousedown" />
- </cc:attribute>
- <cc:attribute name="onrowmouseup" type="java.lang.String">
- <cc:clientBehavior event="rowmouseup" />
- </cc:attribute>
- <cc:attribute name="onrowmouseover" type="java.lang.String">
- <cc:clientBehavior event="rowmouseover" />
- </cc:attribute>
- <cc:attribute name="onrowmousemove" type="java.lang.String">
- <cc:clientBehavior event="rowmousemove" />
- </cc:attribute>
- <cc:attribute name="onrowmouseout" type="java.lang.String">
- <cc:clientBehavior event="rowmouseout" />
- </cc:attribute>
- <cc:attribute name="onrowkeypress" type="java.lang.String">
- <cc:clientBehavior event="rowkeypress" />
- </cc:attribute>
- <cc:attribute name="onrowkeydown" type="java.lang.String">
- <cc:clientBehavior event="rowkeydown" />
- </cc:attribute>
- <cc:attribute name="onrowkeyup" type="java.lang.String">
- <cc:clientBehavior event="rowkeyup" />
- </cc:attribute>
- -->
- </cc:interface>
-
- <cc:implementation>
- <cdk:object type="org.richfaces.component.ListType" name="listType" value="#{getType(component)}" />
-
- <cdk:object name="styleClass" value="#{getStyleClass(component, listType)}" />
- <cdk:object name="elementId" value="#{getElementId(facesContext, component)}" />
-
- <cdk:switch key="#{listType}">
- <cdk:case values="ordered">
- <ol id="#{elementId}" class="#{styleClass}" cdk:passThroughWithExclusions="type value">
- <cdk:call expression="encodeListItems(facesContext, component, listType)" />
- </ol>
- </cdk:case>
- <cdk:case values="unordered">
- <ul id="#{elementId}" class="#{styleClass}" cdk:passThroughWithExclusions="type value">
- <cdk:call expression="encodeListItems(facesContext, component, listType)" />
- </ul>
- </cdk:case>
- <cdk:case values="definitions">
- <dl id="#{elementId}" class="#{styleClass}" cdk:passThroughWithExclusions="type value">
- <cdk:call expression="encodeListItems(facesContext, component, listType)" />
- </dl>
- </cdk:case>
- </cdk:switch>
- </cc:implementation>
-
-</cdk:root>
15 years, 9 months
JBoss Rich Faces SVN: r18506 - in trunk/ui: iteration/datascroller/api and 6 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: Alex.Kolonitsky
Date: 2010-08-09 09:04:26 -0400 (Mon, 09 Aug 2010)
New Revision: 18506
Added:
trunk/ui/iteration/dist/richfaces-ui-iteration-api/src/
trunk/ui/iteration/dist/richfaces-ui-iteration-ui/src/
trunk/ui/parent/
Removed:
trunk/ui/iteration/datascroller/api/src/
trunk/ui/iteration/datascroller/ui/src/
trunk/ui/misc/parent/
trunk/ui/misc/ui/src/main/java/org/richfaces/component/package-info-jquery.java
Modified:
trunk/ui/misc/pom.xml
trunk/ui/misc/ui/src/main/java/org/richfaces/component/package-info.java
trunk/ui/parent/pom.xml
Log:
Richfaces 4.0 restructurization of svn repository structure
Copied: trunk/ui/iteration/dist/richfaces-ui-iteration-api/src (from rev 18497, trunk/ui/iteration/datascroller/api/src)
Copied: trunk/ui/iteration/dist/richfaces-ui-iteration-ui/src (from rev 18497, trunk/ui/iteration/datascroller/ui/src)
Modified: trunk/ui/misc/pom.xml
===================================================================
--- trunk/ui/misc/pom.xml 2010-08-09 12:44:03 UTC (rev 18505)
+++ trunk/ui/misc/pom.xml 2010-08-09 13:04:26 UTC (rev 18506)
@@ -35,14 +35,7 @@
<name>Richfaces UI Components: Miscellanous Aggregator</name>
<modules>
- <module>bom</module>
- <module>parent</module>
- <module>functions</module>
- <module>componentcontrol</module>
- <module>jquery</module>
-
- <!-- assembler -->
- <module>dist</module>
+ <module>ui</module>
</modules>
<build>
Deleted: trunk/ui/misc/ui/src/main/java/org/richfaces/component/package-info-jquery.java
===================================================================
--- trunk/ui/misc/ui/src/main/java/org/richfaces/component/package-info-jquery.java 2010-08-09 12:44:03 UTC (rev 18505)
+++ trunk/ui/misc/ui/src/main/java/org/richfaces/component/package-info-jquery.java 2010-08-09 13:04:26 UTC (rev 18506)
@@ -1,26 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2010, 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.
- */
-/**
- * Implementation of RichFaces jQuery component
- */
-(a)org.richfaces.cdk.annotations.TagLibrary(uri="http://richfaces.org/jquery", shortName="jquery")
-package org.richfaces.component;
Modified: trunk/ui/misc/ui/src/main/java/org/richfaces/component/package-info.java
===================================================================
--- trunk/ui/misc/ui/src/main/java/org/richfaces/component/package-info.java 2010-08-09 12:44:03 UTC (rev 18505)
+++ trunk/ui/misc/ui/src/main/java/org/richfaces/component/package-info.java 2010-08-09 13:04:26 UTC (rev 18506)
@@ -19,8 +19,5 @@
* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
*/
-/**
- * Implementation of RichFaces componentControl behavior
- */
-(a)org.richfaces.cdk.annotations.TagLibrary(uri="http://richfaces.org/componentControl", shortName="componentControl")
+(a)org.richfaces.cdk.annotations.TagLibrary(uri="http://richfaces.org/misc", shortName="misc")
package org.richfaces.component;
Copied: trunk/ui/parent (from rev 18501, trunk/ui/misc/parent)
Modified: trunk/ui/parent/pom.xml
===================================================================
--- trunk/ui/misc/parent/pom.xml 2010-08-09 10:30:37 UTC (rev 18501)
+++ trunk/ui/parent/pom.xml 2010-08-09 13:04:26 UTC (rev 18506)
@@ -37,12 +37,19 @@
<properties>
<org.richfaces.ui.core.version>4.0.0-SNAPSHOT</org.richfaces.ui.core.version>
<org.richfaces.cdk.version>4.0.0-SNAPSHOT</org.richfaces.cdk.version>
+ <org.richfaces.core.version>4.0.0-SNAPSHOT</org.richfaces.core.version>
</properties>
<dependencyManagement>
<dependencies>
+ <dependency>
+ <groupId>org.richfaces.core</groupId>
+ <artifactId>richfaces-core-bom</artifactId>
+ <version>${org.richfaces.core.version}</version>
+ <scope>import</scope>
+ <type>pom</type>
+ </dependency>
- <!-- TODO: remove this dependency used by componentControl -->
<dependency>
<groupId>org.richfaces.ui.core</groupId>
<artifactId>richfaces-ui-core-bom</artifactId>
@@ -53,13 +60,25 @@
<dependency>
<groupId>org.richfaces.ui.misc</groupId>
- <artifactId>richfaces-ui-misc-bom</artifactId>
+ <artifactId>richfaces-ui-misc-ui</artifactId>
<version>${project.version}</version>
- <scope>import</scope>
- <type>pom</type>
</dependency>
-
<dependency>
+ <groupId>org.richfaces.ui.misc</groupId>
+ <artifactId>componentcontrol-ui</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.richfaces.ui.misc</groupId>
+ <artifactId>functions-ui</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.richfaces.ui.misc</groupId>
+ <artifactId>jquery-ui</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
<groupId>org.richfaces.cdk</groupId>
<artifactId>annotations</artifactId>
<version>${org.richfaces.cdk.version}</version>
15 years, 9 months
JBoss Rich Faces SVN: r18505 - trunk/core/api/src/main/java/org/richfaces/resource.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2010-08-09 08:44:03 -0400 (Mon, 09 Aug 2010)
New Revision: 18505
Modified:
trunk/core/api/src/main/java/org/richfaces/resource/ResourceFactory.java
Log:
Added STATIS_RESOURCE_MAPPINGS constant
Modified: trunk/core/api/src/main/java/org/richfaces/resource/ResourceFactory.java
===================================================================
--- trunk/core/api/src/main/java/org/richfaces/resource/ResourceFactory.java 2010-08-09 12:39:26 UTC (rev 18504)
+++ trunk/core/api/src/main/java/org/richfaces/resource/ResourceFactory.java 2010-08-09 12:44:03 UTC (rev 18505)
@@ -30,6 +30,8 @@
*/
public interface ResourceFactory {
+ public static final String STATIC_RESOURCE_MAPPINGS = "META-INF/richfaces/static-resource-mappings.properties";
+
public abstract Resource createResource(String resourceName, String libraryName, String contentType);
public abstract Resource createResource(FacesContext context, ResourceCodecData resourceData);
15 years, 9 months
JBoss Rich Faces SVN: r18504 - in trunk/ui/misc: ui and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: Alex.Kolonitsky
Date: 2010-08-09 08:39:26 -0400 (Mon, 09 Aug 2010)
New Revision: 18504
Removed:
trunk/ui/misc/bom/
trunk/ui/misc/dist/
trunk/ui/misc/ui/pom-componentcontrol.xml
trunk/ui/misc/ui/pom-functions.xml
trunk/ui/misc/ui/pom-jquery.xml
Modified:
trunk/ui/misc/ui/pom.xml
Log:
Richfaces 4.0 restructurization of svn repository structure
Deleted: trunk/ui/misc/ui/pom-componentcontrol.xml
===================================================================
--- trunk/ui/misc/ui/pom-componentcontrol.xml 2010-08-09 12:20:14 UTC (rev 18503)
+++ trunk/ui/misc/ui/pom-componentcontrol.xml 2010-08-09 12:39:26 UTC (rev 18504)
@@ -1,133 +0,0 @@
-<!--
- JBoss, Home of Professional Open Source Copyright 2010, 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.
--->
-
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
-
- <parent>
- <groupId>org.richfaces.ui.misc</groupId>
- <artifactId>richfaces-ui-misc-parent</artifactId>
- <version>4.0.0-SNAPSHOT</version>
- <relativePath>../parent/pom.xml</relativePath>
- </parent>
-
- <modelVersion>4.0.0</modelVersion>
- <groupId>org.richfaces.ui.misc</groupId>
- <artifactId>componentcontrol-ui</artifactId>
- <name>Richfaces UI Components: Component control UI</name>
- <packaging>jar</packaging>
- <build>
- <plugins>
- <plugin>
- <groupId>org.richfaces.cdk</groupId>
- <artifactId>maven-cdk-plugin</artifactId>
- </plugin>
- </plugins>
- </build>
-
- <dependencies>
- <!-- runtime -->
- <dependency>
- <groupId>org.richfaces.core</groupId>
- <artifactId>richfaces-core-api</artifactId>
- </dependency>
- <dependency>
- <!-- todo remove this dependency or move to test scope -->
- <groupId>org.richfaces.core</groupId>
- <artifactId>richfaces-core-impl</artifactId>
- </dependency>
-
- <dependency>
- <!-- todo remove this dependency -->
- <groupId>org.richfaces.ui.core</groupId>
- <artifactId>richfaces-ui-core-ui</artifactId>
- </dependency>
-
- <dependency>
- <groupId>org.richfaces.cdk</groupId>
- <artifactId>annotations</artifactId>
- <scope>provided</scope>
- </dependency>
-
- <!-- JSF with dependencies -->
- <dependency>
- <groupId>${jsf2.api.groupid}</groupId>
- <artifactId>${jsf2.api.artifactid}</artifactId>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>javax.servlet</groupId>
- <artifactId>servlet-api</artifactId>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>javax.servlet.jsp</groupId>
- <artifactId>jsp-api</artifactId>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>javax.el</groupId>
- <artifactId>el-api</artifactId>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>javax.servlet</groupId>
- <artifactId>jstl</artifactId>
- <scope>provided</scope>
- </dependency>
-
- <!-- tests -->
- <dependency>
- <groupId>${jsf2.impl.groupid}</groupId>
- <artifactId>${jsf2.impl.artifactid}</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <!-- todo api? -->
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-log4j12</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.jboss.test-jsf</groupId>
- <artifactId>jsf-test-stage</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.jboss.test-jsf</groupId>
- <artifactId>htmlunit-client</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.jboss.test-jsf</groupId>
- <artifactId>jsf-mock</artifactId>
- <scope>test</scope>
- </dependency>
- </dependencies>
-
- <scm>
- <connection>scm:svn:http://anonsvn.jboss.org/repos/richfaces/trunk/ui/misc/componentc...</connection>
- <developerConnection>scm:svn:https://svn.jboss.org/repos/richfaces/trunk/ui/misc/componentcontrol</developerConnection>
- <url>http://fisheye.jboss.org/browse/richfaces/</url>
- </scm>
-</project>
\ No newline at end of file
Deleted: trunk/ui/misc/ui/pom-functions.xml
===================================================================
--- trunk/ui/misc/ui/pom-functions.xml 2010-08-09 12:20:14 UTC (rev 18503)
+++ trunk/ui/misc/ui/pom-functions.xml 2010-08-09 12:39:26 UTC (rev 18504)
@@ -1,127 +0,0 @@
-<!--
- JBoss, Home of Professional Open Source Copyright 2010, 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.
--->
-
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
-
- <parent>
- <groupId>org.richfaces.ui.misc</groupId>
- <artifactId>richfaces-ui-misc-parent</artifactId>
- <version>4.0.0-SNAPSHOT</version>
- <relativePath>../parent/pom.xml</relativePath>
- </parent>
-
- <modelVersion>4.0.0</modelVersion>
- <groupId>org.richfaces.ui.misc</groupId>
- <artifactId>functions-ui</artifactId>
- <name>Richfaces UI Components: Functions UI</name>
- <packaging>jar</packaging>
- <build>
- <plugins>
- <plugin>
- <groupId>org.richfaces.cdk</groupId>
- <artifactId>maven-cdk-plugin</artifactId>
- </plugin>
- </plugins>
- </build>
-
- <dependencies>
- <!-- runtime -->
- <dependency>
- <groupId>org.richfaces.core</groupId>
- <artifactId>richfaces-core-api</artifactId>
- </dependency>
- <dependency>
- <!-- todo remove this dependency or move to test scope -->
- <groupId>org.richfaces.core</groupId>
- <artifactId>richfaces-core-impl</artifactId>
- </dependency>
-
- <dependency>
- <groupId>org.richfaces.cdk</groupId>
- <artifactId>annotations</artifactId>
- <scope>provided</scope>
- </dependency>
-
- <!-- JSF with dependencies -->
- <dependency>
- <groupId>${jsf2.api.groupid}</groupId>
- <artifactId>${jsf2.api.artifactid}</artifactId>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>javax.servlet</groupId>
- <artifactId>servlet-api</artifactId>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>javax.servlet.jsp</groupId>
- <artifactId>jsp-api</artifactId>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>javax.el</groupId>
- <artifactId>el-api</artifactId>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>javax.servlet</groupId>
- <artifactId>jstl</artifactId>
- <scope>provided</scope>
- </dependency>
-
- <!-- tests -->
- <dependency>
- <groupId>${jsf2.impl.groupid}</groupId>
- <artifactId>${jsf2.impl.artifactid}</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <!-- todo api? -->
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-log4j12</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.jboss.test-jsf</groupId>
- <artifactId>jsf-test-stage</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.jboss.test-jsf</groupId>
- <artifactId>htmlunit-client</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.jboss.test-jsf</groupId>
- <artifactId>jsf-mock</artifactId>
- <scope>test</scope>
- </dependency>
- </dependencies>
-
- <scm>
- <connection>scm:svn:http://anonsvn.jboss.org/repos/richfaces/trunk/ui/misc/functions</connection>
- <developerConnection>scm:svn:https://svn.jboss.org/repos/richfaces/trunk/ui/misc/functions</developerConnection>
- <url>http://fisheye.jboss.org/browse/richfaces/</url>
- </scm>
-</project>
\ No newline at end of file
Deleted: trunk/ui/misc/ui/pom-jquery.xml
===================================================================
--- trunk/ui/misc/ui/pom-jquery.xml 2010-08-09 12:20:14 UTC (rev 18503)
+++ trunk/ui/misc/ui/pom-jquery.xml 2010-08-09 12:39:26 UTC (rev 18504)
@@ -1,127 +0,0 @@
-<!--
- JBoss, Home of Professional Open Source Copyright 2010, 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.
--->
-
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
-
- <parent>
- <groupId>org.richfaces.ui.misc</groupId>
- <artifactId>richfaces-ui-misc-parent</artifactId>
- <version>4.0.0-SNAPSHOT</version>
- <relativePath>../parent/pom.xml</relativePath>
- </parent>
-
- <modelVersion>4.0.0</modelVersion>
- <groupId>org.richfaces.ui.misc</groupId>
- <artifactId>jquery-ui</artifactId>
- <name>Richfaces UI Components: jQuery Component UI</name>
- <packaging>jar</packaging>
- <build>
- <plugins>
- <plugin>
- <groupId>org.richfaces.cdk</groupId>
- <artifactId>maven-cdk-plugin</artifactId>
- </plugin>
- </plugins>
- </build>
-
- <dependencies>
- <!-- runtime -->
- <dependency>
- <groupId>org.richfaces.core</groupId>
- <artifactId>richfaces-core-api</artifactId>
- </dependency>
- <dependency>
- <!-- todo remove this dependency or move to test scope -->
- <groupId>org.richfaces.core</groupId>
- <artifactId>richfaces-core-impl</artifactId>
- </dependency>
-
- <dependency>
- <groupId>org.richfaces.cdk</groupId>
- <artifactId>annotations</artifactId>
- <scope>provided</scope>
- </dependency>
-
- <!-- JSF with dependencies -->
- <dependency>
- <groupId>${jsf2.api.groupid}</groupId>
- <artifactId>${jsf2.api.artifactid}</artifactId>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>javax.servlet</groupId>
- <artifactId>servlet-api</artifactId>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>javax.servlet.jsp</groupId>
- <artifactId>jsp-api</artifactId>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>javax.el</groupId>
- <artifactId>el-api</artifactId>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>javax.servlet</groupId>
- <artifactId>jstl</artifactId>
- <scope>provided</scope>
- </dependency>
-
- <!-- tests -->
- <dependency>
- <groupId>${jsf2.impl.groupid}</groupId>
- <artifactId>${jsf2.impl.artifactid}</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <!-- todo api? -->
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-log4j12</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.jboss.test-jsf</groupId>
- <artifactId>jsf-test-stage</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.jboss.test-jsf</groupId>
- <artifactId>htmlunit-client</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.jboss.test-jsf</groupId>
- <artifactId>jsf-mock</artifactId>
- <scope>test</scope>
- </dependency>
- </dependencies>
-
- <scm>
- <connection>scm:svn:http://anonsvn.jboss.org/repos/richfaces/trunk/ui/misc/jquery</connection>
- <developerConnection>scm:svn:https://svn.jboss.org/repos/richfaces/trunk/ui/misc/jquery</developerConnection>
- <url>http://fisheye.jboss.org/browse/richfaces/</url>
- </scm>
-</project>
\ No newline at end of file
Modified: trunk/ui/misc/ui/pom.xml
===================================================================
--- trunk/ui/misc/ui/pom.xml 2010-08-09 12:20:14 UTC (rev 18503)
+++ trunk/ui/misc/ui/pom.xml 2010-08-09 12:39:26 UTC (rev 18504)
@@ -65,52 +65,68 @@
<artifactId>annotations</artifactId>
<version>${org.richfaces.cdk.version}</version>
</dependency>
+
+ <!-- JSF with dependencies -->
+ <dependency>
+ <groupId>${jsf2.api.groupid}</groupId>
+ <artifactId>${jsf2.api.artifactid}</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>javax.servlet</groupId>
+ <artifactId>servlet-api</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>javax.servlet.jsp</groupId>
+ <artifactId>jsp-api</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>javax.el</groupId>
+ <artifactId>el-api</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>javax.servlet</groupId>
+ <artifactId>jstl</artifactId>
+ <scope>provided</scope>
+ </dependency>
+
+ <!-- tests -->
+ <dependency>
+ <groupId>${jsf2.impl.groupid}</groupId>
+ <artifactId>${jsf2.impl.artifactid}</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <!-- todo api? -->
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-log4j12</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.test-jsf</groupId>
+ <artifactId>jsf-test-stage</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.test-jsf</groupId>
+ <artifactId>htmlunit-client</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.test-jsf</groupId>
+ <artifactId>jsf-mock</artifactId>
+ <scope>test</scope>
+ </dependency>
</dependencies>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-shade-plugin</artifactId>
- <version>1.3.3</version>
- <executions>
- <execution>
- <phase>package</phase>
- <goals>
- <goal>shade</goal>
- </goals>
- <configuration>
- <artifactSet>
- <includes>
- <include>${assembly.projects.group}:*-ui:*</include>
- </includes>
- </artifactSet>
- <createSourcesJar>true</createSourcesJar>
- <transformers>
- <transformer implementation="org.richfaces.build.shade.resource.TaglibXmlResourceTransformer">
- <taglibs>
- <taglib>
- <targetNamespace>http://richfaces.org/misc</targetNamespace>
- <sourceNamespacesPattern>.*</sourceNamespacesPattern>
- </taglib>
- </taglibs>
- </transformer>
- <transformer implementation="org.richfaces.build.shade.resource.FacesConfigXmlResourceTransformer" />
- </transformers>
- </configuration>
- </execution>
- </executions>
- <dependencies>
- <dependency>
- <groupId>org.richfaces.build.resources</groupId>
- <artifactId>faces-shade-transformers</artifactId>
- <version>${faces-shade-transformers.version}</version>
- </dependency>
- </dependencies>
- </plugin>
- </plugins>
- </build>
-
<profiles>
<profile>
<id>release</id>
15 years, 9 months
JBoss Rich Faces SVN: r18503 - in root/sandbox/cdk/maven-resources-plugin: src/it/richfaces-application and 8 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2010-08-09 08:20:14 -0400 (Mon, 09 Aug 2010)
New Revision: 18503
Added:
root/sandbox/cdk/maven-resources-plugin/src/main/resources/
root/sandbox/cdk/maven-resources-plugin/src/main/resources/META-INF/
root/sandbox/cdk/maven-resources-plugin/src/main/resources/META-INF/mime.types
Removed:
root/sandbox/cdk/maven-resources-plugin/src/main/java/org/richfaces/cdk/scanner/
Modified:
root/sandbox/cdk/maven-resources-plugin/pom.xml
root/sandbox/cdk/maven-resources-plugin/src/it/richfaces-application/pom.xml
root/sandbox/cdk/maven-resources-plugin/src/main/java/org/richfaces/cdk/strings/Constants.java
root/sandbox/cdk/maven-resources-plugin/src/main/java/org/richfaces/cdk/vfs/VirtualFile.java
root/sandbox/cdk/maven-resources-plugin/src/main/java/org/richfaces/cdk/vfs/file/FileVFSFile.java
root/sandbox/cdk/maven-resources-plugin/src/main/java/org/richfaces/cdk/vfs/zip/ZipVFSFile.java
Log:
Checkstyle violations fixed
mime.types file added
Modified: root/sandbox/cdk/maven-resources-plugin/pom.xml
===================================================================
--- root/sandbox/cdk/maven-resources-plugin/pom.xml 2010-08-09 11:31:12 UTC (rev 18502)
+++ root/sandbox/cdk/maven-resources-plugin/pom.xml 2010-08-09 12:20:14 UTC (rev 18503)
@@ -117,7 +117,7 @@
</plugin>
</plugins>
</build>
-
+
<profiles>
<profile>
<id>it</id>
Modified: root/sandbox/cdk/maven-resources-plugin/src/it/richfaces-application/pom.xml
===================================================================
--- root/sandbox/cdk/maven-resources-plugin/src/it/richfaces-application/pom.xml 2010-08-09 11:31:12 UTC (rev 18502)
+++ root/sandbox/cdk/maven-resources-plugin/src/it/richfaces-application/pom.xml 2010-08-09 12:20:14 UTC (rev 18503)
@@ -32,7 +32,7 @@
<skin>wine</skin>
</skins>
<includedContentTypes>
- <include>text/javascript</include>
+ <include>application/javascript</include>
<include>text/css</include>
<include>image/.+</include>
</includedContentTypes>
Modified: root/sandbox/cdk/maven-resources-plugin/src/main/java/org/richfaces/cdk/strings/Constants.java
===================================================================
--- root/sandbox/cdk/maven-resources-plugin/src/main/java/org/richfaces/cdk/strings/Constants.java 2010-08-09 11:31:12 UTC (rev 18502)
+++ root/sandbox/cdk/maven-resources-plugin/src/main/java/org/richfaces/cdk/strings/Constants.java 2010-08-09 12:20:14 UTC (rev 18503)
@@ -30,9 +30,6 @@
*/
public final class Constants {
- private Constants() {
- }
-
public static final Joiner SLASH_JOINER = Joiner.on('/').skipNulls();
public static final Splitter SLASH_SPLITTER = Splitter.on('/').omitEmptyStrings();
@@ -42,4 +39,8 @@
public static final Joiner DASH_JOINER = Joiner.on('-').skipNulls();
public static final Joiner COLON_JOINER = Joiner.on(':').skipNulls();
+
+ private Constants() {
+ }
+
}
Modified: root/sandbox/cdk/maven-resources-plugin/src/main/java/org/richfaces/cdk/vfs/VirtualFile.java
===================================================================
--- root/sandbox/cdk/maven-resources-plugin/src/main/java/org/richfaces/cdk/vfs/VirtualFile.java 2010-08-09 11:31:12 UTC (rev 18502)
+++ root/sandbox/cdk/maven-resources-plugin/src/main/java/org/richfaces/cdk/vfs/VirtualFile.java 2010-08-09 12:20:14 UTC (rev 18503)
@@ -45,6 +45,6 @@
public VirtualFile getChild(String path);
- public VirtualFile getChild(String path, boolean remounted);
+ public VirtualFile getChild(String path, boolean chrooted);
}
Modified: root/sandbox/cdk/maven-resources-plugin/src/main/java/org/richfaces/cdk/vfs/file/FileVFSFile.java
===================================================================
--- root/sandbox/cdk/maven-resources-plugin/src/main/java/org/richfaces/cdk/vfs/file/FileVFSFile.java 2010-08-09 11:31:12 UTC (rev 18502)
+++ root/sandbox/cdk/maven-resources-plugin/src/main/java/org/richfaces/cdk/vfs/file/FileVFSFile.java 2010-08-09 12:20:14 UTC (rev 18503)
@@ -97,7 +97,7 @@
}
@Override
- public VirtualFile getChild(String path, boolean isRemounted) {
+ public VirtualFile getChild(String path, boolean chrooted) {
Iterable<String> split = SLASH_SPLITTER.split(path);
File result = file;
for (String pathSeg : split) {
@@ -109,7 +109,7 @@
}
if (result.exists()) {
- return new FileVFSFile(result, isRemounted ? null : SLASH_JOINER.join(relativePath, result.getName()));
+ return new FileVFSFile(result, chrooted ? null : SLASH_JOINER.join(relativePath, result.getName()));
}
return null;
Modified: root/sandbox/cdk/maven-resources-plugin/src/main/java/org/richfaces/cdk/vfs/zip/ZipVFSFile.java
===================================================================
--- root/sandbox/cdk/maven-resources-plugin/src/main/java/org/richfaces/cdk/vfs/zip/ZipVFSFile.java 2010-08-09 11:31:12 UTC (rev 18502)
+++ root/sandbox/cdk/maven-resources-plugin/src/main/java/org/richfaces/cdk/vfs/zip/ZipVFSFile.java 2010-08-09 12:20:14 UTC (rev 18503)
@@ -95,7 +95,7 @@
}
@Override
- public VirtualFile getChild(String path, boolean remounted) {
+ public VirtualFile getChild(String path, boolean chrooted) {
Iterable<String> split = SLASH_SPLITTER.split(path);
ZipNode node = zipNode;
for (String pathSeg : split) {
@@ -106,7 +106,7 @@
}
String relativePath = null;
- if (!remounted) {
+ if (!chrooted) {
relativePath = SLASH_JOINER.join(getRelativePath(), path);
}
Added: root/sandbox/cdk/maven-resources-plugin/src/main/resources/META-INF/mime.types
===================================================================
--- root/sandbox/cdk/maven-resources-plugin/src/main/resources/META-INF/mime.types (rev 0)
+++ root/sandbox/cdk/maven-resources-plugin/src/main/resources/META-INF/mime.types 2010-08-09 12:20:14 UTC (rev 18503)
@@ -0,0 +1,790 @@
+# Extracted from Ubuntu distribution: http://packages.ubuntu.com/lucid/mime-support (mime-support (3.48-1ubuntu1))
+#
+###############################################################################
+#
+# MIME-TYPES and the extensions that represent them
+#
+# This file is part of the "mime-support" package. Please send email (not a
+# bug report) to mime-support(a)packages.debian.org if you would like new types
+# and/or extensions to be added.
+#
+# The reason that all types are managed by the mime-support package instead
+# allowing individual packages to install types in much the same way as they
+# add entries in to the mailcap file is so these types can be referenced by
+# other programs (such as a web server) even if the specific support package
+# for that type is not installed.
+#
+# Users can add their own types if they wish by creating a ".mime.types"
+# file in their home directory. Definitions included there will take
+# precedence over those listed here.
+#
+# Note: Compression schemes like "gzip", "bzip", and "compress" are not
+# actually "mime-types". They are "encodings" and hence must _not_ have
+# entries in this file to map their extensions. The "mime-type" of an
+# encoded file refers to the type of data that has been encoded, not the
+# type of encoding.
+#
+###############################################################################
+
+
+application/activemessage
+application/andrew-inset ez
+application/annodex anx
+application/applefile
+application/atom+xml atom
+application/atomcat+xml atomcat
+application/atomserv+xml atomsrv
+application/atomicmail
+application/batch-SMTP
+application/beep+xml
+application/bbolin lin
+application/cals-1840
+application/cap cap pcap
+application/commonground
+application/cu-seeme cu
+application/cybercash
+application/davmount+xml davmount
+application/dca-rft
+application/dec-dx
+application/docbook+xml
+application/dsptype tsp
+application/dvcs
+application/ecmascript es
+application/edi-consent
+application/edi-x12
+application/edifact
+application/eshop
+application/font-tdpfr
+application/futuresplash spl
+application/ghostview
+application/hta hta
+application/http
+application/hyperstudio
+application/iges
+application/index
+application/index.cmd
+application/index.obj
+application/index.response
+application/index.vnd
+application/iotp
+application/ipp
+application/isup
+application/java-archive jar
+application/java-serialized-object ser
+application/java-vm class
+application/javascript js
+application/m3g m3g
+application/mac-binhex40 hqx
+application/mac-compactpro cpt
+application/macwriteii
+application/marc
+application/mathematica nb nbp
+application/ms-tnef
+application/msaccess mdb
+application/msword doc dot
+application/mxf mxf
+application/news-message-id
+application/news-transmission
+application/ocsp-request
+application/ocsp-response
+application/octet-stream bin
+application/oda oda
+application/ogg ogx
+application/parityfec
+application/pdf pdf
+application/pgp-encrypted
+application/pgp-keys key
+application/pgp-signature pgp
+application/pics-rules prf
+application/pkcs10
+application/pkcs7-mime
+application/pkcs7-signature
+application/pkix-cert
+application/pkix-crl
+application/pkixcmp
+application/postscript ps ai eps epsi epsf eps2 eps3
+application/prs.alvestrand.titrax-sheet
+application/prs.cww
+application/prs.nprend
+application/qsig
+application/rar rar
+application/rdf+xml rdf
+application/remote-printing
+application/riscos
+application/rss+xml rss
+application/rtf rtf
+application/sdp
+application/set-payment
+application/set-payment-initiation
+application/set-registration
+application/set-registration-initiation
+application/sgml
+application/sgml-open-catalog
+application/sieve
+application/slate
+application/smil smi smil
+application/timestamp-query
+application/timestamp-reply
+application/vemmi
+application/whoispp-query
+application/whoispp-response
+application/wita
+application/x400-bp
+application/xhtml+xml xhtml xht
+application/xml xml xsl xsd
+application/xml-dtd
+application/xml-external-parsed-entity
+application/xspf+xml xspf
+application/zip zip
+application/vnd.3M.Post-it-Notes
+application/vnd.accpac.simply.aso
+application/vnd.accpac.simply.imp
+application/vnd.acucobol
+application/vnd.aether.imp
+application/vnd.android.package-archive apk
+application/vnd.anser-web-certificate-issue-initiation
+application/vnd.anser-web-funds-transfer-initiation
+application/vnd.audiograph
+application/vnd.bmi
+application/vnd.businessobjects
+application/vnd.canon-cpdl
+application/vnd.canon-lips
+application/vnd.cinderella cdy
+application/vnd.claymore
+application/vnd.commerce-battelle
+application/vnd.commonspace
+application/vnd.comsocaller
+application/vnd.contact.cmsg
+application/vnd.cosmocaller
+application/vnd.ctc-posml
+application/vnd.cups-postscript
+application/vnd.cups-raster
+application/vnd.cups-raw
+application/vnd.cybank
+application/vnd.dna
+application/vnd.dpgraph
+application/vnd.dxr
+application/vnd.ecdis-update
+application/vnd.ecowin.chart
+application/vnd.ecowin.filerequest
+application/vnd.ecowin.fileupdate
+application/vnd.ecowin.series
+application/vnd.ecowin.seriesrequest
+application/vnd.ecowin.seriesupdate
+application/vnd.enliven
+application/vnd.epson.esf
+application/vnd.epson.msf
+application/vnd.epson.quickanime
+application/vnd.epson.salt
+application/vnd.epson.ssf
+application/vnd.ericsson.quickcall
+application/vnd.eudora.data
+application/vnd.fdf
+application/vnd.ffsns
+application/vnd.flographit
+application/vnd.framemaker
+application/vnd.fsc.weblaunch
+application/vnd.fujitsu.oasys
+application/vnd.fujitsu.oasys2
+application/vnd.fujitsu.oasys3
+application/vnd.fujitsu.oasysgp
+application/vnd.fujitsu.oasysprs
+application/vnd.fujixerox.ddd
+application/vnd.fujixerox.docuworks
+application/vnd.fujixerox.docuworks.binder
+application/vnd.fut-misnet
+application/vnd.google-earth.kml+xml kml
+application/vnd.google-earth.kmz kmz
+application/vnd.grafeq
+application/vnd.groove-account
+application/vnd.groove-identity-message
+application/vnd.groove-injector
+application/vnd.groove-tool-message
+application/vnd.groove-tool-template
+application/vnd.groove-vcard
+application/vnd.hhe.lesson-player
+application/vnd.hp-HPGL
+application/vnd.hp-PCL
+application/vnd.hp-PCLXL
+application/vnd.hp-hpid
+application/vnd.hp-hps
+application/vnd.httphone
+application/vnd.hzn-3d-crossword
+application/vnd.ibm.MiniPay
+application/vnd.ibm.afplinedata
+application/vnd.ibm.modcap
+application/vnd.informix-visionary
+application/vnd.intercon.formnet
+application/vnd.intertrust.digibox
+application/vnd.intertrust.nncp
+application/vnd.intu.qbo
+application/vnd.intu.qfx
+application/vnd.irepository.package+xml
+application/vnd.is-xpr
+application/vnd.japannet-directory-service
+application/vnd.japannet-jpnstore-wakeup
+application/vnd.japannet-payment-wakeup
+application/vnd.japannet-registration
+application/vnd.japannet-registration-wakeup
+application/vnd.japannet-setstore-wakeup
+application/vnd.japannet-verification
+application/vnd.japannet-verification-wakeup
+application/vnd.koan
+application/vnd.lotus-1-2-3
+application/vnd.lotus-approach
+application/vnd.lotus-freelance
+application/vnd.lotus-notes
+application/vnd.lotus-organizer
+application/vnd.lotus-screencam
+application/vnd.lotus-wordpro
+application/vnd.mcd
+application/vnd.mediastation.cdkey
+application/vnd.meridian-slingshot
+application/vnd.mif
+application/vnd.minisoft-hp3000-save
+application/vnd.mitsubishi.misty-guard.trustweb
+application/vnd.mobius.daf
+application/vnd.mobius.dis
+application/vnd.mobius.msl
+application/vnd.mobius.plc
+application/vnd.mobius.txf
+application/vnd.motorola.flexsuite
+application/vnd.motorola.flexsuite.adsi
+application/vnd.motorola.flexsuite.fis
+application/vnd.motorola.flexsuite.gotap
+application/vnd.motorola.flexsuite.kmr
+application/vnd.motorola.flexsuite.ttc
+application/vnd.motorola.flexsuite.wem
+application/vnd.mozilla.xul+xml xul
+application/vnd.ms-artgalry
+application/vnd.ms-asf
+application/vnd.ms-excel xls xlb xlt
+application/vnd.ms-lrm
+application/vnd.ms-pki.seccat cat
+application/vnd.ms-pki.stl stl
+application/vnd.ms-powerpoint ppt pps
+application/vnd.ms-project
+application/vnd.ms-tnef
+application/vnd.ms-works
+application/vnd.mseq
+application/vnd.msign
+application/vnd.music-niff
+application/vnd.musician
+application/vnd.netfpx
+application/vnd.noblenet-directory
+application/vnd.noblenet-sealer
+application/vnd.noblenet-web
+application/vnd.novadigm.EDM
+application/vnd.novadigm.EDX
+application/vnd.novadigm.EXT
+application/vnd.oasis.opendocument.chart odc
+application/vnd.oasis.opendocument.database odb
+application/vnd.oasis.opendocument.formula odf
+application/vnd.oasis.opendocument.graphics odg
+application/vnd.oasis.opendocument.graphics-template otg
+application/vnd.oasis.opendocument.image odi
+application/vnd.oasis.opendocument.presentation odp
+application/vnd.oasis.opendocument.presentation-template otp
+application/vnd.oasis.opendocument.spreadsheet ods
+application/vnd.oasis.opendocument.spreadsheet-template ots
+application/vnd.oasis.opendocument.text odt
+application/vnd.oasis.opendocument.text-master odm
+application/vnd.oasis.opendocument.text-template ott
+application/vnd.oasis.opendocument.text-web oth
+application/vnd.osa.netdeploy
+application/vnd.openxmlformats-officedocument.spreadsheetml.sheet xlsx
+application/vnd.openxmlformats-officedocument.spreadsheetml.template xltx
+application/vnd.openxmlformats-officedocument.presentationml.presentation pptx
+application/vnd.openxmlformats-officedocument.presentationml.slideshow ppsx
+application/vnd.openxmlformats-officedocument.presentationml.template potx
+application/vnd.openxmlformats-officedocument.wordprocessingml.document docx
+application/vnd.openxmlformats-officedocument.wordprocessingml.template dotx
+application/vnd.palm
+application/vnd.pg.format
+application/vnd.pg.osasli
+application/vnd.powerbuilder6
+application/vnd.powerbuilder6-s
+application/vnd.powerbuilder7
+application/vnd.powerbuilder7-s
+application/vnd.powerbuilder75
+application/vnd.powerbuilder75-s
+application/vnd.previewsystems.box
+application/vnd.publishare-delta-tree
+application/vnd.pvi.ptid1
+application/vnd.pwg-xhtml-print+xml
+application/vnd.rapid
+application/vnd.rim.cod cod
+application/vnd.s3sms
+application/vnd.seemail
+application/vnd.shana.informed.formdata
+application/vnd.shana.informed.formtemplate
+application/vnd.shana.informed.interchange
+application/vnd.shana.informed.package
+application/vnd.smaf mmf
+application/vnd.sss-cod
+application/vnd.sss-dtf
+application/vnd.sss-ntf
+application/vnd.stardivision.calc sdc
+application/vnd.stardivision.chart sds
+application/vnd.stardivision.draw sda
+application/vnd.stardivision.impress sdd
+application/vnd.stardivision.math sdf
+application/vnd.stardivision.writer sdw
+application/vnd.stardivision.writer-global sgl
+application/vnd.street-stream
+application/vnd.sun.xml.calc sxc
+application/vnd.sun.xml.calc.template stc
+application/vnd.sun.xml.draw sxd
+application/vnd.sun.xml.draw.template std
+application/vnd.sun.xml.impress sxi
+application/vnd.sun.xml.impress.template sti
+application/vnd.sun.xml.math sxm
+application/vnd.sun.xml.writer sxw
+application/vnd.sun.xml.writer.global sxg
+application/vnd.sun.xml.writer.template stw
+application/vnd.svd
+application/vnd.swiftview-ics
+application/vnd.symbian.install sis
+application/vnd.triscape.mxs
+application/vnd.trueapp
+application/vnd.truedoc
+application/vnd.tve-trigger
+application/vnd.ufdl
+application/vnd.uplanet.alert
+application/vnd.uplanet.alert-wbxml
+application/vnd.uplanet.bearer-choice
+application/vnd.uplanet.bearer-choice-wbxml
+application/vnd.uplanet.cacheop
+application/vnd.uplanet.cacheop-wbxml
+application/vnd.uplanet.channel
+application/vnd.uplanet.channel-wbxml
+application/vnd.uplanet.list
+application/vnd.uplanet.list-wbxml
+application/vnd.uplanet.listcmd
+application/vnd.uplanet.listcmd-wbxml
+application/vnd.uplanet.signal
+application/vnd.vcx
+application/vnd.vectorworks
+application/vnd.vidsoft.vidconference
+application/vnd.visio vsd
+application/vnd.vividence.scriptfile
+application/vnd.wap.sic
+application/vnd.wap.slc
+application/vnd.wap.wbxml wbxml
+application/vnd.wap.wmlc wmlc
+application/vnd.wap.wmlscriptc wmlsc
+application/vnd.webturbo
+application/vnd.wordperfect wpd
+application/vnd.wordperfect5.1 wp5
+application/vnd.wrq-hp3000-labelled
+application/vnd.wt.stf
+application/vnd.xara
+application/vnd.xfdl
+application/vnd.yellowriver-custom-menu
+application/x-123 wk
+application/x-7z-compressed 7z
+application/x-abiword abw
+application/x-apple-diskimage dmg
+application/x-bcpio bcpio
+application/x-bittorrent torrent
+application/x-cab cab
+application/x-cbr cbr
+application/x-cbz cbz
+application/x-cdf cdf cda
+application/x-cdlink vcd
+application/x-chess-pgn pgn
+application/x-core
+application/x-cpio cpio
+application/x-csh csh
+application/x-debian-package deb udeb
+application/x-director dcr dir dxr
+application/x-dms dms
+application/x-doom wad
+application/x-dvi dvi
+application/x-httpd-eruby rhtml
+application/x-executable
+application/x-font pfa pfb gsf pcf pcf.Z
+application/x-freemind mm
+application/x-futuresplash spl
+application/x-gnumeric gnumeric
+application/x-go-sgf sgf
+application/x-graphing-calculator gcf
+application/x-gtar gtar tgz taz
+application/x-hdf hdf
+application/x-httpd-php phtml pht php
+application/x-httpd-php-source phps
+application/x-httpd-php3 php3
+application/x-httpd-php3-preprocessed php3p
+application/x-httpd-php4 php4
+application/x-httpd-php5 php5
+application/x-ica ica
+application/x-info info
+application/x-internet-signup ins isp
+application/x-iphone iii
+application/x-iso9660-image iso
+application/x-jam jam
+application/x-java-applet
+application/x-java-bean
+application/x-java-jnlp-file jnlp
+application/x-jmol jmz
+application/x-kchart chrt
+application/x-kdelnk
+application/x-killustrator kil
+application/x-koan skp skd skt skm
+application/x-kpresenter kpr kpt
+application/x-kspread ksp
+application/x-kword kwd kwt
+application/x-latex latex
+application/x-lha lha
+application/x-lyx lyx
+application/x-lzh lzh
+application/x-lzx lzx
+application/x-maker frm maker frame fm fb book fbdoc
+application/x-mif mif
+application/x-ms-wmd wmd
+application/x-ms-wmz wmz
+application/x-msdos-program com exe bat dll
+application/x-msi msi
+application/x-netcdf nc
+application/x-ns-proxy-autoconfig pac dat
+application/x-nwc nwc
+application/x-object o
+application/x-oz-application oza
+application/x-pkcs7-certreqresp p7r
+application/x-pkcs7-crl crl
+application/x-python-code pyc pyo
+application/x-qgis qgs shp shx
+application/x-quicktimeplayer qtl
+application/x-redhat-package-manager rpm
+application/x-ruby rb
+application/x-rx
+application/x-sh sh
+application/x-shar shar
+application/x-shellscript
+application/x-shockwave-flash swf swfl
+application/x-silverlight scr
+application/x-stuffit sit sitx
+application/x-sv4cpio sv4cpio
+application/x-sv4crc sv4crc
+application/x-tar tar
+application/x-tcl tcl
+application/x-tex-gf gf
+application/x-tex-pk pk
+application/x-texinfo texinfo texi
+application/x-trash ~ % bak old sik
+application/x-troff t tr roff
+application/x-troff-man man
+application/x-troff-me me
+application/x-troff-ms ms
+application/x-ustar ustar
+application/x-videolan
+application/x-wais-source src
+application/x-wingz wz
+application/x-x509-ca-cert crt
+application/x-xcf xcf
+application/x-xfig fig
+application/x-xpinstall xpi
+
+audio/32kadpcm
+audio/3gpp
+audio/amr amr
+audio/amr-wb awb
+audio/amr amr
+audio/amr-wb awb
+audio/annodex axa
+audio/basic au snd
+audio/flac flac
+audio/g.722.1
+audio/l16
+audio/midi mid midi kar
+audio/mp4a-latm
+audio/mpa-robust
+audio/mpeg mpga mpega mp2 mp3 m4a
+audio/mpegurl m3u
+audio/ogg oga ogg spx
+audio/parityfec
+audio/prs.sid sid
+audio/telephone-event
+audio/tone
+audio/vnd.cisco.nse
+audio/vnd.cns.anp1
+audio/vnd.cns.inf1
+audio/vnd.digital-winds
+audio/vnd.everad.plj
+audio/vnd.lucent.voice
+audio/vnd.nortel.vbk
+audio/vnd.nuera.ecelp4800
+audio/vnd.nuera.ecelp7470
+audio/vnd.nuera.ecelp9600
+audio/vnd.octel.sbc
+audio/vnd.qcelp
+audio/vnd.rhetorex.32kadpcm
+audio/vnd.vmx.cvsd
+audio/x-aiff aif aiff aifc
+audio/x-gsm gsm
+audio/x-mpegurl m3u
+audio/x-ms-wma wma
+audio/x-ms-wax wax
+audio/x-pn-realaudio-plugin
+audio/x-pn-realaudio ra rm ram
+audio/x-realaudio ra
+audio/x-scpls pls
+audio/x-sd2 sd2
+audio/x-wav wav
+
+chemical/x-alchemy alc
+chemical/x-cache cac cache
+chemical/x-cache-csf csf
+chemical/x-cactvs-binary cbin cascii ctab
+chemical/x-cdx cdx
+chemical/x-cerius cer
+chemical/x-chem3d c3d
+chemical/x-chemdraw chm
+chemical/x-cif cif
+chemical/x-cmdf cmdf
+chemical/x-cml cml
+chemical/x-compass cpa
+chemical/x-crossfire bsd
+chemical/x-csml csml csm
+chemical/x-ctx ctx
+chemical/x-cxf cxf cef
+#chemical/x-daylight-smiles smi
+chemical/x-embl-dl-nucleotide emb embl
+chemical/x-galactic-spc spc
+chemical/x-gamess-input inp gam gamin
+chemical/x-gaussian-checkpoint fch fchk
+chemical/x-gaussian-cube cub
+chemical/x-gaussian-input gau gjc gjf
+chemical/x-gaussian-log gal
+chemical/x-gcg8-sequence gcg
+chemical/x-genbank gen
+chemical/x-hin hin
+chemical/x-isostar istr ist
+chemical/x-jcamp-dx jdx dx
+chemical/x-kinemage kin
+chemical/x-macmolecule mcm
+chemical/x-macromodel-input mmd mmod
+chemical/x-mdl-molfile mol
+chemical/x-mdl-rdfile rd
+chemical/x-mdl-rxnfile rxn
+chemical/x-mdl-sdfile sd sdf
+chemical/x-mdl-tgf tgf
+#chemical/x-mif mif
+chemical/x-mmcif mcif
+chemical/x-mol2 mol2
+chemical/x-molconn-Z b
+chemical/x-mopac-graph gpt
+chemical/x-mopac-input mop mopcrt mpc zmt
+chemical/x-mopac-out moo
+chemical/x-mopac-vib mvb
+chemical/x-ncbi-asn1 asn
+chemical/x-ncbi-asn1-ascii prt ent
+chemical/x-ncbi-asn1-binary val aso
+chemical/x-ncbi-asn1-spec asn
+chemical/x-pdb pdb ent
+chemical/x-rosdal ros
+chemical/x-swissprot sw
+chemical/x-vamas-iso14976 vms
+chemical/x-vmd vmd
+chemical/x-xtel xtel
+chemical/x-xyz xyz
+
+image/cgm
+image/g3fax
+image/gif gif
+image/ief ief
+image/jpeg jpeg jpg jpe
+image/naplps
+image/pcx pcx
+image/png png
+image/prs.btif
+image/prs.pti
+image/svg+xml svg svgz
+image/tiff tiff tif
+image/vnd.cns.inf2
+image/vnd.djvu djvu djv
+image/vnd.dwg
+image/vnd.dxf
+image/vnd.fastbidsheet
+image/vnd.fpx
+image/vnd.fst
+image/vnd.fujixerox.edmics-mmr
+image/vnd.fujixerox.edmics-rlc
+image/vnd.mix
+image/vnd.net-fpx
+image/vnd.svf
+image/vnd.wap.wbmp wbmp
+image/vnd.xiff
+image/x-canon-cr2 cr2
+image/x-canon-crw crw
+image/x-cmu-raster ras
+image/x-coreldraw cdr
+image/x-coreldrawpattern pat
+image/x-coreldrawtemplate cdt
+image/x-corelphotopaint cpt
+image/x-epson-erf erf
+image/x-icon ico
+image/x-jg art
+image/x-jng jng
+image/x-ms-bmp bmp
+image/x-nikon-nef nef
+image/x-olympus-orf orf
+image/x-photoshop psd
+image/x-portable-anymap pnm
+image/x-portable-bitmap pbm
+image/x-portable-graymap pgm
+image/x-portable-pixmap ppm
+image/x-rgb rgb
+image/x-xbitmap xbm
+image/x-xpixmap xpm
+image/x-xwindowdump xwd
+
+inode/chardevice
+inode/blockdevice
+inode/directory-locked
+inode/directory
+inode/fifo
+inode/socket
+
+message/delivery-status
+message/disposition-notification
+message/external-body
+message/http
+message/s-http
+message/news
+message/partial
+message/rfc822 eml
+
+model/iges igs iges
+model/mesh msh mesh silo
+model/vnd.dwf
+model/vnd.flatland.3dml
+model/vnd.gdl
+model/vnd.gs-gdl
+model/vnd.gtw
+model/vnd.mts
+model/vnd.vtu
+model/vrml wrl vrml
+model/x3d+vrml x3dv
+model/x3d+xml x3d
+model/x3d+binary x3db
+
+multipart/alternative
+multipart/appledouble
+multipart/byteranges
+multipart/digest
+multipart/encrypted
+multipart/form-data
+multipart/header-set
+multipart/mixed
+multipart/parallel
+multipart/related
+multipart/report
+multipart/signed
+multipart/voice-message
+
+text/cache-manifest manifest
+text/calendar ics icz
+text/css css
+text/csv csv
+text/directory
+text/english
+text/enriched
+text/h323 323
+text/html html htm shtml
+text/iuls uls
+text/mathml mml
+text/parityfec
+text/plain asc txt text pot brf
+text/prs.lines.tag
+text/rfc822-headers
+text/richtext rtx
+text/rtf
+text/scriptlet sct wsc
+text/t140
+text/texmacs tm ts
+text/tab-separated-values tsv
+text/uri-list
+text/vnd.abc
+text/vnd.curl
+text/vnd.DMClientScript
+text/vnd.flatland.3dml
+text/vnd.fly
+text/vnd.fmi.flexstor
+text/vnd.in3d.3dml
+text/vnd.in3d.spot
+text/vnd.IPTC.NewsML
+text/vnd.IPTC.NITF
+text/vnd.latex-z
+text/vnd.motorola.reflex
+text/vnd.ms-mediapackage
+text/vnd.sun.j2me.app-descriptor jad
+text/vnd.wap.si
+text/vnd.wap.sl
+text/vnd.wap.wml wml
+text/vnd.wap.wmlscript wmls
+text/x-bibtex bib
+text/x-boo boo
+text/x-c++hdr h++ hpp hxx hh
+text/x-c++src c++ cpp cxx cc
+text/x-chdr h
+text/x-component htc
+text/x-crontab
+text/x-csh csh
+text/x-csrc c
+text/x-dsrc d
+text/x-diff diff patch
+text/x-haskell hs
+text/x-java java
+text/x-literate-haskell lhs
+text/x-makefile
+text/x-moc moc
+text/x-pascal p pas
+text/x-pcs-gcd gcd
+text/x-perl pl pm
+text/x-python py
+text/x-scala scala
+text/x-server-parsed-html
+text/x-setext etx
+text/x-sh sh
+text/x-tcl tcl tk
+text/x-tex tex ltx sty cls
+text/x-vcalendar vcs
+text/x-vcard vcf
+
+video/3gpp 3gp
+video/annodex axv
+video/dl dl
+video/dv dif dv
+video/fli fli
+video/gl gl
+video/mpeg mpeg mpg mpe
+video/mp4 mp4
+video/quicktime qt mov
+video/mp4v-es
+video/ogg ogv
+video/parityfec
+video/pointer
+video/vnd.fvt
+video/vnd.motorola.video
+video/vnd.motorola.videop
+video/vnd.mpegurl mxu
+video/vnd.mts
+video/vnd.nokia.interleaved-multimedia
+video/vnd.vivo
+video/x-flv flv
+video/x-la-asf lsf lsx
+video/x-mng mng
+video/x-ms-asf asf asx
+video/x-ms-wm wm
+video/x-ms-wmv wmv
+video/x-ms-wmx wmx
+video/x-ms-wvx wvx
+video/x-msvideo avi
+video/x-sgi-movie movie
+video/x-matroska mpv mkv
+
+x-conference/x-cooltalk ice
+
+x-epoc/x-sisx-app sisx
+x-world/x-vrml vrm vrml wrl
15 years, 9 months
JBoss Rich Faces SVN: r18502 - trunk/cdk/parent.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2010-08-09 07:31:12 -0400 (Mon, 09 Aug 2010)
New Revision: 18502
Modified:
trunk/cdk/parent/pom.xml
Log:
Removed duplicate checkstyle configuration in CDK parent/pom.xml
Modified: trunk/cdk/parent/pom.xml
===================================================================
--- trunk/cdk/parent/pom.xml 2010-08-09 10:30:37 UTC (rev 18501)
+++ trunk/cdk/parent/pom.xml 2010-08-09 11:31:12 UTC (rev 18502)
@@ -116,7 +116,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
- <version>2.3</version>
<dependencies>
<dependency>
<groupId>org.richfaces</groupId>
@@ -124,21 +123,6 @@
<version>${richfaces.checkstyle.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>
<plugin>
<groupId>org.apache.camel</groupId>
@@ -175,7 +159,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
- <version>2.3</version>
+ <version>2.5</version>
<configuration>
<configLocation>richfaces-checkstyle/richfaces-checkstyle.xml
</configLocation>
15 years, 9 months
JBoss Rich Faces SVN: r18501 - in trunk/ui/misc: dist and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: Alex.Kolonitsky
Date: 2010-08-09 06:30:37 -0400 (Mon, 09 Aug 2010)
New Revision: 18501
Added:
trunk/ui/misc/ui/
Removed:
trunk/ui/misc/componentcontrol/
trunk/ui/misc/dist/richfaces-ui-misc-ui/
trunk/ui/misc/functions/
trunk/ui/misc/jquery/
Log:
Richfaces 4.0 restructurization of svn repository structure
Copied: trunk/ui/misc/ui (from rev 18500, trunk/ui/misc/dist/richfaces-ui-misc-ui)
15 years, 9 months
JBoss Rich Faces SVN: r18500 - in trunk/ui/misc: dist/richfaces-ui-misc-ui/src/main and 4 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: Alex.Kolonitsky
Date: 2010-08-09 06:16:38 -0400 (Mon, 09 Aug 2010)
New Revision: 18500
Added:
trunk/ui/misc/dist/richfaces-ui-misc-ui/pom-jquery.xml
trunk/ui/misc/dist/richfaces-ui-misc-ui/src/main/resources/META-INF/resources/org.richfaces/
trunk/ui/misc/dist/richfaces-ui-misc-ui/src/main/templates/
Removed:
trunk/ui/misc/jquery/pom.xml
trunk/ui/misc/jquery/src/main/resources/META-INF/resources/org.richfaces/
trunk/ui/misc/jquery/src/main/templates/
Log:
Richfaces 4.0 restructurization of svn repository structure
Copied: trunk/ui/misc/dist/richfaces-ui-misc-ui/pom-jquery.xml (from rev 18499, trunk/ui/misc/jquery/pom.xml)
===================================================================
--- trunk/ui/misc/dist/richfaces-ui-misc-ui/pom-jquery.xml (rev 0)
+++ trunk/ui/misc/dist/richfaces-ui-misc-ui/pom-jquery.xml 2010-08-09 10:16:38 UTC (rev 18500)
@@ -0,0 +1,127 @@
+<!--
+ JBoss, Home of Professional Open Source Copyright 2010, 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.
+-->
+
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
+ <parent>
+ <groupId>org.richfaces.ui.misc</groupId>
+ <artifactId>richfaces-ui-misc-parent</artifactId>
+ <version>4.0.0-SNAPSHOT</version>
+ <relativePath>../parent/pom.xml</relativePath>
+ </parent>
+
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.richfaces.ui.misc</groupId>
+ <artifactId>jquery-ui</artifactId>
+ <name>Richfaces UI Components: jQuery Component UI</name>
+ <packaging>jar</packaging>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.richfaces.cdk</groupId>
+ <artifactId>maven-cdk-plugin</artifactId>
+ </plugin>
+ </plugins>
+ </build>
+
+ <dependencies>
+ <!-- runtime -->
+ <dependency>
+ <groupId>org.richfaces.core</groupId>
+ <artifactId>richfaces-core-api</artifactId>
+ </dependency>
+ <dependency>
+ <!-- todo remove this dependency or move to test scope -->
+ <groupId>org.richfaces.core</groupId>
+ <artifactId>richfaces-core-impl</artifactId>
+ </dependency>
+
+ <dependency>
+ <groupId>org.richfaces.cdk</groupId>
+ <artifactId>annotations</artifactId>
+ <scope>provided</scope>
+ </dependency>
+
+ <!-- JSF with dependencies -->
+ <dependency>
+ <groupId>${jsf2.api.groupid}</groupId>
+ <artifactId>${jsf2.api.artifactid}</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>javax.servlet</groupId>
+ <artifactId>servlet-api</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>javax.servlet.jsp</groupId>
+ <artifactId>jsp-api</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>javax.el</groupId>
+ <artifactId>el-api</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>javax.servlet</groupId>
+ <artifactId>jstl</artifactId>
+ <scope>provided</scope>
+ </dependency>
+
+ <!-- tests -->
+ <dependency>
+ <groupId>${jsf2.impl.groupid}</groupId>
+ <artifactId>${jsf2.impl.artifactid}</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <!-- todo api? -->
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-log4j12</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.test-jsf</groupId>
+ <artifactId>jsf-test-stage</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.test-jsf</groupId>
+ <artifactId>htmlunit-client</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.test-jsf</groupId>
+ <artifactId>jsf-mock</artifactId>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+
+ <scm>
+ <connection>scm:svn:http://anonsvn.jboss.org/repos/richfaces/trunk/ui/misc/jquery</connection>
+ <developerConnection>scm:svn:https://svn.jboss.org/repos/richfaces/trunk/ui/misc/jquery</developerConnection>
+ <url>http://fisheye.jboss.org/browse/richfaces/</url>
+ </scm>
+</project>
\ No newline at end of file
Copied: trunk/ui/misc/dist/richfaces-ui-misc-ui/src/main/resources/META-INF/resources/org.richfaces (from rev 18499, trunk/ui/misc/jquery/src/main/resources/META-INF/resources/org.richfaces)
Copied: trunk/ui/misc/dist/richfaces-ui-misc-ui/src/main/templates (from rev 18499, trunk/ui/misc/jquery/src/main/templates)
Deleted: trunk/ui/misc/jquery/pom.xml
===================================================================
--- trunk/ui/misc/jquery/pom.xml 2010-08-09 09:36:20 UTC (rev 18499)
+++ trunk/ui/misc/jquery/pom.xml 2010-08-09 10:16:38 UTC (rev 18500)
@@ -1,127 +0,0 @@
-<!--
- JBoss, Home of Professional Open Source Copyright 2010, 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.
--->
-
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
-
- <parent>
- <groupId>org.richfaces.ui.misc</groupId>
- <artifactId>richfaces-ui-misc-parent</artifactId>
- <version>4.0.0-SNAPSHOT</version>
- <relativePath>../parent/pom.xml</relativePath>
- </parent>
-
- <modelVersion>4.0.0</modelVersion>
- <groupId>org.richfaces.ui.misc</groupId>
- <artifactId>jquery-ui</artifactId>
- <name>Richfaces UI Components: jQuery Component UI</name>
- <packaging>jar</packaging>
- <build>
- <plugins>
- <plugin>
- <groupId>org.richfaces.cdk</groupId>
- <artifactId>maven-cdk-plugin</artifactId>
- </plugin>
- </plugins>
- </build>
-
- <dependencies>
- <!-- runtime -->
- <dependency>
- <groupId>org.richfaces.core</groupId>
- <artifactId>richfaces-core-api</artifactId>
- </dependency>
- <dependency>
- <!-- todo remove this dependency or move to test scope -->
- <groupId>org.richfaces.core</groupId>
- <artifactId>richfaces-core-impl</artifactId>
- </dependency>
-
- <dependency>
- <groupId>org.richfaces.cdk</groupId>
- <artifactId>annotations</artifactId>
- <scope>provided</scope>
- </dependency>
-
- <!-- JSF with dependencies -->
- <dependency>
- <groupId>${jsf2.api.groupid}</groupId>
- <artifactId>${jsf2.api.artifactid}</artifactId>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>javax.servlet</groupId>
- <artifactId>servlet-api</artifactId>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>javax.servlet.jsp</groupId>
- <artifactId>jsp-api</artifactId>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>javax.el</groupId>
- <artifactId>el-api</artifactId>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>javax.servlet</groupId>
- <artifactId>jstl</artifactId>
- <scope>provided</scope>
- </dependency>
-
- <!-- tests -->
- <dependency>
- <groupId>${jsf2.impl.groupid}</groupId>
- <artifactId>${jsf2.impl.artifactid}</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <!-- todo api? -->
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-log4j12</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.jboss.test-jsf</groupId>
- <artifactId>jsf-test-stage</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.jboss.test-jsf</groupId>
- <artifactId>htmlunit-client</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.jboss.test-jsf</groupId>
- <artifactId>jsf-mock</artifactId>
- <scope>test</scope>
- </dependency>
- </dependencies>
-
- <scm>
- <connection>scm:svn:http://anonsvn.jboss.org/repos/richfaces/trunk/ui/misc/jquery</connection>
- <developerConnection>scm:svn:https://svn.jboss.org/repos/richfaces/trunk/ui/misc/jquery</developerConnection>
- <url>http://fisheye.jboss.org/browse/richfaces/</url>
- </scm>
-</project>
\ No newline at end of file
15 years, 9 months