Skip navigation links


com.bea.portlet
Class EncodeName

java.lang.Object
  extended by com.bea.portlet.EncodeName


public class EncodeName
extends Object

Utility to add a portlet-based scoping key to a name. Use this method if you want to guarantee that an id that occurs in multiple portlets is rendered with a unique name in each.


Constructor Summary
EncodeName()
           

 

Method Summary
static String encodeName(String name, javax.servlet.http.HttpServletRequest request)
          Encode the name with a scoping key supplied by the current portlet in the request.

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

EncodeName

public EncodeName()

Method Detail

encodeName

public static String encodeName(String name,
                                javax.servlet.http.HttpServletRequest request)
Encode the name with a scoping key supplied by the current portlet in the request.

Skip navigation links


Copyright © 2010, Oracle. All rights reserved.