Author: alexsmirnov
Date: 2007-06-01 17:49:42 -0400 (Fri, 01 Jun 2007)
New Revision: 225
Modified:
trunk/a4j-portlet/src/main/java/org/ajax4jsf/portlet/application/PortletStateHolder.java
trunk/a4j-portlet/src/main/java/org/ajax4jsf/portlet/application/PortletViewHandler.java
Log:
CODING IN PROGRESS - issue RF-186: Portlet integration for JBoss Portal, portals jsr-168
http://jira.jboss.com/jira/browse/RF-186
Modified:
trunk/a4j-portlet/src/main/java/org/ajax4jsf/portlet/application/PortletStateHolder.java
===================================================================
---
trunk/a4j-portlet/src/main/java/org/ajax4jsf/portlet/application/PortletStateHolder.java 2007-05-30
00:25:32 UTC (rev 224)
+++
trunk/a4j-portlet/src/main/java/org/ajax4jsf/portlet/application/PortletStateHolder.java 2007-06-01
21:49:42 UTC (rev 225)
@@ -34,7 +34,7 @@
private static final String[] modes = { PortletMode.VIEW.toString(),
PortletMode.EDIT.toString(), PortletMode.HELP.toString() };
- private static final String DEFAULT = "defauil-";
+ private static final String DEFAULT = "default-";
private PortletMode lastMode = PortletMode.VIEW;
Modified:
trunk/a4j-portlet/src/main/java/org/ajax4jsf/portlet/application/PortletViewHandler.java
===================================================================
---
trunk/a4j-portlet/src/main/java/org/ajax4jsf/portlet/application/PortletViewHandler.java 2007-05-30
00:25:32 UTC (rev 224)
+++
trunk/a4j-portlet/src/main/java/org/ajax4jsf/portlet/application/PortletViewHandler.java 2007-06-01
21:49:42 UTC (rev 225)
@@ -55,7 +55,7 @@
RenderResponse renderResponse = (RenderResponse) response;
PortletURL portletURL = renderResponse.createActionURL();
portletURL.setParameter(AbstractExternalContext.VIEW_ID_PARAMETER,
context.getViewRoot().getViewId());
-// portletURL.setParameter(AbstractExternalContext.NAMESPACE_PARAMETER,
renderResponse.getNamespace());
+ portletURL.setParameter(AbstractExternalContext.NAMESPACE_PARAMETER,
renderResponse.getNamespace());
return portletURL.toString();
} else if(null!=portalActionURL){
return portalActionURL;