You are viewing a plain text version of this content. The canonical link for it is here.
Posted to wsrp4j-dev@portals.apache.org by dl...@apache.org on 2006/12/10 22:14:36 UTC

svn commit: r485261 - /portals/wsrp4j/trunk/commons/src/java/org/apache/wsrp4j/commons/util/Constants.java

Author: dlouzan
Date: Sun Dec 10 13:14:35 2006
New Revision: 485261

URL: http://svn.apache.org/viewvc?view=rev&rev=485261
Log:
Added constants needed for producer template processing

Modified:
    portals/wsrp4j/trunk/commons/src/java/org/apache/wsrp4j/commons/util/Constants.java

Modified: portals/wsrp4j/trunk/commons/src/java/org/apache/wsrp4j/commons/util/Constants.java
URL: http://svn.apache.org/viewvc/portals/wsrp4j/trunk/commons/src/java/org/apache/wsrp4j/commons/util/Constants.java?view=diff&rev=485261&r1=485260&r2=485261
==============================================================================
--- portals/wsrp4j/trunk/commons/src/java/org/apache/wsrp4j/commons/util/Constants.java (original)
+++ portals/wsrp4j/trunk/commons/src/java/org/apache/wsrp4j/commons/util/Constants.java Sun Dec 10 13:14:35 2006
@@ -61,6 +61,36 @@
     public static final String USER_CONTEXT_KEY = "wsrp-userContextKey";
     public static final String PORTLET_INSTANCE_KEY = "wsrp-portletInstanceKey";
     public static final String SESSION_ID = "wsrp-sessionID";
+    
+    // parameter names for producer template processing
+    public static final String URL_TYPE_TEMPLATE =
+            "{" + URL_TYPE + "}";
+    public static final String NAVIGATIONAL_STATE_TEMPLATE =
+            "{" + NAVIGATIONAL_STATE + "}";
+    public static final String INTERACTION_STATE_TEMPLATE =
+            "{" + INTERACTION_STATE + "}";
+    public static final String WINDOW_STATE_TEMPLATE = 
+            "{" + WINDOW_STATE + "}";
+    public static final String PORTLET_MODE_TEMPLATE =
+            "{" + PORTLET_MODE + "}";
+    public static final String URL_TEMPLATE =
+            "{" + URL + "}";
+    public static final String FRAGMENT_ID_TEMPLATE =
+            "{" + FRAGMENT_ID + "}";
+    public static final String SECURE_URL_TEMPLATE =
+            "{" + SECURE_URL + "}";
+    public static final String REWRITE_RESOURCE_TEMPLATE =
+            "{" + REWRITE_RESOURCE + "}";
+    public static final String FORM_PARAMETERS_TEMPLATE =
+            "{" + FORM_PARAMETERS + "}";
+    public static final String PORTLET_HANDLE_TEMPLATE =
+            "{" + PORTLET_HANDLE + "}";
+    public static final String USER_CONTEXT_KEY_TEMPLATE =
+            "{" + USER_CONTEXT_KEY + "}";
+    public static final String PORTLET_INSTANCE_KEY_TEMPLATE =
+            "{" + PORTLET_INSTANCE_KEY + "}";
+    public static final String SESSION_ID_TEMPLATE =
+            "{" + SESSION_ID + "}";
 
     // parameter values for url type
     public static final String URL_TYPE_BLOCKINGACTION = "blockingAction";