Author: alexsmirnov
Date: 2007-07-03 18:03:50 -0400 (Tue, 03 Jul 2007)
New Revision: 1454
Added:
trunk/framework/api/src/main/java/org/ajax4jsf/application/AjaxSingleException.java
trunk/framework/api/src/main/java/org/ajax4jsf/context/ViewIdHolder.java
trunk/framework/api/src/main/java/org/ajax4jsf/event/AjaxActionEvent.java
trunk/framework/api/src/main/java/org/ajax4jsf/event/AjaxEvent.java
trunk/framework/api/src/main/java/org/ajax4jsf/event/AjaxListener.java
trunk/framework/api/src/main/java/org/ajax4jsf/event/AjaxRenderEvent.java
trunk/framework/api/src/main/java/org/ajax4jsf/event/AjaxRenderListener.java
trunk/framework/api/src/main/java/org/ajax4jsf/event/AjaxSingleEvent.java
trunk/framework/api/src/main/java/org/ajax4jsf/event/AjaxSource.java
trunk/framework/api/src/main/java/org/richfaces/event/AjaxSelectedEvent.java
trunk/framework/api/src/main/java/org/richfaces/event/NodeExpandedEvent.java
trunk/framework/api/src/main/java/org/richfaces/event/NodeExpandedListener.java
trunk/framework/api/src/main/java/org/richfaces/event/NodeSelectedEvent.java
trunk/framework/api/src/main/java/org/richfaces/event/NodeSelectedListener.java
Removed:
trunk/framework/api/src/main/java/org/ajax4jsf/framework/ajax/AjaxActionEvent.java
trunk/framework/api/src/main/java/org/ajax4jsf/framework/ajax/AjaxEvent.java
trunk/framework/api/src/main/java/org/ajax4jsf/framework/ajax/AjaxListener.java
trunk/framework/api/src/main/java/org/ajax4jsf/framework/ajax/AjaxRenderEvent.java
trunk/framework/api/src/main/java/org/ajax4jsf/framework/ajax/AjaxRenderListener.java
trunk/framework/api/src/main/java/org/ajax4jsf/framework/ajax/AjaxSingleEvent.java
trunk/framework/api/src/main/java/org/ajax4jsf/framework/ajax/AjaxSingleException.java
trunk/framework/api/src/main/java/org/ajax4jsf/framework/ajax/AjaxSource.java
trunk/framework/api/src/main/java/org/ajax4jsf/framework/ajax/ViewIdHolder.java
trunk/framework/api/src/main/java/org/richfaces/component/events/AjaxSelectedEvent.java
trunk/framework/api/src/main/java/org/richfaces/component/events/NodeExpandedEvent.java
trunk/framework/api/src/main/java/org/richfaces/component/events/NodeExpandedListener.java
trunk/framework/api/src/main/java/org/richfaces/component/events/NodeSelectedEvent.java
trunk/framework/api/src/main/java/org/richfaces/component/events/NodeSelectedListener.java
Modified:
trunk/framework/api/src/main/java/org/ajax4jsf/component/AjaxContainer.java
trunk/framework/api/src/main/java/org/ajax4jsf/context/AjaxContext.java
trunk/framework/api/src/main/java/org/richfaces/event/TreeListenerEventsProducer.java
trunk/framework/impl/src/main/java/org/ajax4jsf/component/AjaxActionComponent.java
trunk/framework/impl/src/main/java/org/ajax4jsf/component/AjaxInputComponent.java
trunk/framework/impl/src/main/java/org/ajax4jsf/framework/ajax/AjaxContextImpl.java
trunk/framework/impl/src/main/java/org/ajax4jsf/framework/ajax/AjaxListenerHelper.java
trunk/framework/impl/src/main/java/org/ajax4jsf/framework/ajax/AjaxRegionBrige.java
trunk/framework/impl/src/main/java/org/ajax4jsf/framework/ajax/AjaxViewHandler.java
trunk/framework/impl/src/main/java/org/ajax4jsf/framework/ajax/AjaxViewRoot.java
trunk/framework/impl/src/main/java/org/ajax4jsf/framework/renderer/AjaxContainerRenderer.java
trunk/ui/core/src/main/java/org/ajax4jsf/ajax/ForceRender.java
trunk/ui/core/src/main/java/org/ajax4jsf/ajax/UIAjaxForm.java
trunk/ui/core/src/main/java/org/ajax4jsf/ajax/UIAjaxRegion.java
trunk/ui/core/src/main/java/org/ajax4jsf/ajax/UIInclude.java
trunk/ui/core/src/main/java/org/ajax4jsf/renderkit/AjaxCommandRendererBase.java
trunk/ui/core/src/main/java/org/ajax4jsf/renderkit/html/AjaxFormRenderer.java
trunk/ui/core/src/main/java/org/ajax4jsf/taglib/html/facelets/AjaxListenerHandler.java
trunk/ui/core/src/main/java/org/ajax4jsf/taglib/html/jsp/AjaxListenerTag.java
trunk/ui/core/src/main/java/org/ajax4jsf/taglib/html/jsp/AjaxRegionTag.java
trunk/ui/drag-drop/src/main/java/org/richfaces/component/UIDragSupport.java
trunk/ui/drag-drop/src/main/java/org/richfaces/component/UIDropSupport.java
trunk/ui/menu-components/src/main/java/org/richfaces/component/UIMenuItem.java
trunk/ui/simpleTogglePanel/src/main/java/org/richfaces/component/UISimpleTogglePanel.java
trunk/ui/suggestionbox/src/main/java/org/richfaces/component/AjaxSuggestionEvent.java
trunk/ui/suggestionbox/src/main/java/org/richfaces/component/UISuggestionBox.java
trunk/ui/tabPanel/src/main/java/org/richfaces/component/UITab.java
trunk/ui/tabPanel/src/main/java/org/richfaces/renderkit/TabPanelRendererBase.java
trunk/ui/togglePanel/src/main/java/org/richfaces/component/UIToggleControl.java
trunk/ui/tree/src/main/java/org/richfaces/component/TreeListenersTagHandler.java
trunk/ui/tree/src/main/java/org/richfaces/component/UITree.java
trunk/ui/tree/src/main/java/org/richfaces/component/UITreeNode.java
trunk/ui/tree/src/main/java/org/richfaces/component/events/TreeEvents.java
trunk/ui/tree/src/main/java/org/richfaces/renderkit/NodeRendererBase.java
trunk/ui/tree/src/main/java/org/richfaces/taglib/TreeListenersTagHandler.java
trunk/ui/tree/src/test/java/org/richfaces/component/TreeComponentTest.java
trunk/ui/tree/src/test/java/org/richfaces/component/events/TreeEventsListenersTest.java
trunk/ui/tree/src/test/java/org/richfaces/component/events/TreeEventsTest.java
Log:
packages and classes refactor
Copied:
trunk/framework/api/src/main/java/org/ajax4jsf/application/AjaxSingleException.java (from
rev 1451,
trunk/framework/api/src/main/java/org/ajax4jsf/framework/ajax/AjaxSingleException.java)
===================================================================
--- trunk/framework/api/src/main/java/org/ajax4jsf/application/AjaxSingleException.java
(rev 0)
+++
trunk/framework/api/src/main/java/org/ajax4jsf/application/AjaxSingleException.java 2007-07-03
22:03:50 UTC (rev 1454)
@@ -0,0 +1,31 @@
+/**
+ *
+ */
+package org.ajax4jsf.application;
+
+import javax.faces.component.UIComponent;
+
+/**
+ * @author asmirnov
+ *
+ */
+public class AjaxSingleException extends RuntimeException {
+
+ private UIComponent component;
+
+ /**
+ * @param component
+ */
+ public AjaxSingleException(UIComponent componemt) {
+// super();
+ this.component = componemt;
+ }
+
+ /**
+ * @return the component
+ */
+ public UIComponent getComponent() {
+ return component;
+ }
+
+}
Modified: trunk/framework/api/src/main/java/org/ajax4jsf/component/AjaxContainer.java
===================================================================
--- trunk/framework/api/src/main/java/org/ajax4jsf/component/AjaxContainer.java 2007-07-03
21:59:20 UTC (rev 1453)
+++ trunk/framework/api/src/main/java/org/ajax4jsf/component/AjaxContainer.java 2007-07-03
22:03:50 UTC (rev 1454)
@@ -25,7 +25,7 @@
import javax.faces.context.FacesContext;
-import org.ajax4jsf.framework.ajax.AjaxSource;
+import org.ajax4jsf.event.AjaxSource;
/**
Modified: trunk/framework/api/src/main/java/org/ajax4jsf/context/AjaxContext.java
===================================================================
--- trunk/framework/api/src/main/java/org/ajax4jsf/context/AjaxContext.java 2007-07-03
21:59:20 UTC (rev 1453)
+++ trunk/framework/api/src/main/java/org/ajax4jsf/context/AjaxContext.java 2007-07-03
22:03:50 UTC (rev 1454)
@@ -9,7 +9,6 @@
import javax.faces.context.FacesContext;
import javax.faces.el.VariableResolver;
-import org.ajax4jsf.framework.ajax.ViewIdHolder;
public abstract class AjaxContext {
Copied: trunk/framework/api/src/main/java/org/ajax4jsf/context/ViewIdHolder.java (from rev
1451, trunk/framework/api/src/main/java/org/ajax4jsf/framework/ajax/ViewIdHolder.java)
===================================================================
--- trunk/framework/api/src/main/java/org/ajax4jsf/context/ViewIdHolder.java
(rev 0)
+++ trunk/framework/api/src/main/java/org/ajax4jsf/context/ViewIdHolder.java 2007-07-03
22:03:50 UTC (rev 1454)
@@ -0,0 +1,37 @@
+/**
+ * License Agreement.
+ *
+ * Ajax4jsf 1.1 - Natural Ajax for Java Server Faces (JSF)
+ *
+ * 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.ajax4jsf.context;
+
+/**
+ * Interface to skip navigation cases in ViewHandler and , instead, store new ViewId.
+ * @author shura
+ *
+ */
+public interface ViewIdHolder {
+
+ public boolean skipNavigation(String ViewId);
+
+ public String getViewId();
+
+ public void setViewId(String newViewId);
+
+}
Copied: trunk/framework/api/src/main/java/org/ajax4jsf/event/AjaxActionEvent.java (from
rev 1451,
trunk/framework/api/src/main/java/org/ajax4jsf/framework/ajax/AjaxActionEvent.java)
===================================================================
--- trunk/framework/api/src/main/java/org/ajax4jsf/event/AjaxActionEvent.java
(rev 0)
+++ trunk/framework/api/src/main/java/org/ajax4jsf/event/AjaxActionEvent.java 2007-07-03
22:03:50 UTC (rev 1454)
@@ -0,0 +1,48 @@
+/**
+ * License Agreement.
+ *
+ * Ajax4jsf 1.1 - Natural Ajax for Java Server Faces (JSF)
+ *
+ * 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.ajax4jsf.event;
+
+import javax.faces.component.UIComponent;
+import javax.faces.event.ActionEvent;
+
+/**
+ * @author shura (latest modification by $Author: alexsmirnov $)
+ * @version $Revision: 1.1.2.1 $ $Date: 2007/01/09 18:57:34 $
+ *
+ */
+public class AjaxActionEvent extends ActionEvent {
+
+
+ /**
+ *
+ */
+ private static final long serialVersionUID = -5406101936114574903L;
+
+ /**
+ * @param component
+ */
+ public AjaxActionEvent(UIComponent component) {
+ super(component);
+ // TODO Auto-generated constructor stub
+ }
+
+}
Copied: trunk/framework/api/src/main/java/org/ajax4jsf/event/AjaxEvent.java (from rev
1451, trunk/framework/api/src/main/java/org/ajax4jsf/framework/ajax/AjaxEvent.java)
===================================================================
--- trunk/framework/api/src/main/java/org/ajax4jsf/event/AjaxEvent.java
(rev 0)
+++ trunk/framework/api/src/main/java/org/ajax4jsf/event/AjaxEvent.java 2007-07-03
22:03:50 UTC (rev 1454)
@@ -0,0 +1,69 @@
+/**
+ * License Agreement.
+ *
+ * Ajax4jsf 1.1 - Natural Ajax for Java Server Faces (JSF)
+ *
+ * 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.ajax4jsf.event;
+
+import javax.faces.component.UIComponent;
+import javax.faces.event.FacesEvent;
+import javax.faces.event.FacesListener;
+import javax.faces.event.PhaseId;
+
+/**
+ * @author shura (latest modification by $Author: alexsmirnov $)
+ * @version $Revision: 1.1.2.1 $ $Date: 2007/01/09 18:57:33 $
+ *
+ * Event for send by <code>AjaxContainer</code> in case of Ajax Request.
+ * Used for build set of id's to render at current request, perform special render
etc.
+ */
+public class AjaxEvent extends FacesEvent {
+
+ /**
+ *
+ */
+ private static final long serialVersionUID = -5624716710738446159L;
+
+ /**
+ * @param component
+ */
+ public AjaxEvent(UIComponent component) {
+ super(component);
+ setPhaseId(PhaseId.RENDER_RESPONSE);
+ }
+
+ /*
+ * (non-Javadoc)
+ *
+ * @see
javax.faces.event.FacesEvent#isAppropriateListener(javax.faces.event.FacesListener)
+ */
+ public boolean isAppropriateListener(FacesListener listener) {
+ return (listener instanceof AjaxListener);
+ }
+
+ /*
+ * (non-Javadoc)
+ *
+ * @see
javax.faces.event.FacesEvent#processListener(javax.faces.event.FacesListener)
+ */
+ public void processListener(FacesListener listener) {
+ ((AjaxListener) listener).processAjax(this);
+ }
+
+}
Copied: trunk/framework/api/src/main/java/org/ajax4jsf/event/AjaxListener.java (from rev
1451, trunk/framework/api/src/main/java/org/ajax4jsf/framework/ajax/AjaxListener.java)
===================================================================
--- trunk/framework/api/src/main/java/org/ajax4jsf/event/AjaxListener.java
(rev 0)
+++ trunk/framework/api/src/main/java/org/ajax4jsf/event/AjaxListener.java 2007-07-03
22:03:50 UTC (rev 1454)
@@ -0,0 +1,40 @@
+/**
+ * License Agreement.
+ *
+ * Ajax4jsf 1.1 - Natural Ajax for Java Server Faces (JSF)
+ *
+ * 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.ajax4jsf.event;
+
+import javax.faces.event.FacesListener;
+
+/**
+ * Base interface for all listeners, capable for receive
<code>AjaxEvent</code>
+ * @author shura (latest modification by $Author: alexsmirnov $)
+ * @version $Revision: 1.1.2.1 $ $Date: 2007/01/09 18:57:36 $
+ */
+public interface AjaxListener extends FacesListener {
+
+ public static final Class[] AJAX_LISTENER_ARGS = { AjaxEvent.class };
+
+ /**
+ * @param event - to process
+ */
+ void processAjax(AjaxEvent event);
+
+}
Copied: trunk/framework/api/src/main/java/org/ajax4jsf/event/AjaxRenderEvent.java (from
rev 1451,
trunk/framework/api/src/main/java/org/ajax4jsf/framework/ajax/AjaxRenderEvent.java)
===================================================================
--- trunk/framework/api/src/main/java/org/ajax4jsf/event/AjaxRenderEvent.java
(rev 0)
+++ trunk/framework/api/src/main/java/org/ajax4jsf/event/AjaxRenderEvent.java 2007-07-03
22:03:50 UTC (rev 1454)
@@ -0,0 +1,65 @@
+/**
+ * License Agreement.
+ *
+ * Ajax4jsf 1.1 - Natural Ajax for Java Server Faces (JSF)
+ *
+ * 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.ajax4jsf.event;
+
+import javax.faces.component.UIComponent;
+import javax.faces.event.FacesEvent;
+import javax.faces.event.FacesListener;
+
+/**
+ * @author asmirnov(a)exadel.com (latest modification by $Author: alexsmirnov $)
+ * @version $Revision: 1.1.2.1 $ $Date: 2007/01/09 18:57:41 $
+ *
+ */
+public class AjaxRenderEvent extends FacesEvent {
+
+ /**
+ * @param component
+ */
+ public AjaxRenderEvent(UIComponent component) {
+ super(component);
+ }
+
+ public boolean isAppropriateListener(FacesListener listener) {
+ // TODO Auto-generated method stub
+ return listener instanceof AjaxRenderListener;
+ }
+
+ public void processListener(FacesListener listener) {
+ if (listener instanceof AjaxRenderListener) {
+ AjaxRenderListener renderListener = (AjaxRenderListener) listener;
+ renderListener.processAjaxRender(this);
+ }
+
+ }
+
+ /* (non-Javadoc)
+ * @see javax.faces.event.FacesEvent#getPhaseId()
+ */
+// public PhaseId getPhaseId() {
+// // TODO Auto-generated method stub
+// return PhaseId.INVOKE_APPLICATION;
+// }
+
+
+
+}
Copied: trunk/framework/api/src/main/java/org/ajax4jsf/event/AjaxRenderListener.java (from
rev 1451,
trunk/framework/api/src/main/java/org/ajax4jsf/framework/ajax/AjaxRenderListener.java)
===================================================================
--- trunk/framework/api/src/main/java/org/ajax4jsf/event/AjaxRenderListener.java
(rev 0)
+++
trunk/framework/api/src/main/java/org/ajax4jsf/event/AjaxRenderListener.java 2007-07-03
22:03:50 UTC (rev 1454)
@@ -0,0 +1,34 @@
+/**
+ * License Agreement.
+ *
+ * Ajax4jsf 1.1 - Natural Ajax for Java Server Faces (JSF)
+ *
+ * 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.ajax4jsf.event;
+
+import javax.faces.event.FacesListener;
+
+/**
+ * @author shura
+ *
+ */
+public interface AjaxRenderListener extends FacesListener {
+
+ public void processAjaxRender(AjaxRenderEvent event);
+
+}
Copied: trunk/framework/api/src/main/java/org/ajax4jsf/event/AjaxSingleEvent.java (from
rev 1451,
trunk/framework/api/src/main/java/org/ajax4jsf/framework/ajax/AjaxSingleEvent.java)
===================================================================
--- trunk/framework/api/src/main/java/org/ajax4jsf/event/AjaxSingleEvent.java
(rev 0)
+++ trunk/framework/api/src/main/java/org/ajax4jsf/event/AjaxSingleEvent.java 2007-07-03
22:03:50 UTC (rev 1454)
@@ -0,0 +1,40 @@
+/**
+ *
+ */
+package org.ajax4jsf.event;
+
+import javax.faces.component.UIComponent;
+import javax.faces.event.FacesEvent;
+import javax.faces.event.FacesListener;
+import javax.faces.event.PhaseId;
+
+/**
+ * @author asmirnov
+ *
+ */
+public class AjaxSingleEvent extends FacesEvent {
+
+ /**
+ * @param arg0
+ */
+ public AjaxSingleEvent(UIComponent arg0) {
+ super(arg0);
+ }
+
+ /* (non-Javadoc)
+ * @see
javax.faces.event.FacesEvent#isAppropriateListener(javax.faces.event.FacesListener)
+ */
+ public boolean isAppropriateListener(FacesListener arg0) {
+ return false;
+ }
+
+ /* (non-Javadoc)
+ * @see
javax.faces.event.FacesEvent#processListener(javax.faces.event.FacesListener)
+ */
+ public void processListener(FacesListener arg0) {
+ }
+
+ public PhaseId getPhaseId() {
+ return PhaseId.APPLY_REQUEST_VALUES;
+ }
+}
Copied: trunk/framework/api/src/main/java/org/ajax4jsf/event/AjaxSource.java (from rev
1451, trunk/framework/api/src/main/java/org/ajax4jsf/framework/ajax/AjaxSource.java)
===================================================================
--- trunk/framework/api/src/main/java/org/ajax4jsf/event/AjaxSource.java
(rev 0)
+++ trunk/framework/api/src/main/java/org/ajax4jsf/event/AjaxSource.java 2007-07-03
22:03:50 UTC (rev 1454)
@@ -0,0 +1,51 @@
+/**
+ * License Agreement.
+ *
+ * Ajax4jsf 1.1 - Natural Ajax for Java Server Faces (JSF)
+ *
+ * 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.ajax4jsf.event;
+
+/**
+ * Interface for all components capable to process {@link
org.ajax4jsf.event.AjaxEvent}'s
+ * @author shura
+ *
+ */
+public interface AjaxSource {
+ /**
+ * same as for ActionSource, but for AjaxListener
+ *
+ * @see
javax.faces.component.ActionSource#addActionListener(javax.faces.event.ActionListener)
+ */
+ public void addAjaxListener(AjaxListener listener);
+
+ /**
+ * same as for ActionSource, but for AjaxListener
+ *
+ * @see javax.faces.component.ActionSource#getActionListeners()
+ */
+ public AjaxListener[] getAjaxListeners();
+
+ /**
+ * same as for ActionSource, but for AjaxListener
+ * @see
javax.faces.component.ActionSource#removeActionListener(javax.faces.event.ActionListener)
+ */
+ public void removeAjaxListener(AjaxListener listener);
+
+
+}
Deleted:
trunk/framework/api/src/main/java/org/ajax4jsf/framework/ajax/AjaxActionEvent.java
===================================================================
---
trunk/framework/api/src/main/java/org/ajax4jsf/framework/ajax/AjaxActionEvent.java 2007-07-03
21:59:20 UTC (rev 1453)
+++
trunk/framework/api/src/main/java/org/ajax4jsf/framework/ajax/AjaxActionEvent.java 2007-07-03
22:03:50 UTC (rev 1454)
@@ -1,48 +0,0 @@
-/**
- * License Agreement.
- *
- * Ajax4jsf 1.1 - Natural Ajax for Java Server Faces (JSF)
- *
- * 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.ajax4jsf.framework.ajax;
-
-import javax.faces.component.UIComponent;
-import javax.faces.event.ActionEvent;
-
-/**
- * @author shura (latest modification by $Author: alexsmirnov $)
- * @version $Revision: 1.1.2.1 $ $Date: 2007/01/09 18:57:34 $
- *
- */
-public class AjaxActionEvent extends ActionEvent {
-
-
- /**
- *
- */
- private static final long serialVersionUID = -5406101936114574903L;
-
- /**
- * @param component
- */
- public AjaxActionEvent(UIComponent component) {
- super(component);
- // TODO Auto-generated constructor stub
- }
-
-}
Deleted: trunk/framework/api/src/main/java/org/ajax4jsf/framework/ajax/AjaxEvent.java
===================================================================
---
trunk/framework/api/src/main/java/org/ajax4jsf/framework/ajax/AjaxEvent.java 2007-07-03
21:59:20 UTC (rev 1453)
+++
trunk/framework/api/src/main/java/org/ajax4jsf/framework/ajax/AjaxEvent.java 2007-07-03
22:03:50 UTC (rev 1454)
@@ -1,69 +0,0 @@
-/**
- * License Agreement.
- *
- * Ajax4jsf 1.1 - Natural Ajax for Java Server Faces (JSF)
- *
- * 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.ajax4jsf.framework.ajax;
-
-import javax.faces.component.UIComponent;
-import javax.faces.event.FacesEvent;
-import javax.faces.event.FacesListener;
-import javax.faces.event.PhaseId;
-
-/**
- * @author shura (latest modification by $Author: alexsmirnov $)
- * @version $Revision: 1.1.2.1 $ $Date: 2007/01/09 18:57:33 $
- *
- * Event for send by <code>AjaxContainer</code> in case of Ajax Request.
- * Used for build set of id's to render at current request, perform special render
etc.
- */
-public class AjaxEvent extends FacesEvent {
-
- /**
- *
- */
- private static final long serialVersionUID = -5624716710738446159L;
-
- /**
- * @param component
- */
- public AjaxEvent(UIComponent component) {
- super(component);
- setPhaseId(PhaseId.RENDER_RESPONSE);
- }
-
- /*
- * (non-Javadoc)
- *
- * @see
javax.faces.event.FacesEvent#isAppropriateListener(javax.faces.event.FacesListener)
- */
- public boolean isAppropriateListener(FacesListener listener) {
- return (listener instanceof AjaxListener);
- }
-
- /*
- * (non-Javadoc)
- *
- * @see
javax.faces.event.FacesEvent#processListener(javax.faces.event.FacesListener)
- */
- public void processListener(FacesListener listener) {
- ((AjaxListener) listener).processAjax(this);
- }
-
-}
Deleted: trunk/framework/api/src/main/java/org/ajax4jsf/framework/ajax/AjaxListener.java
===================================================================
---
trunk/framework/api/src/main/java/org/ajax4jsf/framework/ajax/AjaxListener.java 2007-07-03
21:59:20 UTC (rev 1453)
+++
trunk/framework/api/src/main/java/org/ajax4jsf/framework/ajax/AjaxListener.java 2007-07-03
22:03:50 UTC (rev 1454)
@@ -1,40 +0,0 @@
-/**
- * License Agreement.
- *
- * Ajax4jsf 1.1 - Natural Ajax for Java Server Faces (JSF)
- *
- * 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.ajax4jsf.framework.ajax;
-
-import javax.faces.event.FacesListener;
-
-/**
- * Base interface for all listeners, capable for receive
<code>AjaxEvent</code>
- * @author shura (latest modification by $Author: alexsmirnov $)
- * @version $Revision: 1.1.2.1 $ $Date: 2007/01/09 18:57:36 $
- */
-public interface AjaxListener extends FacesListener {
-
- public static final Class[] AJAX_LISTENER_ARGS = { AjaxEvent.class };
-
- /**
- * @param event - to process
- */
- void processAjax(AjaxEvent event);
-
-}
Deleted:
trunk/framework/api/src/main/java/org/ajax4jsf/framework/ajax/AjaxRenderEvent.java
===================================================================
---
trunk/framework/api/src/main/java/org/ajax4jsf/framework/ajax/AjaxRenderEvent.java 2007-07-03
21:59:20 UTC (rev 1453)
+++
trunk/framework/api/src/main/java/org/ajax4jsf/framework/ajax/AjaxRenderEvent.java 2007-07-03
22:03:50 UTC (rev 1454)
@@ -1,65 +0,0 @@
-/**
- * License Agreement.
- *
- * Ajax4jsf 1.1 - Natural Ajax for Java Server Faces (JSF)
- *
- * 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.ajax4jsf.framework.ajax;
-
-import javax.faces.component.UIComponent;
-import javax.faces.event.FacesEvent;
-import javax.faces.event.FacesListener;
-
-/**
- * @author asmirnov(a)exadel.com (latest modification by $Author: alexsmirnov $)
- * @version $Revision: 1.1.2.1 $ $Date: 2007/01/09 18:57:41 $
- *
- */
-public class AjaxRenderEvent extends FacesEvent {
-
- /**
- * @param component
- */
- public AjaxRenderEvent(UIComponent component) {
- super(component);
- }
-
- public boolean isAppropriateListener(FacesListener listener) {
- // TODO Auto-generated method stub
- return listener instanceof AjaxRenderListener;
- }
-
- public void processListener(FacesListener listener) {
- if (listener instanceof AjaxRenderListener) {
- AjaxRenderListener renderListener = (AjaxRenderListener) listener;
- renderListener.processAjaxRender(this);
- }
-
- }
-
- /* (non-Javadoc)
- * @see javax.faces.event.FacesEvent#getPhaseId()
- */
-// public PhaseId getPhaseId() {
-// // TODO Auto-generated method stub
-// return PhaseId.INVOKE_APPLICATION;
-// }
-
-
-
-}
Deleted:
trunk/framework/api/src/main/java/org/ajax4jsf/framework/ajax/AjaxRenderListener.java
===================================================================
---
trunk/framework/api/src/main/java/org/ajax4jsf/framework/ajax/AjaxRenderListener.java 2007-07-03
21:59:20 UTC (rev 1453)
+++
trunk/framework/api/src/main/java/org/ajax4jsf/framework/ajax/AjaxRenderListener.java 2007-07-03
22:03:50 UTC (rev 1454)
@@ -1,34 +0,0 @@
-/**
- * License Agreement.
- *
- * Ajax4jsf 1.1 - Natural Ajax for Java Server Faces (JSF)
- *
- * 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.ajax4jsf.framework.ajax;
-
-import javax.faces.event.FacesListener;
-
-/**
- * @author shura
- *
- */
-public interface AjaxRenderListener extends FacesListener {
-
- public void processAjaxRender(AjaxRenderEvent event);
-
-}
Deleted:
trunk/framework/api/src/main/java/org/ajax4jsf/framework/ajax/AjaxSingleEvent.java
===================================================================
---
trunk/framework/api/src/main/java/org/ajax4jsf/framework/ajax/AjaxSingleEvent.java 2007-07-03
21:59:20 UTC (rev 1453)
+++
trunk/framework/api/src/main/java/org/ajax4jsf/framework/ajax/AjaxSingleEvent.java 2007-07-03
22:03:50 UTC (rev 1454)
@@ -1,40 +0,0 @@
-/**
- *
- */
-package org.ajax4jsf.framework.ajax;
-
-import javax.faces.component.UIComponent;
-import javax.faces.event.FacesEvent;
-import javax.faces.event.FacesListener;
-import javax.faces.event.PhaseId;
-
-/**
- * @author asmirnov
- *
- */
-public class AjaxSingleEvent extends FacesEvent {
-
- /**
- * @param arg0
- */
- public AjaxSingleEvent(UIComponent arg0) {
- super(arg0);
- }
-
- /* (non-Javadoc)
- * @see
javax.faces.event.FacesEvent#isAppropriateListener(javax.faces.event.FacesListener)
- */
- public boolean isAppropriateListener(FacesListener arg0) {
- return false;
- }
-
- /* (non-Javadoc)
- * @see
javax.faces.event.FacesEvent#processListener(javax.faces.event.FacesListener)
- */
- public void processListener(FacesListener arg0) {
- }
-
- public PhaseId getPhaseId() {
- return PhaseId.APPLY_REQUEST_VALUES;
- }
-}
Deleted:
trunk/framework/api/src/main/java/org/ajax4jsf/framework/ajax/AjaxSingleException.java
===================================================================
---
trunk/framework/api/src/main/java/org/ajax4jsf/framework/ajax/AjaxSingleException.java 2007-07-03
21:59:20 UTC (rev 1453)
+++
trunk/framework/api/src/main/java/org/ajax4jsf/framework/ajax/AjaxSingleException.java 2007-07-03
22:03:50 UTC (rev 1454)
@@ -1,31 +0,0 @@
-/**
- *
- */
-package org.ajax4jsf.framework.ajax;
-
-import javax.faces.component.UIComponent;
-
-/**
- * @author asmirnov
- *
- */
-public class AjaxSingleException extends RuntimeException {
-
- private UIComponent component;
-
- /**
- * @param component
- */
- public AjaxSingleException(UIComponent componemt) {
-// super();
- this.component = componemt;
- }
-
- /**
- * @return the component
- */
- public UIComponent getComponent() {
- return component;
- }
-
-}
Deleted: trunk/framework/api/src/main/java/org/ajax4jsf/framework/ajax/AjaxSource.java
===================================================================
---
trunk/framework/api/src/main/java/org/ajax4jsf/framework/ajax/AjaxSource.java 2007-07-03
21:59:20 UTC (rev 1453)
+++
trunk/framework/api/src/main/java/org/ajax4jsf/framework/ajax/AjaxSource.java 2007-07-03
22:03:50 UTC (rev 1454)
@@ -1,51 +0,0 @@
-/**
- * License Agreement.
- *
- * Ajax4jsf 1.1 - Natural Ajax for Java Server Faces (JSF)
- *
- * 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.ajax4jsf.framework.ajax;
-
-/**
- * Interface for all components capable to process {@link
org.ajax4jsf.framework.ajax.AjaxEvent}'s
- * @author shura
- *
- */
-public interface AjaxSource {
- /**
- * same as for ActionSource, but for AjaxListener
- *
- * @see
javax.faces.component.ActionSource#addActionListener(javax.faces.event.ActionListener)
- */
- public void addAjaxListener(AjaxListener listener);
-
- /**
- * same as for ActionSource, but for AjaxListener
- *
- * @see javax.faces.component.ActionSource#getActionListeners()
- */
- public AjaxListener[] getAjaxListeners();
-
- /**
- * same as for ActionSource, but for AjaxListener
- * @see
javax.faces.component.ActionSource#removeActionListener(javax.faces.event.ActionListener)
- */
- public void removeAjaxListener(AjaxListener listener);
-
-
-}
Deleted: trunk/framework/api/src/main/java/org/ajax4jsf/framework/ajax/ViewIdHolder.java
===================================================================
---
trunk/framework/api/src/main/java/org/ajax4jsf/framework/ajax/ViewIdHolder.java 2007-07-03
21:59:20 UTC (rev 1453)
+++
trunk/framework/api/src/main/java/org/ajax4jsf/framework/ajax/ViewIdHolder.java 2007-07-03
22:03:50 UTC (rev 1454)
@@ -1,37 +0,0 @@
-/**
- * License Agreement.
- *
- * Ajax4jsf 1.1 - Natural Ajax for Java Server Faces (JSF)
- *
- * 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.ajax4jsf.framework.ajax;
-
-/**
- * Interface to skip navigation cases in ViewHandler and , instead, store new ViewId.
- * @author shura
- *
- */
-public interface ViewIdHolder {
-
- public boolean skipNavigation(String ViewId);
-
- public String getViewId();
-
- public void setViewId(String newViewId);
-
-}
Deleted:
trunk/framework/api/src/main/java/org/richfaces/component/events/AjaxSelectedEvent.java
===================================================================
---
trunk/framework/api/src/main/java/org/richfaces/component/events/AjaxSelectedEvent.java 2007-07-03
21:59:20 UTC (rev 1453)
+++
trunk/framework/api/src/main/java/org/richfaces/component/events/AjaxSelectedEvent.java 2007-07-03
22:03:50 UTC (rev 1454)
@@ -1,41 +0,0 @@
-/**
- * License Agreement.
- *
- * JBoss RichFaces 3.0 - 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.events;
-
-import javax.faces.component.UIComponent;
-
-/**
- * @author Konstantin Mishin
- *
- */
-public class AjaxSelectedEvent extends NodeSelectedEvent {
-
- /**
- *
- */
- private static final long serialVersionUID = 1156974665865521208L;
-
- public AjaxSelectedEvent(UIComponent component) {
- super(component);
- }
-
-}
Deleted:
trunk/framework/api/src/main/java/org/richfaces/component/events/NodeExpandedEvent.java
===================================================================
---
trunk/framework/api/src/main/java/org/richfaces/component/events/NodeExpandedEvent.java 2007-07-03
21:59:20 UTC (rev 1453)
+++
trunk/framework/api/src/main/java/org/richfaces/component/events/NodeExpandedEvent.java 2007-07-03
22:03:50 UTC (rev 1454)
@@ -1,58 +0,0 @@
-/**
- * License Agreement.
- *
- * JBoss RichFaces 3.0 - 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.events;
-
-import javax.faces.component.UIComponent;
-import javax.faces.event.FacesEvent;
-import javax.faces.event.FacesListener;
-
-/**
- * @author Nick Belaevski - nbelaevski(a)exadel.com
- * created 27.11.2006
- *
- */
-public class NodeExpandedEvent extends FacesEvent {
-
- public NodeExpandedEvent(UIComponent component) {
- super(component);
- }
-
- /**
- *
- */
- private static final long serialVersionUID = 2620359072575831666L;
-
- /* (non-Javadoc)
- * @see
javax.faces.event.FacesEvent#isAppropriateListener(javax.faces.event.FacesListener)
- */
- public boolean isAppropriateListener(FacesListener listener) {
- return listener instanceof NodeExpandedListener;
- }
-
- /* (non-Javadoc)
- * @see javax.faces.event.FacesEvent#processListener(javax.faces.event.FacesListener)
- */
- public void processListener(FacesListener listener) {
- ((NodeExpandedListener) listener).processExpansion(this);
- }
-
-}
Deleted:
trunk/framework/api/src/main/java/org/richfaces/component/events/NodeExpandedListener.java
===================================================================
---
trunk/framework/api/src/main/java/org/richfaces/component/events/NodeExpandedListener.java 2007-07-03
21:59:20 UTC (rev 1453)
+++
trunk/framework/api/src/main/java/org/richfaces/component/events/NodeExpandedListener.java 2007-07-03
22:03:50 UTC (rev 1454)
@@ -1,34 +0,0 @@
-/**
- * License Agreement.
- *
- * JBoss RichFaces 3.0 - 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.events;
-
-import javax.faces.event.AbortProcessingException;
-import javax.faces.event.FacesListener;
-
-/**
- * @author Nick Belaevski - nbelaevski(a)exadel.com
- * created 27.11.2006
- *
- */
-public interface NodeExpandedListener extends FacesListener {
- public void processExpansion(NodeExpandedEvent nodeExpandedEvent) throws
AbortProcessingException;
-}
Deleted:
trunk/framework/api/src/main/java/org/richfaces/component/events/NodeSelectedEvent.java
===================================================================
---
trunk/framework/api/src/main/java/org/richfaces/component/events/NodeSelectedEvent.java 2007-07-03
21:59:20 UTC (rev 1453)
+++
trunk/framework/api/src/main/java/org/richfaces/component/events/NodeSelectedEvent.java 2007-07-03
22:03:50 UTC (rev 1454)
@@ -1,60 +0,0 @@
-/**
- * License Agreement.
- *
- * JBoss RichFaces 3.0 - 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.events;
-
-import javax.faces.component.UIComponent;
-import javax.faces.event.FacesEvent;
-import javax.faces.event.FacesListener;
-
-/**
- * @author Nick Belaevski - nbelaevski(a)exadel.com
- * created 27.11.2006
- *
- */
-public class NodeSelectedEvent extends FacesEvent {
-
- public NodeSelectedEvent(UIComponent component) {
- super(component);
- }
-
- /**
- *
- */
- private static final long serialVersionUID = -1292268859927735863L;
-
- /* (non-Javadoc)
- * @see
javax.faces.event.FacesEvent#isAppropriateListener(javax.faces.event.FacesListener)
- */
-
- public boolean isAppropriateListener(FacesListener listener) {
- return listener instanceof NodeSelectedListener;
- }
-
- /* (non-Javadoc)
- * @see javax.faces.event.FacesEvent#processListener(javax.faces.event.FacesListener)
- */
-
- public void processListener(FacesListener listener) {
- ((NodeSelectedListener) listener).processSelection(this);
- }
-
-}
Deleted:
trunk/framework/api/src/main/java/org/richfaces/component/events/NodeSelectedListener.java
===================================================================
---
trunk/framework/api/src/main/java/org/richfaces/component/events/NodeSelectedListener.java 2007-07-03
21:59:20 UTC (rev 1453)
+++
trunk/framework/api/src/main/java/org/richfaces/component/events/NodeSelectedListener.java 2007-07-03
22:03:50 UTC (rev 1454)
@@ -1,34 +0,0 @@
-/**
- * License Agreement.
- *
- * JBoss RichFaces 3.0 - 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.events;
-
-import javax.faces.event.AbortProcessingException;
-import javax.faces.event.FacesListener;
-
-/**
- * @author Nick Belaevski - nbelaevski(a)exadel.com
- * created 27.11.2006
- *
- */
-public interface NodeSelectedListener extends FacesListener {
- public void processSelection(NodeSelectedEvent nodeSelectedEvent) throws
AbortProcessingException;
-}
Copied: trunk/framework/api/src/main/java/org/richfaces/event/AjaxSelectedEvent.java (from
rev 1451,
trunk/framework/api/src/main/java/org/richfaces/component/events/AjaxSelectedEvent.java)
===================================================================
--- trunk/framework/api/src/main/java/org/richfaces/event/AjaxSelectedEvent.java
(rev 0)
+++
trunk/framework/api/src/main/java/org/richfaces/event/AjaxSelectedEvent.java 2007-07-03
22:03:50 UTC (rev 1454)
@@ -0,0 +1,41 @@
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces 3.0 - 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.event;
+
+import javax.faces.component.UIComponent;
+
+/**
+ * @author Konstantin Mishin
+ *
+ */
+public class AjaxSelectedEvent extends NodeSelectedEvent {
+
+ /**
+ *
+ */
+ private static final long serialVersionUID = 1156974665865521208L;
+
+ public AjaxSelectedEvent(UIComponent component) {
+ super(component);
+ }
+
+}
Copied: trunk/framework/api/src/main/java/org/richfaces/event/NodeExpandedEvent.java (from
rev 1451,
trunk/framework/api/src/main/java/org/richfaces/component/events/NodeExpandedEvent.java)
===================================================================
--- trunk/framework/api/src/main/java/org/richfaces/event/NodeExpandedEvent.java
(rev 0)
+++
trunk/framework/api/src/main/java/org/richfaces/event/NodeExpandedEvent.java 2007-07-03
22:03:50 UTC (rev 1454)
@@ -0,0 +1,58 @@
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces 3.0 - 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.event;
+
+import javax.faces.component.UIComponent;
+import javax.faces.event.FacesEvent;
+import javax.faces.event.FacesListener;
+
+/**
+ * @author Nick Belaevski - nbelaevski(a)exadel.com
+ * created 27.11.2006
+ *
+ */
+public class NodeExpandedEvent extends FacesEvent {
+
+ public NodeExpandedEvent(UIComponent component) {
+ super(component);
+ }
+
+ /**
+ *
+ */
+ private static final long serialVersionUID = 2620359072575831666L;
+
+ /* (non-Javadoc)
+ * @see
javax.faces.event.FacesEvent#isAppropriateListener(javax.faces.event.FacesListener)
+ */
+ public boolean isAppropriateListener(FacesListener listener) {
+ return listener instanceof NodeExpandedListener;
+ }
+
+ /* (non-Javadoc)
+ * @see javax.faces.event.FacesEvent#processListener(javax.faces.event.FacesListener)
+ */
+ public void processListener(FacesListener listener) {
+ ((NodeExpandedListener) listener).processExpansion(this);
+ }
+
+}
Copied: trunk/framework/api/src/main/java/org/richfaces/event/NodeExpandedListener.java
(from rev 1451,
trunk/framework/api/src/main/java/org/richfaces/component/events/NodeExpandedListener.java)
===================================================================
--- trunk/framework/api/src/main/java/org/richfaces/event/NodeExpandedListener.java
(rev 0)
+++
trunk/framework/api/src/main/java/org/richfaces/event/NodeExpandedListener.java 2007-07-03
22:03:50 UTC (rev 1454)
@@ -0,0 +1,34 @@
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces 3.0 - 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.event;
+
+import javax.faces.event.AbortProcessingException;
+import javax.faces.event.FacesListener;
+
+/**
+ * @author Nick Belaevski - nbelaevski(a)exadel.com
+ * created 27.11.2006
+ *
+ */
+public interface NodeExpandedListener extends FacesListener {
+ public void processExpansion(NodeExpandedEvent nodeExpandedEvent) throws
AbortProcessingException;
+}
Copied: trunk/framework/api/src/main/java/org/richfaces/event/NodeSelectedEvent.java (from
rev 1451,
trunk/framework/api/src/main/java/org/richfaces/component/events/NodeSelectedEvent.java)
===================================================================
--- trunk/framework/api/src/main/java/org/richfaces/event/NodeSelectedEvent.java
(rev 0)
+++
trunk/framework/api/src/main/java/org/richfaces/event/NodeSelectedEvent.java 2007-07-03
22:03:50 UTC (rev 1454)
@@ -0,0 +1,60 @@
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces 3.0 - 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.event;
+
+import javax.faces.component.UIComponent;
+import javax.faces.event.FacesEvent;
+import javax.faces.event.FacesListener;
+
+/**
+ * @author Nick Belaevski - nbelaevski(a)exadel.com
+ * created 27.11.2006
+ *
+ */
+public class NodeSelectedEvent extends FacesEvent {
+
+ public NodeSelectedEvent(UIComponent component) {
+ super(component);
+ }
+
+ /**
+ *
+ */
+ private static final long serialVersionUID = -1292268859927735863L;
+
+ /* (non-Javadoc)
+ * @see
javax.faces.event.FacesEvent#isAppropriateListener(javax.faces.event.FacesListener)
+ */
+
+ public boolean isAppropriateListener(FacesListener listener) {
+ return listener instanceof NodeSelectedListener;
+ }
+
+ /* (non-Javadoc)
+ * @see javax.faces.event.FacesEvent#processListener(javax.faces.event.FacesListener)
+ */
+
+ public void processListener(FacesListener listener) {
+ ((NodeSelectedListener) listener).processSelection(this);
+ }
+
+}
Copied: trunk/framework/api/src/main/java/org/richfaces/event/NodeSelectedListener.java
(from rev 1451,
trunk/framework/api/src/main/java/org/richfaces/component/events/NodeSelectedListener.java)
===================================================================
--- trunk/framework/api/src/main/java/org/richfaces/event/NodeSelectedListener.java
(rev 0)
+++
trunk/framework/api/src/main/java/org/richfaces/event/NodeSelectedListener.java 2007-07-03
22:03:50 UTC (rev 1454)
@@ -0,0 +1,34 @@
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces 3.0 - 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.event;
+
+import javax.faces.event.AbortProcessingException;
+import javax.faces.event.FacesListener;
+
+/**
+ * @author Nick Belaevski - nbelaevski(a)exadel.com
+ * created 27.11.2006
+ *
+ */
+public interface NodeSelectedListener extends FacesListener {
+ public void processSelection(NodeSelectedEvent nodeSelectedEvent) throws
AbortProcessingException;
+}
Modified:
trunk/framework/api/src/main/java/org/richfaces/event/TreeListenerEventsProducer.java
===================================================================
---
trunk/framework/api/src/main/java/org/richfaces/event/TreeListenerEventsProducer.java 2007-07-03
21:59:20 UTC (rev 1453)
+++
trunk/framework/api/src/main/java/org/richfaces/event/TreeListenerEventsProducer.java 2007-07-03
22:03:50 UTC (rev 1454)
@@ -23,8 +23,6 @@
import javax.faces.el.MethodBinding;
-import org.richfaces.component.events.NodeExpandedListener;
-import org.richfaces.component.events.NodeSelectedListener;
/**
* @author Nick Belaevski - nbelaevski(a)exadel.com
Modified:
trunk/framework/impl/src/main/java/org/ajax4jsf/component/AjaxActionComponent.java
===================================================================
---
trunk/framework/impl/src/main/java/org/ajax4jsf/component/AjaxActionComponent.java 2007-07-03
21:59:20 UTC (rev 1453)
+++
trunk/framework/impl/src/main/java/org/ajax4jsf/component/AjaxActionComponent.java 2007-07-03
22:03:50 UTC (rev 1454)
@@ -29,12 +29,12 @@
import javax.faces.event.FacesEvent;
import javax.faces.event.PhaseId;
+import org.ajax4jsf.application.AjaxSingleException;
import org.ajax4jsf.context.AjaxContext;
-import org.ajax4jsf.framework.ajax.AjaxEvent;
-import org.ajax4jsf.framework.ajax.AjaxListener;
-import org.ajax4jsf.framework.ajax.AjaxSingleEvent;
-import org.ajax4jsf.framework.ajax.AjaxSingleException;
-import org.ajax4jsf.framework.ajax.AjaxSource;
+import org.ajax4jsf.event.AjaxEvent;
+import org.ajax4jsf.event.AjaxListener;
+import org.ajax4jsf.event.AjaxSingleEvent;
+import org.ajax4jsf.event.AjaxSource;
/**
Modified:
trunk/framework/impl/src/main/java/org/ajax4jsf/component/AjaxInputComponent.java
===================================================================
---
trunk/framework/impl/src/main/java/org/ajax4jsf/component/AjaxInputComponent.java 2007-07-03
21:59:20 UTC (rev 1453)
+++
trunk/framework/impl/src/main/java/org/ajax4jsf/component/AjaxInputComponent.java 2007-07-03
22:03:50 UTC (rev 1454)
@@ -30,7 +30,7 @@
import javax.faces.event.PhaseId;
import org.ajax4jsf.context.AjaxContext;
-import org.ajax4jsf.framework.ajax.AjaxEvent;
+import org.ajax4jsf.event.AjaxEvent;
/**
Modified:
trunk/framework/impl/src/main/java/org/ajax4jsf/framework/ajax/AjaxContextImpl.java
===================================================================
---
trunk/framework/impl/src/main/java/org/ajax4jsf/framework/ajax/AjaxContextImpl.java 2007-07-03
21:59:20 UTC (rev 1453)
+++
trunk/framework/impl/src/main/java/org/ajax4jsf/framework/ajax/AjaxContextImpl.java 2007-07-03
22:03:50 UTC (rev 1454)
@@ -54,6 +54,7 @@
import org.ajax4jsf.component.AjaxContainer;
import org.ajax4jsf.context.AjaxContext;
+import org.ajax4jsf.context.ViewIdHolder;
import org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter;
import org.ajax4jsf.framework.ajax.xmlfilter.FilterServletResponseWrapper;
import org.ajax4jsf.framework.renderer.AjaxContainerRenderer;
Modified:
trunk/framework/impl/src/main/java/org/ajax4jsf/framework/ajax/AjaxListenerHelper.java
===================================================================
---
trunk/framework/impl/src/main/java/org/ajax4jsf/framework/ajax/AjaxListenerHelper.java 2007-07-03
21:59:20 UTC (rev 1453)
+++
trunk/framework/impl/src/main/java/org/ajax4jsf/framework/ajax/AjaxListenerHelper.java 2007-07-03
22:03:50 UTC (rev 1454)
@@ -28,6 +28,9 @@
import javax.faces.context.FacesContext;
import javax.faces.el.ValueBinding;
+import org.ajax4jsf.event.AjaxEvent;
+import org.ajax4jsf.event.AjaxListener;
+
/**
* Helper class to keep reference to listener binded as EL-expression.
* @author shura
Modified:
trunk/framework/impl/src/main/java/org/ajax4jsf/framework/ajax/AjaxRegionBrige.java
===================================================================
---
trunk/framework/impl/src/main/java/org/ajax4jsf/framework/ajax/AjaxRegionBrige.java 2007-07-03
21:59:20 UTC (rev 1453)
+++
trunk/framework/impl/src/main/java/org/ajax4jsf/framework/ajax/AjaxRegionBrige.java 2007-07-03
22:03:50 UTC (rev 1454)
@@ -33,6 +33,9 @@
import org.ajax4jsf.component.AjaxContainerBase;
import org.ajax4jsf.context.AjaxContext;
+import org.ajax4jsf.event.AjaxEvent;
+import org.ajax4jsf.event.AjaxListener;
+import org.ajax4jsf.event.AjaxRenderEvent;
import org.ajax4jsf.framework.util.message.Messages;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
Modified:
trunk/framework/impl/src/main/java/org/ajax4jsf/framework/ajax/AjaxViewHandler.java
===================================================================
---
trunk/framework/impl/src/main/java/org/ajax4jsf/framework/ajax/AjaxViewHandler.java 2007-07-03
21:59:20 UTC (rev 1453)
+++
trunk/framework/impl/src/main/java/org/ajax4jsf/framework/ajax/AjaxViewHandler.java 2007-07-03
22:03:50 UTC (rev 1454)
@@ -34,6 +34,7 @@
import org.ajax4jsf.application.ViewHandlerWrapper;
import org.ajax4jsf.context.AjaxContext;
+import org.ajax4jsf.context.ViewIdHolder;
import org.ajax4jsf.framework.renderer.AjaxContainerRenderer;
import org.ajax4jsf.framework.renderer.AjaxRendererUtils;
import org.ajax4jsf.framework.renderer.RendererUtils.HTML;
Modified:
trunk/framework/impl/src/main/java/org/ajax4jsf/framework/ajax/AjaxViewRoot.java
===================================================================
---
trunk/framework/impl/src/main/java/org/ajax4jsf/framework/ajax/AjaxViewRoot.java 2007-07-03
21:59:20 UTC (rev 1453)
+++
trunk/framework/impl/src/main/java/org/ajax4jsf/framework/ajax/AjaxViewRoot.java 2007-07-03
22:03:50 UTC (rev 1454)
@@ -32,8 +32,11 @@
import javax.faces.event.FacesEvent;
import javax.faces.event.PhaseId;
+import org.ajax4jsf.application.AjaxSingleException;
import org.ajax4jsf.component.AjaxContainer;
import org.ajax4jsf.context.AjaxContext;
+import org.ajax4jsf.context.ViewIdHolder;
+import org.ajax4jsf.event.AjaxListener;
import org.ajax4jsf.framework.renderer.AjaxContainerRenderer;
import org.ajax4jsf.framework.util.message.Messages;
import org.apache.commons.collections.Buffer;
Modified:
trunk/framework/impl/src/main/java/org/ajax4jsf/framework/renderer/AjaxContainerRenderer.java
===================================================================
---
trunk/framework/impl/src/main/java/org/ajax4jsf/framework/renderer/AjaxContainerRenderer.java 2007-07-03
21:59:20 UTC (rev 1453)
+++
trunk/framework/impl/src/main/java/org/ajax4jsf/framework/renderer/AjaxContainerRenderer.java 2007-07-03
22:03:50 UTC (rev 1454)
@@ -31,7 +31,7 @@
import org.ajax4jsf.component.AjaxContainer;
import org.ajax4jsf.context.AjaxContext;
-import org.ajax4jsf.framework.ajax.AjaxEvent;
+import org.ajax4jsf.event.AjaxEvent;
import org.ajax4jsf.framework.util.message.Messages;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
Modified: trunk/ui/core/src/main/java/org/ajax4jsf/ajax/ForceRender.java
===================================================================
--- trunk/ui/core/src/main/java/org/ajax4jsf/ajax/ForceRender.java 2007-07-03 21:59:20 UTC
(rev 1453)
+++ trunk/ui/core/src/main/java/org/ajax4jsf/ajax/ForceRender.java 2007-07-03 22:03:50 UTC
(rev 1454)
@@ -25,10 +25,10 @@
import javax.faces.context.FacesContext;
import org.ajax4jsf.context.AjaxContext;
-import org.ajax4jsf.framework.ajax.AjaxEvent;
-import org.ajax4jsf.framework.ajax.AjaxListener;
-import org.ajax4jsf.framework.ajax.AjaxRenderEvent;
-import org.ajax4jsf.framework.ajax.AjaxRenderListener;
+import org.ajax4jsf.event.AjaxEvent;
+import org.ajax4jsf.event.AjaxListener;
+import org.ajax4jsf.event.AjaxRenderEvent;
+import org.ajax4jsf.event.AjaxRenderListener;
/**
* @author shura
Modified: trunk/ui/core/src/main/java/org/ajax4jsf/ajax/UIAjaxForm.java
===================================================================
--- trunk/ui/core/src/main/java/org/ajax4jsf/ajax/UIAjaxForm.java 2007-07-03 21:59:20 UTC
(rev 1453)
+++ trunk/ui/core/src/main/java/org/ajax4jsf/ajax/UIAjaxForm.java 2007-07-03 22:03:50 UTC
(rev 1454)
@@ -31,9 +31,9 @@
import org.ajax4jsf.component.AjaxComponent;
import org.ajax4jsf.context.AjaxContext;
-import org.ajax4jsf.framework.ajax.AjaxEvent;
-import org.ajax4jsf.framework.ajax.AjaxListener;
-import org.ajax4jsf.framework.ajax.AjaxSource;
+import org.ajax4jsf.event.AjaxEvent;
+import org.ajax4jsf.event.AjaxListener;
+import org.ajax4jsf.event.AjaxSource;
import org.ajax4jsf.framework.renderer.AjaxRendererUtils;
Modified: trunk/ui/core/src/main/java/org/ajax4jsf/ajax/UIAjaxRegion.java
===================================================================
--- trunk/ui/core/src/main/java/org/ajax4jsf/ajax/UIAjaxRegion.java 2007-07-03 21:59:20
UTC (rev 1453)
+++ trunk/ui/core/src/main/java/org/ajax4jsf/ajax/UIAjaxRegion.java 2007-07-03 22:03:50
UTC (rev 1454)
@@ -36,8 +36,8 @@
import org.ajax4jsf.component.AjaxContainer;
import org.ajax4jsf.context.AjaxContext;
+import org.ajax4jsf.event.AjaxListener;
import org.ajax4jsf.framework.ajax.AjaxContextImpl;
-import org.ajax4jsf.framework.ajax.AjaxListener;
import org.ajax4jsf.framework.ajax.AjaxRegionBrige;
import org.ajax4jsf.framework.ajax.AjaxViewRoot;
import org.ajax4jsf.framework.ajax.InvokerCallback;
Modified: trunk/ui/core/src/main/java/org/ajax4jsf/ajax/UIInclude.java
===================================================================
--- trunk/ui/core/src/main/java/org/ajax4jsf/ajax/UIInclude.java 2007-07-03 21:59:20 UTC
(rev 1453)
+++ trunk/ui/core/src/main/java/org/ajax4jsf/ajax/UIInclude.java 2007-07-03 22:03:50 UTC
(rev 1454)
@@ -35,7 +35,7 @@
import org.ajax4jsf.component.AjaxOutput;
import org.ajax4jsf.context.AjaxContext;
-import org.ajax4jsf.framework.ajax.ViewIdHolder;
+import org.ajax4jsf.context.ViewIdHolder;
/**
* @author shura
Modified: trunk/ui/core/src/main/java/org/ajax4jsf/renderkit/AjaxCommandRendererBase.java
===================================================================
---
trunk/ui/core/src/main/java/org/ajax4jsf/renderkit/AjaxCommandRendererBase.java 2007-07-03
21:59:20 UTC (rev 1453)
+++
trunk/ui/core/src/main/java/org/ajax4jsf/renderkit/AjaxCommandRendererBase.java 2007-07-03
22:03:50 UTC (rev 1454)
@@ -31,7 +31,7 @@
import javax.faces.event.ActionEvent;
import org.ajax4jsf.context.AjaxContext;
-import org.ajax4jsf.framework.ajax.AjaxEvent;
+import org.ajax4jsf.event.AjaxEvent;
import org.ajax4jsf.framework.renderer.AjaxComponentRendererBase;
import org.ajax4jsf.framework.renderer.AjaxRendererUtils;
Modified: trunk/ui/core/src/main/java/org/ajax4jsf/renderkit/html/AjaxFormRenderer.java
===================================================================
---
trunk/ui/core/src/main/java/org/ajax4jsf/renderkit/html/AjaxFormRenderer.java 2007-07-03
21:59:20 UTC (rev 1453)
+++
trunk/ui/core/src/main/java/org/ajax4jsf/renderkit/html/AjaxFormRenderer.java 2007-07-03
22:03:50 UTC (rev 1454)
@@ -36,7 +36,7 @@
import javax.faces.context.ResponseWriter;
import org.ajax4jsf.ajax.UIAjaxForm;
-import org.ajax4jsf.framework.ajax.AjaxEvent;
+import org.ajax4jsf.event.AjaxEvent;
import org.ajax4jsf.framework.renderer.AjaxComponentRendererBase;
import org.ajax4jsf.framework.renderer.AjaxRendererUtils;
import org.ajax4jsf.framework.renderer.RendererUtils.HTML;
Modified:
trunk/ui/core/src/main/java/org/ajax4jsf/taglib/html/facelets/AjaxListenerHandler.java
===================================================================
---
trunk/ui/core/src/main/java/org/ajax4jsf/taglib/html/facelets/AjaxListenerHandler.java 2007-07-03
21:59:20 UTC (rev 1453)
+++
trunk/ui/core/src/main/java/org/ajax4jsf/taglib/html/facelets/AjaxListenerHandler.java 2007-07-03
22:03:50 UTC (rev 1454)
@@ -28,9 +28,9 @@
import javax.faces.FacesException;
import javax.faces.component.UIComponent;
-import org.ajax4jsf.framework.ajax.AjaxListener;
+import org.ajax4jsf.event.AjaxListener;
+import org.ajax4jsf.event.AjaxSource;
import org.ajax4jsf.framework.ajax.AjaxListenerHelper;
-import org.ajax4jsf.framework.ajax.AjaxSource;
import org.ajax4jsf.framework.util.message.Messages;
import com.sun.facelets.FaceletContext;
Modified: trunk/ui/core/src/main/java/org/ajax4jsf/taglib/html/jsp/AjaxListenerTag.java
===================================================================
---
trunk/ui/core/src/main/java/org/ajax4jsf/taglib/html/jsp/AjaxListenerTag.java 2007-07-03
21:59:20 UTC (rev 1453)
+++
trunk/ui/core/src/main/java/org/ajax4jsf/taglib/html/jsp/AjaxListenerTag.java 2007-07-03
22:03:50 UTC (rev 1454)
@@ -30,9 +30,9 @@
import javax.servlet.jsp.tagext.Tag;
import javax.servlet.jsp.tagext.TagSupport;
-import org.ajax4jsf.framework.ajax.AjaxListener;
+import org.ajax4jsf.event.AjaxListener;
+import org.ajax4jsf.event.AjaxSource;
import org.ajax4jsf.framework.ajax.AjaxListenerHelper;
-import org.ajax4jsf.framework.ajax.AjaxSource;
import org.ajax4jsf.framework.util.message.Messages;
Modified: trunk/ui/core/src/main/java/org/ajax4jsf/taglib/html/jsp/AjaxRegionTag.java
===================================================================
--- trunk/ui/core/src/main/java/org/ajax4jsf/taglib/html/jsp/AjaxRegionTag.java 2007-07-03
21:59:20 UTC (rev 1453)
+++ trunk/ui/core/src/main/java/org/ajax4jsf/taglib/html/jsp/AjaxRegionTag.java 2007-07-03
22:03:50 UTC (rev 1454)
@@ -26,7 +26,7 @@
import org.ajax4jsf.ajax.UIAjaxRegion;
import org.ajax4jsf.component.AjaxContainer;
-import org.ajax4jsf.framework.ajax.AjaxListener;
+import org.ajax4jsf.event.AjaxListener;
import org.ajax4jsf.framework.taglib.UIComponentTagBase;
import org.ajax4jsf.framework.util.message.Messages;
import org.ajax4jsf.renderkit.html.AjaxRegionRenderer;
Modified: trunk/ui/drag-drop/src/main/java/org/richfaces/component/UIDragSupport.java
===================================================================
--- trunk/ui/drag-drop/src/main/java/org/richfaces/component/UIDragSupport.java 2007-07-03
21:59:20 UTC (rev 1453)
+++ trunk/ui/drag-drop/src/main/java/org/richfaces/component/UIDragSupport.java 2007-07-03
22:03:50 UTC (rev 1454)
@@ -28,9 +28,9 @@
import javax.faces.event.PhaseId;
import org.ajax4jsf.component.AjaxActionComponent;
+import org.ajax4jsf.event.AjaxEvent;
import org.ajax4jsf.event.DragEvent;
import org.ajax4jsf.event.DragListener;
-import org.ajax4jsf.framework.ajax.AjaxEvent;
/**
* JSF component class
Modified: trunk/ui/drag-drop/src/main/java/org/richfaces/component/UIDropSupport.java
===================================================================
--- trunk/ui/drag-drop/src/main/java/org/richfaces/component/UIDropSupport.java 2007-07-03
21:59:20 UTC (rev 1453)
+++ trunk/ui/drag-drop/src/main/java/org/richfaces/component/UIDropSupport.java 2007-07-03
22:03:50 UTC (rev 1454)
@@ -28,9 +28,9 @@
import javax.faces.event.PhaseId;
import org.ajax4jsf.component.AjaxActionComponent;
+import org.ajax4jsf.event.AjaxEvent;
import org.ajax4jsf.event.DropEvent;
import org.ajax4jsf.event.DropListener;
-import org.ajax4jsf.framework.ajax.AjaxEvent;
/**
* JSF component class
Modified: trunk/ui/menu-components/src/main/java/org/richfaces/component/UIMenuItem.java
===================================================================
---
trunk/ui/menu-components/src/main/java/org/richfaces/component/UIMenuItem.java 2007-07-03
21:59:20 UTC (rev 1453)
+++
trunk/ui/menu-components/src/main/java/org/richfaces/component/UIMenuItem.java 2007-07-03
22:03:50 UTC (rev 1454)
@@ -25,7 +25,7 @@
import org.ajax4jsf.component.AjaxActionComponent;
import org.ajax4jsf.component.AjaxComponent;
-import org.ajax4jsf.framework.ajax.AjaxSource;
+import org.ajax4jsf.event.AjaxSource;
/**
Modified:
trunk/ui/simpleTogglePanel/src/main/java/org/richfaces/component/UISimpleTogglePanel.java
===================================================================
---
trunk/ui/simpleTogglePanel/src/main/java/org/richfaces/component/UISimpleTogglePanel.java 2007-07-03
21:59:20 UTC (rev 1453)
+++
trunk/ui/simpleTogglePanel/src/main/java/org/richfaces/component/UISimpleTogglePanel.java 2007-07-03
22:03:50 UTC (rev 1454)
@@ -23,7 +23,7 @@
import org.ajax4jsf.component.AjaxActionComponent;
import org.ajax4jsf.component.AjaxComponent;
-import org.ajax4jsf.framework.ajax.AjaxSource;
+import org.ajax4jsf.event.AjaxSource;
import javax.faces.component.ActionSource;
import javax.faces.el.ValueBinding;
Modified:
trunk/ui/suggestionbox/src/main/java/org/richfaces/component/AjaxSuggestionEvent.java
===================================================================
---
trunk/ui/suggestionbox/src/main/java/org/richfaces/component/AjaxSuggestionEvent.java 2007-07-03
21:59:20 UTC (rev 1453)
+++
trunk/ui/suggestionbox/src/main/java/org/richfaces/component/AjaxSuggestionEvent.java 2007-07-03
22:03:50 UTC (rev 1454)
@@ -21,7 +21,7 @@
package org.richfaces.component;
-import org.ajax4jsf.framework.ajax.AjaxEvent;
+import org.ajax4jsf.event.AjaxEvent;
import javax.faces.component.UIComponent;
Modified:
trunk/ui/suggestionbox/src/main/java/org/richfaces/component/UISuggestionBox.java
===================================================================
---
trunk/ui/suggestionbox/src/main/java/org/richfaces/component/UISuggestionBox.java 2007-07-03
21:59:20 UTC (rev 1453)
+++
trunk/ui/suggestionbox/src/main/java/org/richfaces/component/UISuggestionBox.java 2007-07-03
22:03:50 UTC (rev 1454)
@@ -23,9 +23,9 @@
import org.ajax4jsf.component.AjaxComponent;
import org.ajax4jsf.context.AjaxContext;
-import org.ajax4jsf.framework.ajax.AjaxEvent;
-import org.ajax4jsf.framework.ajax.AjaxListener;
-import org.ajax4jsf.framework.ajax.AjaxSource;
+import org.ajax4jsf.event.AjaxEvent;
+import org.ajax4jsf.event.AjaxListener;
+import org.ajax4jsf.event.AjaxSource;
import org.ajax4jsf.framework.renderer.AjaxRendererUtils;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
Modified: trunk/ui/tabPanel/src/main/java/org/richfaces/component/UITab.java
===================================================================
--- trunk/ui/tabPanel/src/main/java/org/richfaces/component/UITab.java 2007-07-03 21:59:20
UTC (rev 1453)
+++ trunk/ui/tabPanel/src/main/java/org/richfaces/component/UITab.java 2007-07-03 22:03:50
UTC (rev 1454)
@@ -23,7 +23,7 @@
import org.ajax4jsf.component.AjaxActionComponent;
import org.ajax4jsf.component.AjaxComponent;
-import org.ajax4jsf.framework.ajax.AjaxSource;
+import org.ajax4jsf.event.AjaxSource;
import org.ajax4jsf.framework.renderer.AjaxRendererUtils;
import javax.faces.FacesException;
Modified:
trunk/ui/tabPanel/src/main/java/org/richfaces/renderkit/TabPanelRendererBase.java
===================================================================
---
trunk/ui/tabPanel/src/main/java/org/richfaces/renderkit/TabPanelRendererBase.java 2007-07-03
21:59:20 UTC (rev 1453)
+++
trunk/ui/tabPanel/src/main/java/org/richfaces/renderkit/TabPanelRendererBase.java 2007-07-03
22:03:50 UTC (rev 1454)
@@ -21,7 +21,7 @@
package org.richfaces.renderkit;
-import org.ajax4jsf.framework.ajax.AjaxEvent;
+import org.ajax4jsf.event.AjaxEvent;
import org.ajax4jsf.framework.renderer.ComponentVariables;
import org.ajax4jsf.framework.renderer.ComponentsVariableResolver;
import org.ajax4jsf.framework.renderer.RendererUtils.HTML;
Modified: trunk/ui/togglePanel/src/main/java/org/richfaces/component/UIToggleControl.java
===================================================================
---
trunk/ui/togglePanel/src/main/java/org/richfaces/component/UIToggleControl.java 2007-07-03
21:59:20 UTC (rev 1453)
+++
trunk/ui/togglePanel/src/main/java/org/richfaces/component/UIToggleControl.java 2007-07-03
22:03:50 UTC (rev 1454)
@@ -33,7 +33,7 @@
import org.ajax4jsf.component.AjaxActionComponent;
import org.ajax4jsf.component.AjaxComponent;
-import org.ajax4jsf.framework.ajax.AjaxSource;
+import org.ajax4jsf.event.AjaxSource;
import org.ajax4jsf.framework.renderer.AjaxRendererUtils;
import org.ajax4jsf.framework.renderer.RendererUtils;
Modified:
trunk/ui/tree/src/main/java/org/richfaces/component/TreeListenersTagHandler.java
===================================================================
---
trunk/ui/tree/src/main/java/org/richfaces/component/TreeListenersTagHandler.java 2007-07-03
21:59:20 UTC (rev 1453)
+++
trunk/ui/tree/src/main/java/org/richfaces/component/TreeListenersTagHandler.java 2007-07-03
22:03:50 UTC (rev 1454)
@@ -24,8 +24,8 @@
import javax.faces.component.UIComponent;
import javax.faces.el.MethodBinding;
-import org.richfaces.component.events.NodeExpandedEvent;
-import org.richfaces.component.events.NodeSelectedEvent;
+import org.richfaces.event.NodeExpandedEvent;
+import org.richfaces.event.NodeSelectedEvent;
import com.sun.facelets.FaceletContext;
import com.sun.facelets.tag.MetaRule;
Modified: trunk/ui/tree/src/main/java/org/richfaces/component/UITree.java
===================================================================
--- trunk/ui/tree/src/main/java/org/richfaces/component/UITree.java 2007-07-03 21:59:20
UTC (rev 1453)
+++ trunk/ui/tree/src/main/java/org/richfaces/component/UITree.java 2007-07-03 22:03:50
UTC (rev 1454)
@@ -36,21 +36,17 @@
import javax.faces.event.PhaseId;
import org.ajax4jsf.ajax.repeat.UIDataAdaptor;
+import org.ajax4jsf.event.AjaxEvent;
import org.ajax4jsf.event.DragEvent;
import org.ajax4jsf.event.DragListener;
import org.ajax4jsf.event.DropEvent;
import org.ajax4jsf.event.DropListener;
-import org.ajax4jsf.framework.ajax.AjaxEvent;
import org.ajax4jsf.framework.renderer.AjaxRendererUtils;
import org.ajax4jsf.model.DataComponentState;
import org.ajax4jsf.model.DataVisitor;
import org.ajax4jsf.model.ExtendedDataModel;
import org.ajax4jsf.model.Range;
import org.apache.commons.collections.iterators.SingletonIterator;
-import org.richfaces.component.events.NodeExpandedEvent;
-import org.richfaces.component.events.NodeExpandedListener;
-import org.richfaces.component.events.NodeSelectedEvent;
-import org.richfaces.component.events.NodeSelectedListener;
import org.richfaces.component.events.TreeEvents;
import org.richfaces.component.state.TreeState;
import org.richfaces.component.state.events.CollapseAllCommandEvent;
@@ -58,6 +54,10 @@
import org.richfaces.component.state.events.ExpandAllCommandEvent;
import org.richfaces.component.state.events.ExpandNodeCommandEvent;
import org.richfaces.component.state.events.TreeStateCommandEvent;
+import org.richfaces.event.NodeExpandedEvent;
+import org.richfaces.event.NodeExpandedListener;
+import org.richfaces.event.NodeSelectedEvent;
+import org.richfaces.event.NodeSelectedListener;
import org.richfaces.event.TreeListenerEventsProducer;
import org.richfaces.model.AbstractTreeDataModel;
import org.richfaces.model.TreeDataModel;
Modified: trunk/ui/tree/src/main/java/org/richfaces/component/UITreeNode.java
===================================================================
--- trunk/ui/tree/src/main/java/org/richfaces/component/UITreeNode.java 2007-07-03
21:59:20 UTC (rev 1453)
+++ trunk/ui/tree/src/main/java/org/richfaces/component/UITreeNode.java 2007-07-03
22:03:50 UTC (rev 1454)
@@ -12,15 +12,15 @@
import javax.faces.event.AbortProcessingException;
import javax.faces.event.FacesEvent;
+import org.ajax4jsf.event.AjaxEvent;
import org.ajax4jsf.event.DragEvent;
import org.ajax4jsf.event.DragListener;
import org.ajax4jsf.event.DropEvent;
import org.ajax4jsf.event.DropListener;
-import org.ajax4jsf.framework.ajax.AjaxEvent;
import org.ajax4jsf.framework.renderer.AjaxRendererUtils;
-import org.richfaces.component.events.NodeExpandedListener;
-import org.richfaces.component.events.NodeSelectedListener;
import org.richfaces.component.events.TreeEvents;
+import org.richfaces.event.NodeExpandedListener;
+import org.richfaces.event.NodeSelectedListener;
import org.richfaces.event.TreeListenerEventsProducer;
/**
Modified: trunk/ui/tree/src/main/java/org/richfaces/component/events/TreeEvents.java
===================================================================
--- trunk/ui/tree/src/main/java/org/richfaces/component/events/TreeEvents.java 2007-07-03
21:59:20 UTC (rev 1453)
+++ trunk/ui/tree/src/main/java/org/richfaces/component/events/TreeEvents.java 2007-07-03
22:03:50 UTC (rev 1454)
@@ -26,9 +26,12 @@
import javax.faces.event.AbortProcessingException;
import javax.faces.event.FacesEvent;
+import org.ajax4jsf.event.AjaxEvent;
import org.ajax4jsf.event.DragEvent;
import org.ajax4jsf.event.DropEvent;
-import org.ajax4jsf.framework.ajax.AjaxEvent;
+import org.richfaces.event.AjaxSelectedEvent;
+import org.richfaces.event.NodeExpandedEvent;
+import org.richfaces.event.NodeSelectedEvent;
import org.richfaces.event.TreeListenerEventsProducer;
/**
Modified: trunk/ui/tree/src/main/java/org/richfaces/renderkit/NodeRendererBase.java
===================================================================
--- trunk/ui/tree/src/main/java/org/richfaces/renderkit/NodeRendererBase.java 2007-07-03
21:59:20 UTC (rev 1453)
+++ trunk/ui/tree/src/main/java/org/richfaces/renderkit/NodeRendererBase.java 2007-07-03
22:03:50 UTC (rev 1454)
@@ -21,13 +21,13 @@
import org.richfaces.component.Dropzone;
import org.richfaces.component.UITree;
import org.richfaces.component.UITreeNode;
-import org.richfaces.component.events.AjaxSelectedEvent;
-import org.richfaces.component.events.NodeExpandedEvent;
-import org.richfaces.component.events.NodeSelectedEvent;
import org.richfaces.component.state.TreeState;
import org.richfaces.component.state.events.CollapseNodeCommandEvent;
import org.richfaces.component.state.events.ExpandNodeCommandEvent;
import org.richfaces.component.util.ViewUtil;
+import org.richfaces.event.AjaxSelectedEvent;
+import org.richfaces.event.NodeExpandedEvent;
+import org.richfaces.event.NodeSelectedEvent;
import org.richfaces.model.TreeRowKey;
/**
Modified: trunk/ui/tree/src/main/java/org/richfaces/taglib/TreeListenersTagHandler.java
===================================================================
---
trunk/ui/tree/src/main/java/org/richfaces/taglib/TreeListenersTagHandler.java 2007-07-03
21:59:20 UTC (rev 1453)
+++
trunk/ui/tree/src/main/java/org/richfaces/taglib/TreeListenersTagHandler.java 2007-07-03
22:03:50 UTC (rev 1454)
@@ -24,8 +24,8 @@
import javax.faces.component.UIComponent;
import javax.faces.el.MethodBinding;
-import org.richfaces.component.events.NodeExpandedEvent;
-import org.richfaces.component.events.NodeSelectedEvent;
+import org.richfaces.event.NodeExpandedEvent;
+import org.richfaces.event.NodeSelectedEvent;
import com.sun.facelets.FaceletContext;
import com.sun.facelets.tag.MetaRule;
Modified: trunk/ui/tree/src/test/java/org/richfaces/component/TreeComponentTest.java
===================================================================
--- trunk/ui/tree/src/test/java/org/richfaces/component/TreeComponentTest.java 2007-07-03
21:59:20 UTC (rev 1453)
+++ trunk/ui/tree/src/test/java/org/richfaces/component/TreeComponentTest.java 2007-07-03
22:03:50 UTC (rev 1454)
@@ -48,12 +48,12 @@
import org.ajax4jsf.framework.util.image.ImageInfo;
import org.ajax4jsf.tests.AbstractAjax4JsfTestCase;
import org.apache.commons.lang.StringUtils;
-import org.richfaces.component.events.NodeExpandedEvent;
-import org.richfaces.component.events.NodeExpandedListener;
-import org.richfaces.component.events.NodeSelectedEvent;
-import org.richfaces.component.events.NodeSelectedListener;
import org.richfaces.component.state.events.ExpandAllCommandEvent;
import org.richfaces.component.xml.XmlTreeDataBuilder;
+import org.richfaces.event.NodeExpandedEvent;
+import org.richfaces.event.NodeExpandedListener;
+import org.richfaces.event.NodeSelectedEvent;
+import org.richfaces.event.NodeSelectedListener;
import org.xml.sax.InputSource;
import com.gargoylesoftware.htmlunit.Page;
@@ -330,7 +330,7 @@
/**
- * Test method for {@link
org.richfaces.component.UITreeNode#addChangeExpandListener(org.richfaces.component.events.NodeExpandedListener)}.
+ * Test method for {@link
org.richfaces.component.UITreeNode#addChangeExpandListener(org.richfaces.event.NodeExpandedListener)}.
*/
public final void testAddChangeExpandListener() {
NodeExpandedListener listener = new NodeExpandedListener() {
@@ -360,7 +360,7 @@
}
/**
- * Test method for {@link
org.richfaces.component.UITreeNode#addNodeSelectListener(org.richfaces.component.events.NodeSelectedListener)}.
+ * Test method for {@link
org.richfaces.component.UITreeNode#addNodeSelectListener(org.richfaces.event.NodeSelectedListener)}.
*/
public final void testAddNodeSelectListener() {
NodeSelectedListener listener = new NodeSelectedListener() {
Modified:
trunk/ui/tree/src/test/java/org/richfaces/component/events/TreeEventsListenersTest.java
===================================================================
---
trunk/ui/tree/src/test/java/org/richfaces/component/events/TreeEventsListenersTest.java 2007-07-03
21:59:20 UTC (rev 1453)
+++
trunk/ui/tree/src/test/java/org/richfaces/component/events/TreeEventsListenersTest.java 2007-07-03
22:03:50 UTC (rev 1454)
@@ -26,6 +26,11 @@
import javax.faces.event.FacesEvent;
import javax.faces.event.FacesListener;
+import org.richfaces.event.NodeExpandedEvent;
+import org.richfaces.event.NodeExpandedListener;
+import org.richfaces.event.NodeSelectedEvent;
+import org.richfaces.event.NodeSelectedListener;
+
import junit.framework.TestCase;
/**
Modified: trunk/ui/tree/src/test/java/org/richfaces/component/events/TreeEventsTest.java
===================================================================
---
trunk/ui/tree/src/test/java/org/richfaces/component/events/TreeEventsTest.java 2007-07-03
21:59:20 UTC (rev 1453)
+++
trunk/ui/tree/src/test/java/org/richfaces/component/events/TreeEventsTest.java 2007-07-03
22:03:50 UTC (rev 1454)
@@ -34,6 +34,9 @@
import org.apache.commons.collections.Buffer;
import org.richfaces.component.UITree;
import org.richfaces.component.UITreeNode;
+import org.richfaces.event.AjaxSelectedEvent;
+import org.richfaces.event.NodeExpandedEvent;
+import org.richfaces.event.NodeSelectedEvent;
/**
* @author Nick - mailto:nbelaevski@exadel.com