Page Flow being cached

I have a portlet that has various links to JSPs. These JSPs are part of another
page flow portlet. The first time I click a link, everything works fine. The next
time it seems like the page flow is cached - the begin() method does not get execute.
I have tried building the links using netui:anchor, page url and render:pageurl.
No difference.
Any clues?
Girish

Hi,
Check the region caching too.
It could also be the nrowser cache that is causing trouble, there are known issues with IE.
Regards,

Similar Messages

  • Page is being cached

    Hi there,
    I have a page with a chart which has a link to a report on another page, the chart sql is as follows,
    select
    'f?p=&APP_ID.:10:&SESSION.::NO:CIR,RP,10:P10_VALUE:' || my_table_value Link,
    my_table_label label,
    my_table_value value
    from my_table
    As you can see the link clears the cache, however the cache is not always cleared, and a cached page is displayed, if I manually click the refresh button in IE8, then the page get refreshed and is displayed correctly. The page is not configured to be cached.
    Can anybody explain the behaviour? Thanks...

    Hi,
    Check the region caching too.
    It could also be the nrowser cache that is causing trouble, there are known issues with IE.
    Regards,

  • How do I prevent the output of my JSP or Servlet pages from being cached by

    I 've tried this code, but it cannot run.
    <%
    response.setHeader("Cache-Control","no-cache"); //HTTP 1.1
    response.setHeader("Pragma","no-cache"); //HTTP 1.0
    response.setDateHeader ("Expires", 0); //prevents caching at the proxy server
    %>
    and
    <META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE">
    Anybody can help me?
    thanks

    Hi,
    Since different browsers have different formats, this header settings may fetch your need....
    <%
    /** stop browser from caching */
    response.setHeader("Cache-Control","no-cache,post-check=0,pre-check=0,no-cache");
    response.setHeader("Pragma","no-cache");
    response.setHeader("Expires","Thu,01Dec199416:00:00GMT");
    %>
    Regards
    Collins

  • Web Part or Page being Cached

    I put a Business Data List web part on a Web Part Page in SharePoint 2010. The page is being cached. I keep getting old, same, and incorrect results all the time whenever I click the Retrieve button.
    How can I stop the Page from being cached? Thanks.
    Mayank

    Hi,
    According to your post, my understanding is that you wanted to stop the Web Part or Page from being cached.
    Per my knowleadge, the default implementation of the BDC service and the related Web Parts do not provide a caching mechanism for storing the retrieved information. The entity information is retrieved from the BDC and is stored
    directly into the ASP.NET cache. You can refer to:
    Caching in SharePoint
    I recommend to open the web.config file in SharePoint's web site and change to
    <WebPartCache Storage="None" />, then restart IIS (iisreset at a command prompt will do).
    More information:
    SharePoint and Web Part Caching
    Web Parts and Caching
    Thanks,
    Linda Li                
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Linda Li
    TechNet Community Support

  • Page flow exception

    I have one serious problem when handling exception in page flow. ie.
    my code looks like,
    // Generated by WebLogic Workshop
    // Created on: Mon Dec 01 15:31:45 GMT+05:30 2003
    // By: kshashishekar
    package portlets.validation.validation;
    import com.bea.wlw.netui.pageflow.FormData;
    import com.bea.wlw.netui.pageflow.Forward;
    import com.bea.wlw.netui.pageflow.PageFlowController;
    import com.bea.wlw.netui.tags.html.TreeNode;
    import javax.security.auth.login.FailedLoginException;
    import javax.servlet.http.HttpServletRequest;
    import org.apache.struts.action.ActionErrors;
    import org.apache.struts.action.ActionMapping;
    import org.apache.struts.action.*;
    import com.login.CustomLogin;
    import com.bea.p13n.controls.login.UserLoginControl;
    * @jpf:controller struts-merge="struts-config-portlets-validation-validation2.xml"
    * @jpf:message-resources resources="validation.validator.Message"
    * @jpf:view-properties view-properties::
    * <!-- This data is auto-generated. Hand-editing this section is not recommended.
    -->
    * <view-properties>
    * <pageflow-object id="pageflow:/portlets/validation/validation/validationController.jpf"/>
    * <pageflow-object id="action:begin.do">
    * <property value="280" name="x"/>
    * <property value="60" name="y"/>
    * </pageflow-object>
    * <pageflow-object id="action:validate1.do#portlets.validation.validation.validationController.ValidateForm">
    * <property value="220" name="x"/>
    * <property value="200" name="y"/>
    * </pageflow-object>
    * <pageflow-object id="action:logout.do#portlets.validation.validation.validationController.ValidateForm">
    * <property value="120" name="x"/>
    * <property value="100" name="y"/>
    * </pageflow-object>
    * <pageflow-object id="action-call:@page:validate1Page1.jsp@#@action:validate1.do#portlets.validation.validation.validationController.ValidateForm@">
    * <property value="384,320,320,256" name="elbowsX"/>
    * <property value="172,172,192,192" name="elbowsY"/>
    * <property value="West_1" name="fromPort"/>
    * <property value="East_1" name="toPort"/>
    * </pageflow-object>
    * <pageflow-object id="page:validate1Page1.jsp">
    * <property value="420" name="x"/>
    * <property value="180" name="y"/>
    * </pageflow-object>
    * <pageflow-object id="action-call:@page:Result.jsp@#@action:validate1.do#portlets.validation.validation.validationController.ValidateForm@">
    * <property value="156,170,170,184" name="elbowsX"/>
    * <property value="332,332,203,203" name="elbowsY"/>
    * <property value="East_1" name="fromPort"/>
    * <property value="West_2" name="toPort"/>
    * </pageflow-object>
    * <pageflow-object id="page:Result.jsp">
    * <property value="120" name="x"/>
    * <property value="340" name="y"/>
    * </pageflow-object>
    * <pageflow-object id="page:/error.jsp">
    * <property value="40" name="x"/>
    * <property value="180" name="y"/>
    * </pageflow-object>
    * <pageflow-object id="forward:path#success#validate1Page1.jsp#@action:begin.do@">
    * <property value="316,350,350,384" name="elbowsX"/>
    * <property value="52,52,172,172" name="elbowsY"/>
    * <property value="East_1" name="fromPort"/>
    * <property value="West_1" name="toPort"/>
    * <property value="success" name="label"/>
    * </pageflow-object>
    * <pageflow-object id="forward:path#success#Result.jsp#@action:validate1.do#portlets.validation.validation.validationController.ValidateForm@">
    * <property value="184,170,170,156" name="elbowsX"/>
    * <property value="192,192,332,332" name="elbowsY"/>
    * <property value="West_1" name="fromPort"/>
    * <property value="East_1" name="toPort"/>
    * <property value="success" name="label"/>
    * </pageflow-object>
    * <pageflow-object id="forward:path#success#validate1Page1.jsp#@action:logout.do#portlets.validation.validation.validationController.ValidateForm@">
    * <property value="156,270,270,384" name="elbowsX"/>
    * <property value="92,92,172,172" name="elbowsY"/>
    * <property value="East_1" name="fromPort"/>
    * <property value="West_1" name="toPort"/>
    * <property value="success" name="label"/>
    * </pageflow-object>
    * <pageflow-object id="control:com.bea.p13n.controls.login.UserLoginControl#myControl">
    * <property value="28" name="x"/>
    * <property value="34" name="y"/>
    * </pageflow-object>
    * <pageflow-object id="formbeanprop:portlets.validation.validation.validationController.ValidateForm#username#java.lang.String"/>
    * <pageflow-object id="formbeanprop:portlets.validation.validation.validationController.ValidateForm#password#java.lang.String"/>
    * <pageflow-object id="formbean:portlets.validation.validation.validationController.ValidateForm"/>
    * </view-properties>
    public class validationController extends PageFlowController
    * This is the control used to generate this pageflow
    * @common:control
    private UserLoginControl myControl;
    // Uncomment this declaration to access Global.app.
    // protected global.Global globalApp;
    // For an example of page flow exception handling see the example "catch"
    and "exception-handler"
    // annotations in {project}/WEB-INF/src/global/Global.app
    * This method represents the point of entry into the pageflow
    * @jpf:action
    * @jpf:forward name="success" path="validate1Page1.jsp"
    protected Forward begin()
    return new Forward( "success" );
    * @jpf:action validation-error-page="validate1Page1.jsp"
    * @jpf:forward name="success" path="Result.jsp"
    * @jpf:catch method="exceptionHandler" type="Exception"
    protected Forward validate1(ValidateForm aForm) throws Exception
    com.bea.p13n.usermgmt.profile.ProfileWrapper var = myControl.login( aForm.username,
    aForm.password, getRequest());
    getRequest().setAttribute( "results", var );
    return new Forward("success",aForm);
    * Action encapsulating the control method :logout
    * @jpf:action
    * @jpf:forward name="success" path="validate1Page1.jsp"
    * @jpf:catch message="not authenticated" path="/error.jsp" type="Exception"
    public Forward logout( ValidateForm aForm )
    throws Exception
    myControl.logout( getRequest() );
    return new Forward( "success" );
    * @jpf:exception-handler
    * @jpf:forward name="errorPage" path="/error.jsp"
    protected Forward exceptionHandler( Exception ex, String actionName, String
    message, FormData form )
    String displayMessage = "An exception occurred in the action " + actionName;
    System.out.println ("display message "+displayMessage);
    getRequest().setAttribute( "errorMessage", displayMessage );
    return new Forward( "errorPage" );
    * FormData get and set methods may be overwritten by the Form Bean editor.
    public static class ValidateForm extends org.apache.struts.validator.ValidatorForm
    private String password;
    private String username;
    public void setUsername(String username)
    this.username = username;
    public String getUsername()
    return this.username;
    public void setPassword(String password)
    this.password = password;
    public String getPassword()
    return this.password;
    * added just to test validate (override) method.
    public ActionErrors validate(ActionMapping map, HttpServletRequest req)
    ActionErrors errors = null;
    try {
    errors = super.validate(map,req);
    }catch (Exception e)
    e.printStackTrace();
    if (errors ==null) {
    System.out.println ("errors = "+errors);
    } else
    System.out.println ("errors= "+errors);
    return errors;
    in the above code when we call "validate1" action, it will authenticate successfully
    when we enter valid username and passowrd.
    But when i enter invalid credentials page flow controller should execute "handleException"
    method but at this time i am getting an error
    Page Flow Unhandled Exception
    Exception: java.lang.IllegalArgumentException
    Message: argument type mismatch
    A java.lang.IllegalArgumentException exception was thrown and not handled by any
    Page Flow. See the console for the exception stack trace.
    please help us on how to rectify this error.
    thanks,
    shashi
    [validationController.jpf]

    Hi-
    That may be on the right track, but the /index.jsp page gets displayed in the
    portlet...I am still within the portal framework, so I don't think I am loosing
    the context...
    -Howie
    "Khurram Zafar" <[email protected]> wrote:
    >
    you are most likely redirecting to the /error.jsp page and losing the
    context for
    your portal app. The index.jsp page may be defined as your <welcome-file>
    in your
    web.xml file. The best thing to do is to save the context before visiting
    error.jsp
    and then provide a link in error.jsp to go back. Look at javadoc for
    PageURL for
    obtaining the URL to a portal page, you can then save it in session of
    pass it
    to your error page.
    "Howie Oakes" <[email protected]> wrote:
    Hello-
    I have a page flow portlet that I am testing some exception handling
    on. Right
    now when I catch an exception, I display the global /error.jsp page,
    using the
    @jpf:catch tag. The problem is when I refresh the page after viewing
    the error
    page, the pageflow always pulls up the /index.jsp page at the root of
    the webapp.
    I have to get a new session to see the original page flow.
    This only happens when I am running the Jpf as a portlet...I don't see
    this behavior
    with it stand-alone.
    I am not sure why the index.jsp page is being called...there are noreferences
    to it in my jpf code...
    thanks,
    Howie

  • I keep getting this pop up. This web page is being redirected to a new location. Would you like to resend the form data you have typed to the new location? Can you please help me figure out how to get this to stop!

    This pop up has been occurring about once a minute when I am on certain sites.
    This web page is being redirected to a new location. Would you like to resend the form data you have typed to the new location?
    How do I get it to stop?

    -> Tap ALT key or press F10 to show the Menu Bar
    -> go to Help Menu -> select "Restart with Add-ons Disabled"
    Firefox will close then it will open up with just basic Firefox. Now do this:
    -> Update ALL your Firefox Plug-ins https://www.mozilla.com/en-US/plugincheck/
    -> go to View Menu -> Toolbars -> unselect All Unwanted toolbars
    -> go Tools Menu -> Clear Recent History ->'' Time range to clear: '''select EVERYTHING''''' -> click Details (small arrow) button -> place Checkmarks on '''Cookies & Cache''' -> click "Clear Now"
    -> go to Tools Menu -> Options -> Content -> place Checkmarks on:
    1) Block Pop-up windows 2) Load images automatically 3) Enable JavaScript
    -> go to Tools Menu -> Options -> Privacy -> History section -> Firefox will: select "Use custom settings for history" -> REMOVE Checkmark from "Permanent Private Browsing mode" -> place CHECKMARKS on:
    1) Remember my Browsing History 2) Remember Download History 3) Remember Search History 4) Accept Cookies from sites -> select "Exceptions..." button -> Click "Remove All Sites" at the bottom of "Exception - Cookies" window
    4a) Accept Third-party Cookies -> under "Keep Until" select "They Expire"
    -> go to Tools Menu -> Options -> Security -> place Checkmarks on:
    1) Warn me when sites try to install add-ons 2) Block reported attack sites 3) Block reported web forgeries 4) Remember Passwords for sites
    -> Click OK on Options window
    -> click the Favicon (small drop down menu icon) on Firefox SearchBar (its position is on the Right side of the Address Bar) -> click "Manage Search Engines" -> select all Unwanted Search Engines and click Remove -> click OK
    -> go to Tools Menu -> Add-ons -> Extensions section -> REMOVE All Unwanted/Suspicious Extensions (Add-ons) -> Restart Firefox
    You can enable your Known & Trustworthy Add-ons later. Check and tell if its working.

  • How do I stop the box "This web page is being redirected to a new location. Would you like to resend the form data you have typed to the new location?

    I have cleared my cookies and cache and disabled some add ons, but when in Facebook and specifically for Farmville, I keep getting the pop up box, "This web page is being redirected to a new location. Would you like to resend the form data you have typed to the new location?" I have closed and opened the browser, too and it still keeps coming up.... Please help!!! Thanks.

    You can't avoid that if the website is coded that way and data needs to be send from one server to another server.

  • Page Flow and Java Control interaction

    Hi everybody !
    Even after to read some documents like
    http://dev2dev.bea.com/pub/a/2004/06/wlw_internals.html
    and
    http://dev2dev.bea.com/pub/a/2004/01/jones.html
    i still didn't get what is really happening "behind the scenes" between Page Flows and Java Controls (Workshop 8.1). I would be glad if anyone could send to me more detailed documentation or explanation about this subject.
    How can a Java Control to stand behind a Stateless Session Bean (GenericStatelessSLSB) and still to keep its internal state (instance variables) consistent ? How can a statefull Java Control to remain statefull being accessed by a stateless component (the EJB) ? Or is the source code of a Java Control (the JCS file) kept by the Page Flow and sent to EJB for its execution ?
    Thanks in advance.

    Hi Daniel
    I have attached a doc I created that explains what happens behind the scenes
    when a pageflow call a JCS va a JWS calling a JCS.
    Can you please go through the document and let me know any questions you may
    have?
    Thanks
    Vimala
    <Daniel Lima> wrote in message news:[email protected]..
    Hi everybody !
    Even after to read some documents like
    http://dev2dev.bea.com/pub/a/2004/06/wlw_internals.html
    and
    http://dev2dev.bea.com/pub/a/2004/01/jones.html
    i still didn't get what is really happening "behind the scenes" between
    Page Flows and Java Controls (Workshop 8.1). I would be glad if anyone
    could send to me more detailed documentation or explanation about this
    subject.
    How can a Java Control to stand behind a Stateless Session Bean
    (GenericStatelessSLSB) and still to keep its internal state (instance
    variables) consistent ? How can a statefull Java Control to remain
    statefull being accessed by a stateless component (the EJB) ? Or is the
    source code of a Java Control (the JCS file) kept by the Page Flow and
    sent to EJB for its execution ?
    Thanks in advance.

  • Page flow inheritance in Workshop 10 application structure?

    This question will probably expose my relative ignorance in this forum but I don't know who else to ask. I'm trying to use page flow inheritance to extend an abstract base controller class to controllers for several projects (which should all behave the same way but have different jsps, templates, and configuration parameters) in an application. I can't figure out how/where to build the base class and where it needs to be in order for the project controllers to have access to it. I tried building the class in its own project and exporting a jar, or including the module in an enterprise app - although I've been able to build and deploy some of these attempts, everything I've tried gives runtime errors that seem to be due to classes/files not being found because the application structure isn't workable. If anyone has examples of how to do this, or suggestions for other ways to do this besides inheritance, I would be very happy to hear them.

    This is why you break your application into task flow, this allows you to have a hierarchy of taskflows and one icon in a diagram that can represent a complete flow.
    Learn more about taskflows here:
    http://www.oracle.com/technetwork/developer-tools/adf/learnmore/adfinsider-093342.html#a2

  • Calling Service Control from Page Flow

    In Workshop for Weblogic Platform v10.0, we have a web service control in a page flow.
    Although the web service call succeeds (as evidenced by a TcpMon monitor), the control method always returns null.
    I'm guessing that although the call looks synchronous, it's actually behaving asynchronously - returning immediately with null.
    Is this perhaps related to the particulars of calling controls from a Page Flow environment? Is it a bug in v10 of Workshop (Eclipse-based?
    Thanks for any ideas!
    - Rob
    ps: Here's the control interface and using class:
    package controls;
    import com.bea.control.ServiceControl;
    import org.apache.beehive.controls.api.events.EventSet;
    import org.apache.beehive.controls.api.bean.ControlExtension;
    @ServiceControl.Location(urls = {"http://LECAP1.lan.us.ray.com:9905/xsltTransform_vs0"})
    @ServiceControl.HttpSoapProtocol
    @ServiceControl.SOAPBinding(style = ServiceControl.SOAPBinding.Style.DOCUMENT, use = ServiceControl.SOAPBinding.Use.LITERAL, parameterStyle = ServiceControl.SOAPBinding.ParameterStyle.BARE)
    @ServiceControl.WSDL(resourcePath = "controls/cesXsltTransform.wsdl", service = "xsltTransform_vs0")
    @ControlExtension
    public interface xsltTransform_vs0ServiceControl extends ServiceControl
    static final long serialVersionUID = 1L;
    public java.lang.String xmlTransform(com.raytheon.schemas.ces.transformationservices.xmlschema.schema.TransformInput transformInput_arg);
    /** This event set interface provides support for the onAsyncFailure event.
    @EventSet(unicast=true)
    public interface Callback extends ServiceControl.Callback {};
    @Control
    private xsltTransform_vs0ServiceControl xsltTransform_vs0ServiceControl1;
    com.raytheon.schemas.ces.transformationservices.xmlschema.schema.TransformInput transformInput_arg = form
                        .getTransformInput_arg();
    String xmlTransformResult = xsltTransform_vs0ServiceControl1
                        .xmlTransform(transformInput_arg);

    Strange -- the PageFlowJspFilter adds no-cache headers to the response, so
    if you're forwarding to a JSP from the action, then the browser shouldn't be
    caching the result. What's in the URL bar in the case where your request is
    getting cached?
    "Neeraj Harlalka" <[email protected]> wrote in message
    news:3ff993bd$[email protected]..
    >
    Richard -
    Ok. I dug deeper into the issue and now my problem is that although theaction
    is getting called correctly, it seems to execute from a cache. The actiondoes
    not get executed the second time.
    Any ideas?
    Neeraj
    "Richard Feit" <[email protected]> wrote:
    Hmm... I'm not sure why you'd get that. Can you post the relevant JSP
    code?
    Also, are you able to hit the other page flow directly from a browser?
    Rich
    "Neeraj Harlalka" <[email protected]> wrote in message
    news:[email protected]..
    Hi Richard -
    I get an error saying cannot find the begin.do action.
    Thanks
    Neeraj
    Richard Feit" <[email protected]> wrote:
    Hello Neeraj,
    This should work:
    <netui:anchor
    href="/someOtherFlow/SomeOtherFlowController.jpf">someOtherFlowController.
    j
    p
    f</netui:anchor>
    What happens when you do this?
    Rich
    "Neeraj Harlalka" <[email protected]> wrote in message
    news:3fda39df$[email protected]..
    I read the other posts on how to call one page flow from a jsp
    that
    belongs to
    another pageflow. However the last suggestion posted - use the netuianchor tag
    with href, also does not work.
    Any other solution?
    Thanks
    Neeraj

  • Page Flows - opening new windows - losing context values

    Hi.. Anyone face this -?
    I have a page flow that gets some data from the database and displays it in a grid. The page has a print button that should open a popup with a printable version of the grid. I am storing the rowset in the page flow as an instance variable. Now when I click on print, I call an action in the page flow that opens a new JSP in another window. The JSP is expecting the grid from the page flow context. However, it seems like in the new window, a new version of the controller is getting instantiated, with the rowset being null.
    How would I get around this?
    Thanks
    Kunal

    I've had success with the following so far--think it works around the instance label limitation:
    * Popup window action. Redirect set to true to unwrap request from portal.
    * @jpf:action
    * @jpf:forward path="/portlets/full/path/to/this/action/displayNumber.do" name="jumpout" redirect="true"
    * @jpf:forward path="Number.jsp" name="success"
    protected Forward displayNumber() throws Exception
         String s = this.getRequest().getParameter("jpfScopeID");
         if(s==null || s.equals("")){
              Forward fwd = new Forward("jumpout");
              pageFlowVar x = "test";
              PortletBackingContext ctx = PortletBackingContext.getPortletBackingContext(this.getRequest());
              fwd.addQueryParam("jpfScopeID", ctx.getInstanceLabel());
              return fwd;
         } else {
              Forward fwd = new Forward( "success" );
              fwd.addPageInput("pageInput", x);
              return fwd;
    }

  • How to link 2 page flow controllers in Workshop

    Hello there,
    I have been playing with rowSet controls and page flows in WorkShop for a few days now and I can see that the creation of both of these is straight forward.
    The question that I have is ... having created the page flow for a given rowSet control, say, "customersController.jpf" -- how can I click on a given row and pass a parameter to, say, "ordersControler.jpf" and have ordersController.jpf query the database based on the parameter passed to it?
    At this point I have these 2 page flows which work okay in isolation. So, we have:
    /customers/customersController.jpf    [custid, name, address, etc]
    /orders/ordersController.jpf    [orderid, date, total, etc]
    I have already managed to pass the custid parameter when clicking on the custid field for a given customer on the customersController.jpf page.
    URL looks something like this:
    http://localhost:7001/myApp/customers/showOrders.do?_autoscope__rowId=customersControllerGridName%7ECUSTID%7E1004
    "showOrders.do" is, of course, an action that calls ordersController.jpf.
    We can see that the customer id (CUSTID) parameter is being passed (1004). Now, how can I modify ordersController.jpf and orders.jcx so that only the orders for customer 1004 are returned by ordersController.jpf? By default, all the order in the database are returned.
    Thanks a million,
    Manuel
    Message was edited by:
    manu_moreno

    Hi manu_moreno,
    You should create an Event handler.
    On the Property Editor, click on the "Event Handler" option.
    On "Add Handler..." you should select "Handle Page Flow Event". This way you can trigger a Page Flow action everytime an action in another portlet is called.
    The parameters I suggest you put on the Session.
    Hope this Helps,
    Pedro Oguri

  • SSO filter problem in Self-Service page flows

    Hi,
    I need to integrate Self-Service with a Jasig CAS SSO-solution. It works fine except for pages like the product configurator, check out process etc. The Self-Service page flows for these have ceased to work since i implemented the Self-Service authentication filters.
    This is a filter in the web.xml which you map to all pages that needs authentication.
    An example:
    In the product configurator,step 1, when you click "next" you dont get to the next step 2, but rather back to step 1. My suspicion is that, since all the steps are handled by the same jspx - the CAS authentication filter mess up since it intercepts the request to check if the user is logged in and then redirects the user back to the url given. But something is lost on the way here.
    Does anyone have an idea for how to tackle this?
    Thanks
    Jonte

    Here's a clarification of my problem:
    I'm facing an issue when integrating the Jasig CAS SSO with Siebel Self-Service (which is an Oracle ADF application). When applying the CAS Authentication Filters, the navigation rules and page flows in the Self-Service application cease to work.
    The Siebel Self-Service application is using adfFaces filter, adfBindings filter and the SelfService filter as controllers for the pages.
    For the integration with the Jasig CAS, a client lib is installed in the Self-Service OC4J. This CAS Client provides an "Authentication Filter" that is defined in the web.xml. The pages in Self-Service that are to be protected by this authentication filter (the pages that needs user authentication in order to be accessed) are also mapped in the web.xml. This authentication filter checks the user against the CAS Server and sends back a ticket parameter with the URL if the user is logged in. This parameter is used to validate the login attempt, and on successful validation, the CAS server provides the username of the user to a bean called by the SelfServiceFilter in the Self-Service app.
    My problem is that any JSF navigation on a page (navigation rules and page flows) cease to work as soon as a page is protected by the Authentication filter. One example would be during the check out process (which consists of several steps - several jspx pages). When you click “Next” on the first check out step, you are not redirected to step no 2, but to the same check out page as you started on.
    Since the Authentication Filter protects all the pages involved, it will intercept any request to these pages, fetch the request URL, redirect to the CAS server for user authentication, and on successful authentication it will redirect the user back to the URL that was fetched by the Authentication Filter in the first place.
    I have been looking into this, and I think that the JSF navigation rules etc, cease to work because the JSF page flows are being interrupted. When clicking “next” the page would normally post information to the life cycle of the requested page (which in some cases in this app, is also a postback to the same page). This information is then used when going through the life cycle of the new page. But when the CAS Authentication Filter intercepts the request, send the user to the CAS server and then redirect back to the page, this page life cycle is interrupted, or the necessary data is not attached in this “new” request.
    Does anyone have an idea for how I can solve this issue?
    Thanks!
    Jonte

  • Page Flow - Null request attributes

    Hi.
    I am using the netui:anchor and netui:paramter tags to add attributes to the request
    object. However in the pageflow when I try to get them from the request using
    this.getRequest().getParameter("xxx") - it seems to be NULL.
    Any clues?
    Girish

    Hey Richard -
    I solved this problem using the outerrequest and the scopedrequestutil classes.
    However, I still have the page flow caching issue that many folks seem to be posting
    on the newsgroups.
    Thanks
    Girish
    "Richard Feit" <[email protected]> wrote:
    Hello Girish,
    This should work. Can you post a JSP fragment and a page flow action
    that
    demonstrates the problem?
    Thanks,
    Rich
    "Girish Venkat" <[email protected]> wrote in message
    news:3fe87514$[email protected]..
    Hi.
    I am using the netui:anchor and netui:paramter tags to add attributesto
    the request
    object. However in the pageflow when I try to get them from the requestusing
    this.getRequest().getParameter("xxx") - it seems to be NULL.
    Any clues?
    Girish

  • GIF files not being cached for toolbar (WEB Forms)

    I realized that the GIF files we are using
    in our toolbars are not being cached by the
    browser. I analyzed the file XLF.LOG and
    the files always have access code "200"
    (not cached). The file REGISTRY.DAT has
    the same problem. Only the JAR file has
    access code "304" (cached). Although these
    GIF files are small (~900 bytes), it takes
    many seconds to open each form when someone
    executes our application using a low speed
    line (many of our forms have toolbars
    with more than 30 icons). Is there any
    special configuration I have to do or this
    will be corrected in future versions?
    XLF.LOG (first and second execution):
    #Version: 1.0
    #Software: Oracle WRB Log Server
    #Fields: clf
    1.0.5.57 - - [24/Jan/2000:07:45:48 -0300] "GET /htm/sales HTTP/1.0" 200 1440
    1.0.5.57 - - [24/Jan/2000:07:45:51 -0300] "GET /htm/ HTTP/1.0" 200 760
    1.0.5.57 - - [24/Jan/2000:07:45:51 -0300] "GET /forms_code/f60all.jar HTTP/1.0" 304 0
    1.0.5.57 - - [24/Jan/2000:07:45:53 -0300] "GET /forms_code/javax/swing/JInternalFrame.class HTTP/1.0" 404 99
    1.0.5.57 - - [24/Jan/2000:07:45:55 -0300] "GET /forms_code/oracle/forms/registry/Registry.dat HTTP/1.0" 200 4122
    1.0.5.57 - - [24/Jan/2000:07:46:06 -0300] "GET /img/PASSWORD.gif HTTP/1.0" 200 853
    1.0.5.57 - - [24/Jan/2000:07:46:06 -0300] "GET /img/HELP.gif HTTP/1.0" 200 898
    1.0.5.57 - - [24/Jan/2000:07:46:06 -0300] "GET /img/KEYS.gif HTTP/1.0" 200 864
    1.0.5.57 - - [24/Jan/2000:07:46:06 -0300] "GET /img/EXIT.gif HTTP/1.0" 200 888
    1.0.5.57 - - [24/Jan/2000:07:47:28 -0300] "GET /htm/sales HTTP/1.0" 304 0
    1.0.5.57 - - [24/Jan/2000:07:47:30 -0300] "GET /htm/ HTTP/1.0" 304 0
    1.0.5.57 - - [24/Jan/2000:07:47:30 -0300] "GET /forms_code/f60all.jar HTTP/1.0" 304 0
    1.0.5.57 - - [24/Jan/2000:07:47:32 -0300] "GET /forms_code/javax/swing/JInternalFrame.class HTTP/1.0" 404 99
    1.0.5.57 - - [24/Jan/2000:07:47:32 -0300] "GET /forms_code/oracle/forms/registry/Registry.dat HTTP/1.0" 200 4122
    1.0.5.57 - - [24/Jan/2000:07:47:45 -0300] "GET /img/PASSWORD.gif HTTP/1.0" 200 853
    1.0.5.57 - - [24/Jan/2000:07:47:45 -0300] "GET /img/HELP.gif HTTP/1.0" 200 898
    1.0.5.57 - - [24/Jan/2000:07:47:45 -0300] "GET /img/KEYS.gif HTTP/1.0" 200 864
    1.0.5.57 - - [24/Jan/2000:07:47:45 -0300] "GET /img/EXIT.gif HTTP/1.0" 200 888
    null

    Have you tried turning on the "File Caching" setting under the "Server" branch for you Listener under OAS?

Maybe you are looking for

  • How do I restore a backup from Time Capsule on Windows Vista?

    I have had to restore My Windows Vista PC to original and need to also restore by backup that was made to time Capsule.  I can see the daily backups when browsing through the TC via Windows Backup/Restore, but it tells me there are no valid backup fi

  • Airport express 6.3 speakers will not connect in itunes sometimes

    I set up 2 airport express for a friend and they are conf to connect to his wireless net. Both work fine with printing and Airtunes speakers will play from several tested iPhones. However iTunes gives me a connection error when trying to play to the

  • Languages and predictive texting

    My n95 comes with a few languages (English, French, Spanish, German, Portuguese...) pre-installed. I'm living in the UK but I'm Belgian, speak fluent Dutch, French, English and some Portuguese. Obviously, Dutch is missing in the language list of my p

  • Generating Memory Utilization Report in HUM

    Hello All, I was trying to generate reports for devices in my network. I noticed that for most devices, the memory utilisation (no value for memory utilisation instances) was not polled though it's part of the variables in my poller configuration. Ki

  • My iPad won't hold a charge ---any ideas?

    My iPad won't hold a charge.  It even loses battery while it is on the charge. Any ideas???