Author: julien(a)jboss.com
Date: 2008-04-27 16:27:05 -0400 (Sun, 27 Apr 2008)
New Revision: 10721
Added:
modules/presentation/trunk/presentation/src/main/java/org/jboss/portal/presentation/protocol/UIObjectCommandAction.java
Modified:
modules/presentation/trunk/presentation/src/main/java/org/jboss/portal/presentation/impl/server/portlet/PortletContainerAction.java
Log:
a basic integration with page navigational state in PF
Modified:
modules/presentation/trunk/presentation/src/main/java/org/jboss/portal/presentation/impl/server/portlet/PortletContainerAction.java
===================================================================
---
modules/presentation/trunk/presentation/src/main/java/org/jboss/portal/presentation/impl/server/portlet/PortletContainerAction.java 2008-04-27
20:25:19 UTC (rev 10720)
+++
modules/presentation/trunk/presentation/src/main/java/org/jboss/portal/presentation/impl/server/portlet/PortletContainerAction.java 2008-04-27
20:27:05 UTC (rev 10721)
@@ -22,7 +22,7 @@
******************************************************************************/
package org.jboss.portal.presentation.impl.server.portlet;
-import org.jboss.portal.presentation.protocol.CommandAction;
+import org.jboss.portal.presentation.protocol.UIObjectCommandAction;
import org.jboss.portal.portlet.LifeCyclePhase;
import org.jboss.portal.portlet.StateString;
import org.jboss.portal.portlet.ContainerURL;
@@ -38,7 +38,7 @@
* @author <a href="mailto:julien@jboss-portal.org">Julien
Viet</a>
* @version $Revision: 630 $
*/
-public class PortletContainerAction extends CommandAction
+public class PortletContainerAction extends UIObjectCommandAction
{
/** The portlet phase. */
Copied:
modules/presentation/trunk/presentation/src/main/java/org/jboss/portal/presentation/protocol/UIObjectCommandAction.java
(from rev 10720,
modules/presentation/trunk/presentation/src/main/java/org/jboss/portal/presentation/protocol/CommandAction.java)
===================================================================
---
modules/presentation/trunk/presentation/src/main/java/org/jboss/portal/presentation/protocol/UIObjectCommandAction.java
(rev 0)
+++
modules/presentation/trunk/presentation/src/main/java/org/jboss/portal/presentation/protocol/UIObjectCommandAction.java 2008-04-27
20:27:05 UTC (rev 10721)
@@ -0,0 +1,37 @@
+/******************************************************************************
+ * JBoss, a division of Red Hat *
+ * Copyright 2008, Red Hat Middleware, LLC, and individual *
+ * contributors as indicated 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.jboss.portal.presentation.protocol;
+
+/**
+ * Abstract command that allow protocol extention for ui objects.
+ *
+ * @author <a href="mailto:julien@jboss-portal.org">Julien
Viet</a>
+ * @version $Revision: 630 $
+ */
+public abstract class UIObjectCommandAction extends UIObjectAction
+{
+ protected UIObjectCommandAction(String targetId) throws IllegalArgumentException
+ {
+ super(targetId);
+ }
+}