Skip navigation links
com.bea.netuix.clipper
Class ClipperHelper
java.lang.Object
com.bea.netuix.clipper.ClipperHelper
-
public class ClipperHelper
- extends Object
Method Summary |
static void |
setRemoteUrl(javax.servlet.http.HttpServletRequest request, String remoteUrl)
Call this method from a backing file on a clipper portlet to dynamically set the URL that the clipper portlet is currently navigating. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClipperHelper
public ClipperHelper()
setRemoteUrl
public static void setRemoteUrl(javax.servlet.http.HttpServletRequest request,
String remoteUrl)
- Call this method from a backing file on a clipper portlet to dynamically set the URL that the clipper portlet is currently navigating. <p/> This method should be called from the init or handlePostbackData methods. If this called from handlePostbackData, it needs to be called before
super.handlePostbackData
is called. <p/> For example, to use this method:
- Create a new backing file.
- Have your backing file extend com.bea.netuix.clipper.ClipperBacking.
- create a handlePostbackData method like this:
public boolean handlePostbackData(request, response) {
...
setRemoteUrl(request, "... some url ...");
...
return super.handlePostbackData(request, response);
}
- Edit the .portlet file to point to your backing file.
-
- Parameters
request
-
- See Also
com.bea.netuix.servlets.controls.content.backing.AbstractJspBacking.isRequestTargetted
Skip navigation links
Copyright © 2010, Oracle. All rights reserved.