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

Similar Messages

  • EmptyStackException when exit from nested page flow on SP2

    I have tried to call a nested page flow (TestNestedController.jpf) from page flow
    and using redirect="true". After exit from nested page flow, it supposes that
    return to the action testNestedDone() in page flow(TestPageController). It works
    on SP1, but it fails on SP2.
    Please suggest any solutions for this issues.
    public class TestPageController extends PageFlowController
    // 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="page.jsp"
    protected Forward begin()
    return new Forward("success");
    * @jpf:action
    * @jpf:forward name="success" path="/test/testNested/TestNestedController.jpf"
    redirect="true"
    protected Forward goToNested()
    System.out.println("go to nested redirect = true");
    return new Forward("success");
    * @jpf:action
    * @jpf:forward name="success" path="index.jsp"
    protected Forward testNestedDone()
    return new Forward("success");

    The error message like this:
    Empty nesting stack for returned action BackToPrevious from Page Flow /xxxx/viewMemberController.jpf.
    com.bea.wlw.netui.pageflow.EmptyNestingStackException: Empty nesting stack for
    returned action BackToPrevious from page flow /xxxx/viewMember/viewMemberController.jpf.
    at com.bea.wlw.netui.pageflow.FlowController.forwardTo(FlowController.java:1103)
    "patrick" <[email protected]> wrote:
    >
    I have tried to call a nested page flow (TestNestedController.jpf) from
    page flow
    and using redirect="true". After exit from nested page flow, it supposes
    that
    return to the action testNestedDone() in page flow(TestPageController).
    It works
    on SP1, but it fails on SP2.
    Please suggest any solutions for this issues.
    public class TestPageController extends PageFlowController
    // 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="page.jsp"
    protected Forward begin()
    return new Forward("success");
    * @jpf:action
    * @jpf:forward name="success" path="/test/testNested/TestNestedController.jpf"
    redirect="true"
    protected Forward goToNested()
    System.out.println("go to nested redirect = true");
    return new Forward("success");
    * @jpf:action
    * @jpf:forward name="success" path="index.jsp"
    protected Forward testNestedDone()
    return new Forward("success");

  • Exception when trying to use page flow diagrammer

    I can no longer use the struts-config page flow diagrammer (jdeveloper 9.0.5.2). In the jdeveloper console the following error is displayed when i try to open the diagrammer:
    java.lang.NoSuchMethodError: org.apache.batik.dom.svg.ExtensibleSVGDOMImplementation.registerCustomCSSValueManager(Lorg/apache/batik/css/engine/value/ValueManag
    er;)V
    at org.apache.batik.extension.svg.BatikDomExtension.registerTags(Unknown
    Source)
    at org.apache.batik.dom.svg.ExtensibleSVGDOMImplementation.<init>(Unknow
    n Source)
    at org.apache.batik.dom.svg.ExtensibleSVGDOMImplementation.<clinit>(Unkn
    own Source)
    at org.apache.batik.dom.svg.SAXSVGDocumentFactory.<init>(Unknown Source)
    at org.apache.batik.bridge.DocumentLoader.<init>(Unknown Source)
    at oracle.bm.data.resolve.ImageHelper.resolveElementReference(ImageHelpe
    r.java:286)
    Any ideas how to solve this?
    Thanks,
    Andrej

    It has actually gotten worse: jdeveloper doesn't even start anymore.
    I've removed all workspaces from jdeveloper, restarted, created a new workspace and project. I added a struts-config file. I could open it, but when i tried to drop a data-page component on it, an error message was displayed. Then i removed the workspace and restarted jdeveloper. BUt it doesn't want to restart anymore. The console shows the following message:
    Jalopy Java Source Code Formatter 1.0b10 JDeveloper Extension 1.1.4
    Copyright (c) 2001-2003 Marco Hunsicker. All rights reserved.
    java.lang.NoSuchMethodError: org.apache.batik.dom.svg.ExtensibleSVGDOMImplementa
    tion.registerCustomCSSValueManager(Lorg/apache/batik/css/engine/value/ValueManag
    er;)V
    at org.apache.batik.extension.svg.BatikDomExtension.registerTags(Unknown
    Source)
    at org.apache.batik.dom.svg.ExtensibleSVGDOMImplementation.<init>(Unknow
    n Source)
    at org.apache.batik.dom.svg.ExtensibleSVGDOMImplementation.<clinit>(Unkn
    own Source)
    at org.apache.batik.dom.svg.SAXSVGDocumentFactory.<init>(Unknown Source)
    at org.apache.batik.bridge.DocumentLoader.<init>(Unknown Source)
    at oracle.bm.data.resolve.ImageHelper.resolveElementReference(ImageHelpe
    r.java:286)
    at oracle.bm.data.ResolveController.resolveElementReference(ResolveContr
    oller.java:114)
    at oracle.bm.data.ElementReference.getElementReferenced(ElementReference
    .java:97)
    at oracle.bm.diagrammer.shape.ImageShape.notifyChange(ImageShape.java:29
    5)
    at oracle.bm.diagrammer.shape.BaseDiagramShape.notifyChange(BaseDiagramS
    Any tips how to bring jdeveloper back to life, or do i have to reinstall it?
    Thanks,
    Andrej

  • Workshop CRASHED while editing a page flow

    Workshop Gurus -
    Any clues on this bug. I get this error while editing pageflow. It just started
    happening this morning.
    I must say, WLW crashes gracefully. It allows me to report this message directly
    to BEA, and then allows me to save my files. However, I do need a resolution to
    this problem, hopefully soon.
    java.lang.NullPointerException
         at workshop.pageflow.model.ExternalPageFlow.refChanged(ExternalPageFlow.java:120)
         at workshop.pageflow.model.DocumentEventAdapter.processModelObjects(DocumentEventAdapter.java:492)
         at workshop.pageflow.model.DocumentEventAdapter.process(DocumentEventAdapter.java:177)
         at workshop.pageflow.model.DocumentEventAdapter.elementChange(DocumentEventAdapter.java:123)
         at com.bea.ide.element.ElementChangeSupport.fireListeners(ElementChangeSupport.java:253)
         at com.bea.ide.element.ElementChangeSupport.fireElementChange(ElementChangeSupport.java:243)
         at com.bea.ide.element.ElementChangeSupport.fireElementChange(ElementChangeSupport.java:219)
         at com.bea.ide.document.DefaultDocument.fireElementChildRemoved(DefaultDocument.java:482)
         at com.bea.ide.sourceeditor.DefaultSourceDocument.mergeComplete(DefaultSourceDocument.java:523)
         at com.bea.ide.sourceeditor.DefaultSourceDocument.mergeMetadata(DefaultSourceDocument.java:610)
         at workshop.sourceeditor.compiler.CompilerProject$MergeRunner.run(CompilerProject.java:1448)
         at workshop.sourceeditor.compiler.CompilerSvcImpl$TreeMergeLock.runMerger(CompilerSvcImpl.java:161)
         at workshop.sourceeditor.compiler.CompilerProject$4.run(CompilerProject.java:1498)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:448)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:197)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
    Thanks
    Kunal Mittal

    Raj -
    Yes I am using SP2. I have had Workshop crash SEVERAL times when working with
    page flows. Some sort of null pointer exception. The only good thing is that workshop
    crashes gracefully, so I didn't lose any work that I was doing.
    Thanks.
    Kunal
    "Raj Alagumalai" <[email protected]> wrote:
    Kunal,
    Can you try using SP2 ?
    Thanks,
    Raj Alagumalai
    Backline Workshop Support
    "Kunal Mittal" <[email protected]> wrote in message
    news:[email protected]...
    Workshop Gurus -
    Any clues on this bug. I get this error while editing pageflow. Itjust
    started
    happening this morning.
    I must say, WLW crashes gracefully. It allows me to report this messagedirectly
    to BEA, and then allows me to save my files. However, I do need aresolution to
    this problem, hopefully soon.
    java.lang.NullPointerException
    atworkshop.pageflow.model.ExternalPageFlow.refChanged(ExternalPageFlow.java:12
    0)
    atworkshop.pageflow.model.DocumentEventAdapter.processModelObjects(DocumentEve
    ntAdapter.java:492)
    atworkshop.pageflow.model.DocumentEventAdapter.process(DocumentEventAdapter.ja
    va:177)
    atworkshop.pageflow.model.DocumentEventAdapter.elementChange(DocumentEventAdap
    ter.java:123)
    atcom.bea.ide.element.ElementChangeSupport.fireListeners(ElementChangeSupport.
    java:253)
    atcom.bea.ide.element.ElementChangeSupport.fireElementChange(ElementChangeSupp
    ort.java:243)
    atcom.bea.ide.element.ElementChangeSupport.fireElementChange(ElementChangeSupp
    ort.java:219)
    atcom.bea.ide.document.DefaultDocument.fireElementChildRemoved(DefaultDocument
    .java:482)
    atcom.bea.ide.sourceeditor.DefaultSourceDocument.mergeComplete(DefaultSourceDo
    cument.java:523)
    atcom.bea.ide.sourceeditor.DefaultSourceDocument.mergeMetadata(DefaultSourceDo
    cument.java:610)
    atworkshop.sourceeditor.compiler.CompilerProject$MergeRunner.run(CompilerProje
    ct.java:1448)
    atworkshop.sourceeditor.compiler.CompilerSvcImpl$TreeMergeLock.runMerger(Compi
    lerSvcImpl.java:161)
    atworkshop.sourceeditor.compiler.CompilerProject$4.run(CompilerProject.java:14
    98)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:448)
    atjava.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.ja
    va:197)
    atjava.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java
    :150)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
    Thanks
    Kunal Mittal

  • Code to call another Page Flow URL from one page flow URL

    Can anyone send me the code to call another pageflow url from one page flow URL.

    thanks...
    In my appication there is no Form page. Only based on Canvas in that ,
    i implemented Text box, Text Field And Drop down list etc..by own coding without using any abstract methods.
    I did every thing with in single Midlet file.While developng goes on i got the problem ,
    Like "your application exceeds the memorylimit you cant
    use more than 32Kb of byte code in Canvas"...
    So the application is not opened.
    I tried to call the next file in same package to proceed, i got it. codition goes to next file, but its not return back to the Main(MIDlet) file, throws the excepton as "Security exception".
    How to solve this problem,is any other way? please...

  • Can I reference page-flow bean from a bounded-task-flow page-fragment?

    I have a view activity implemented as page fragment in my bounded task flow.
    I declare a page-flow scope managed-bean in adfc-config.xml to do some initialization for the bounded-task-flow:
    <managed-bean id="__23">
    <managed-bean-name id="__22">TaskFlowBean</managed-bean-name>
    <managed-bean-class id="__21">view.backing.TaskFlowBackingBean</managed-bean-class>
    <managed-bean-scope id="__20">pageFlow</managed-bean-scope>
    </managed-bean>
    In my bounded task flow, the default activity is a method-call activity which call the page-flow bean method
    <method-call id="initFlow">
    <method>#{pageFlowScope.TaskFlowBean.initFlow}</method>
    <outcome id="__27">
    <fixed-outcome>showPanel</fixed-outcome>
    </outcome>
    </method-call>
    But JDeveloper (11.1.1.2) show a warning "Refereneed pageFlowScope not found" at the "Diagram" view of the flow definition.
    The fixed outcome of the default activity is to render a page-fragment which also reference the page-flow scope bean method getPanelTitle():
    <af:panelBox text="#{pageFlowScope.TaskFlowBean.panelTitle}" id="pb1">
    <f:facet name="toolbar"/>
    </af:panelBox>
    At runtime, the page fragment was rendered properly except the panel box title is missing. No other error is reported
    When I debugged the application, the bean methods initFlow() and getPanelTitle() didn't get call as the program didn't stop at the breakpoint set in the bean methods.
    The page fragment was rendered properly except the panel box title is missing.
    When I change the scope to backing bean, both initFlow() and getPanelTitle() get called but under a different backing bean.
    As the bean attributes set by initFlow() were not no longer set when getPanelTitle() was invoked even though the methods were invoked in the correct order.
    Why can't I use a page-flow scope bean within the bounded task flow?
    On further debugging, I noticed the bean was not created when it is set to be page-flow scope. I put a debug message in the constructor... never get called.
    When should a page-flow scope bean be created to be accessible on entry to a bounded task flow?
    Edited by: Pricilla on Apr 29, 2010 3:16 PM

    Please check the scope of the pageFlow from the manual.
    pageFlowScope is only available for the pages/views in that taskflow and not in the included taskflows.

  • Transaction rolled back in Page Flow

    I am getting the following exceptions out of nowhere. It's non-deterministic, it just happens from time to time. The same steps can lead to normal behaviour or this error... It all ends with timed out exception. I don't know what is causing it, I don't know how to fix it. Does anyone have any ideas?
    From the log:
    |javax.ejb.TransactionRolledbackLocalException
    javax.ejb.TransactionRolledbackLocalException: Client's transaction aborted
         at com.sun.ejb.containers.BaseContainer.useClientTx(BaseContainer.java:2267)
         at com.sun.ejb.containers.BaseContainer.preInvokeTx(BaseContainer.java:2147)
         at com.sun.ejb.containers.MessageBeanContainer.beforeMessageDelivery(MessageBeanContainer.java:906)
         at com.sun.ejb.containers.MessageBeanListenerImpl.beforeMessageDelivery(MessageBeanListenerImpl.java:38)
         at com.sun.enterprise.connectors.inflow.MessageEndpointInvocationHandler.invoke(MessageEndpointInvocationHandler.java:131)
         at $Proxy62.invoke(Unknown Source)
         at com.stc.bpms.bpelConnector.impl.AbstractWSProvider.invoke(AbstractWSProvider.java:105)
         at com.stc.bpms.bpelImpl.runtime.Interpreter$1.run(Interpreter.java:661)
         at com.stc.bpms.bpelConnector.impl.ExecutorImpl$WorkImpl.run(ExecutorImpl.java:338)
         at com.sun.enterprise.connectors.work.OneWork.doWork(OneWork.java:54)
         at com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:382)
    |#]
    [#|2008-01-29T13:15:24.015+0100|INFO|IS5.1.3|javax.enterprise.system.container.ejb.mdb|_ThreadID=39; ThreadName=Worker: 24;stacktrace-id=1;|javax.ejb.TransactionRolledbackLocalException
    javax.ejb.TransactionRolledbackLocalException: Exception thrown from bean; nested exception is: javax.ejb.TransactionRolledbackLocalException: Client's transaction aborted
    javax.ejb.TransactionRolledbackLocalException: Client's transaction aborted
         at com.sun.ejb.containers.BaseContainer.useClientTx(BaseContainer.java:2267)
         at com.sun.ejb.containers.BaseContainer.preInvokeTx(BaseContainer.java:2147)
         at com.sun.ejb.containers.MessageBeanContainer.beforeMessageDelivery(MessageBeanContainer.java:906)
         at com.sun.ejb.containers.MessageBeanListenerImpl.beforeMessageDelivery(MessageBeanListenerImpl.java:38)
         at com.sun.enterprise.connectors.inflow.MessageEndpointInvocationHandler.invoke(MessageEndpointInvocationHandler.java:131)
         at $Proxy62.invoke(Unknown Source)
         at com.stc.bpms.bpelConnector.impl.AbstractWSProvider.invoke(AbstractWSProvider.java:105)
         at com.stc.bpms.bpelImpl.runtime.Interpreter$1.run(Interpreter.java:661)
         at com.stc.bpms.bpelConnector.impl.ExecutorImpl$WorkImpl.run(ExecutorImpl.java:338)
         at com.sun.enterprise.connectors.work.OneWork.doWork(OneWork.java:54)
         at com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:382)
    javax.ejb.TransactionRolledbackLocalException: Exception thrown from bean; nested exception is: javax.ejb.TransactionRolledbackLocalException: Client's transaction aborted
         at com.sun.ejb.containers.BaseContainer.checkExceptionClientTx(BaseContainer.java:2570)
         at com.sun.ejb.containers.BaseContainer.postInvokeTx(BaseContainer.java:2422)
         at com.sun.ejb.containers.MessageBeanContainer.afterMessageDelivery(MessageBeanContainer.java:1056)
         at com.sun.ejb.containers.MessageBeanListenerImpl.afterMessageDelivery(MessageBeanListenerImpl.java:46)
         at com.sun.enterprise.connectors.inflow.MessageEndpointInvocationHandler.invoke(MessageEndpointInvocationHandler.java:154)
         at $Proxy62.invoke(Unknown Source)
         at com.stc.bpms.bpelConnector.impl.AbstractWSProvider.invoke(AbstractWSProvider.java:105)
         at com.stc.bpms.bpelImpl.runtime.Interpreter$1.run(Interpreter.java:661)
         at com.stc.bpms.bpelConnector.impl.ExecutorImpl$WorkImpl.run(ExecutorImpl.java:338)
         at com.sun.enterprise.connectors.work.OneWork.doWork(OneWork.java:54)
         at com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:382)
    |#]

    PaulPeters wrote:
    The particular Page Flow instance has remained active for some reason and just timed out in accordance to the settings for eInsight on the Integration Server's section.
    Does the Page Flow start with an Event-Based Decision ? There's a small reference to that in the User Guide, but quite important in real-life.
    Do you implement time-out features inside the Page Flow ?Thanks for your reply.
    It happens after series of clicks. When I keep the app busy.
    My page flow looks like this:
    Event Based Decision, single link, continues with a while(true) loop, which contains everything else.
    JCD loads object from database, they are shown in a table with links (buttons styled as links) and some controls (pagination, but non jcaps, my own, and sorting)
    After click, the page flow continues to a detail page. From detail page you get back by a back button in browser. (Is this causing the problem?)
    After choosing the sort option or pagination, the page flow returns to the beginning of the while loop.
    I don't use any time-out features
    I've migrated the UI to another domain. The first domain runs a scheduled process. Now I don't get time outs. Maybe that was the problem. But the test team didn't test it thoroughly yet.

  • Warn About Changes and page flow

    Hi, in dev guide, it is said:
    For any single page, or first page in a navigation flow where the retainAM URL parameter value is set to Y (and the pages share the same root UI application module) as you navigate between each page, set the Warn About Changes property to True on the pageLayout region.
    in other word, if pages in page flow are in the same AM, after changing am in the first page, anytime leave the following page to click the home link(oracle branding), the WarnAboutChanges msg should be alerted?
    But,
    Now I have two pages, using the same AM, set the two pages' property "Warn About Changes" to true.
    And I want to implement this: after inputing some words, and click a sunmitButton forward to pageB(add retainAM = Y in setForwardURL in code), then in pageB don't do anything, but click home link, WarnAboutChanges message does not alert.
    Could anyone help to explain this?
    And how to implement the page flow warnAboutChanges?
    And how root application module to set if different pages in different AMs?
    PreThanks to you very much!

    But,
    Now I have two pages, using the same AM, set the two pages' property "Warn About Changes" to true.
    And I want to implement this: after inputing some words, and click a sunmitButton forward to pageB(add retainAM = Y in setForwardURL in code), then in pageB don't do anything, but click home link, WarnAboutChanges message does not alert.
    Could anyone help to explain this?
    I asked u previously also read dev guide properly, here it what dev guide say:
    "By default, the Warn About Changes property is set to True for each of the items in this list except for the
    OASubmitButtonBean whose default value is False (a ccording to the UI guidelines, the "Warn About
    Changes" check should be performed for all submit button instances except for Cancel, Apply and Submit
    buttons). If you want to explicitly enable the check for a submit button, set this property to True. Note that can
    also set it programmatically by calling OASubmitButtonBean.setWarnAboutChanges(pageContext,
    Boolean.TRUE) in processRequest()."
    I hope this answers ur question.
    And how to implement the page flow warnAboutChanges?
    Read "Save Model ('Warn About Changes')" in dev guide :).And how root application module to set if different pages in different AMs?
    You can nest differnt AMs in on AM in AM wizard.--Mukul                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Nested Page Flows

    Hi,
              I am getting ActionNotFoundException when browsing through my pages which use the Nested Page Flows.
              The complete description of the Nested Page Flow we are using in our Application .
              CustomerController --> Parent Controller
              ServiceAddressController --> Child Controller
              OrganizationHierarchyController --> Child Controller
              The CustomerController.saveCustomerContacts() action invokes the ServiceAddressController.begin().
              ServiceAddressController performs some actions and returns the Control back to the CustomerController.serviceAddressDone().
              CustomerController.serviceAddressDone() inturn again immediately invokes the OrganizationHierarchyController.begin().
              After performing some actions the OrganizationHierarchyController returns the control back to CustomerController.organizationHierarchyDone().
              The logs indicate that the Exception is occuring after returning from the OrganizationHierarchyController.begin().
              This is happening in the Integration environment.
              And one more thing…
              We have found from the Bea Web site
              (link: http://edocs.bea.com/workshop/docs81/doc/en/core/index.html ) that the following Exception occurs in the development environment..
              com.bea.wlw.netui.pageflow
              EmptyNestingStackException Class
              public class EmptyNestingStackException
              extends PageFlowException
              Exception that occurs when the user invokes an action in a nested page flow that is qualified with a @jpf:forward return-action="action-name-in-calling-pageflow " annotation, but there is no calling page flow. This can happen in iterative development mode when you have modified files and caused the web application to be redeployed, or when the session expires.
              Hierarchy
              Object
              Throwable
              Exception
              RuntimeException
              PageFlowException
              EmptyNestingStackException
              All Implemented Interfaces
              Serializable
              We initially thought that the above Exception might be the cause for ActionNotFoundException.
              Since the Weblogic Server removes the Controller from the nesting stack, and hence the Controller is lost and there by resulting in ActionNotFoundException.
              And we thought that this happens only in the iterative development Environment.
              But, we are getting this Exception even in the Integration Environment.
              This is causing problems for us to test the Application, and resolve the defects, and considerably hindering the progress of our development and the testing phase.
              We would appreciate any one who could find a quick solution for the above problem.
              We are Using Weblogic 8.1.3 with ServicePack 3.
              thanks,
              Venkatesh Pagadala.
              :-)

    Did you get to the bottom of this ?
              The exception can be generated when you try to access /invoke an action on a pageflow that is no longer in the stack.
              Once you use the return-to and go back to a parent page flow then then nested page flow is destroyed.

  • Re: Page Flow Question

    John,
    We are looking into this and will get back to you.
    Regards,
    Anurag
    "John Hundley" <[email protected]> wrote in message
    news:3f184486$[email protected]..
    >
    Hi,
    I have developed a Page Flow application that has more than one entrypoint into
    a given set of pages that perform updates to a database. Depending onwhere the
    user entered the pages from I want to return to that page once the personhas
    completed making the updates. I have been toying with the return to pagebut
    that only works to go to the previous page and no further. I was thinkingI could
    set a variable in the globalApp class that would point to the initialentry page
    but I would have to do that in the .jsp and I haven't quite figured outhow to
    access globalApp from a .jsp. Is this the best approach or are therebetter ways
    of doing what I am trying to do? Has anyone done this sort of thing andhave an
    example?
    Thanks,
    John

    Thanks suggestion from Eddie and Gregory! Actually Eddie's suggestion by putting
    everything in a single line did work, however I encountered a even weirder problem:
    I am using a plugin called Chime Pro from MDL, by putting everything in a single
    line, the plugin is able to render picture on the test brower on server machine,
    however, the picture still won't be rendered on the client browser (on another
    PC with plugin installed), the weirdest thing is that when I start the TCPtrace
    utility:http://www.pocketsoap.com/tcptrace/, the plugin start to work.
    I initially think it may due to the port problem, I switched the server port to
    the common 8080, it still won't work.
    Does anyone in this group use Chime Pro plugin? Any suggestion is appreciated.
    Thanks
    Zhenhao
    Eddie O'Neil <[email protected]> wrote:
    Zhenhao--
    Try putting everything on a single line; it looks like the \n's at the
    end of the taglib definitions are putting returns in the output page.
    Eddie
    Zhenhao Qi wrote:
    Hi Eddie,
    Thanks for the hint, by using <netui:content/> tag, I did get rid ofthe HTML
    <span> ...</span> wrap. However, I still got several empty lines beforemy output
    (please see the attached returned-format.txt and the format_wanted.txtand the
    screen shot ), this causes my plugin refuse to render the picture.I think those
    empty line is due to my code below, somehow the WLS output newlineif I have code
    on that line "
    <%@ page contentType="chemical/x-mdl-molfile"%>
    <%@ taglib uri="netui-tags-databinding.tld" prefix="netui-data"%>
    <%@ taglib uri="netui-tags-template.tld" prefix="netui-template"%>
    <%@taglib prefix="netui" uri="netui-tags-html.tld"%>
    <netui-data:callPageFlow method="GetMolbyscode" resultId="jpfMol">
    <netui-data:methodParameter value="{url.Sample_code}"/>
    </netui-data:callPageFlow>
    <netui:content value="{pageContext.jpfMol}" >
    </netui:content>
    I think we are getting close to solve the problem, but this maybe adifficult
    one due to workshop's own setting.
    Thanks!
    zq
    Eddie O'Neil <[email protected]> wrote:
    Zhenhao--
    Try using the <netui:content/> tag; this simply writes the text to
    the output stream and does not wrap it in an HTML <span>...</span>
    as
    the <netui:label/> tag does.
    Let me know if that helps...
    Eddie
    Zhenhao Qi wrote:
    Hi,
    Looks like my workshop debugger is behaving better this afternoon.My apology
    for the previous message, the "call PageFlow" did return the stringI expected,
    However, the format is little off from what I expected, please seethe attached
    return format and the format I wanted.
    I have the following jsp code:
    <%@ page contentType="chemical/x-mdl-molfile"%>
    <%@ taglib uri="netui-tags-databinding.tld" prefix="netui-data"%>
    <%@ taglib uri="netui-tags-html.tld" prefix="netui"%>
    <%@ taglib uri="netui-tags-template.tld" prefix="netui-template"%>
    <%@taglib prefix="netui" uri="netui-tags-html.tld"%>
    <netui-data:callPageFlow method="GetMolbyscode" resultId="jpfMol">
    <netui-data:methodParameter value="{url.Sample_code}"/>
    </netui-data:callPageFlow>
    <netui:label value="{pageContext.jpfMol}" >
    </netui:label>
    Is there any way inside workshop that I maybe able to tweak code alittle to make
    the format suit my need, this is critical for my plugin to recognizethe format
    to reder some picture.
    Thanks!
    Zq
    "Zhenhao Qi" <[email protected]> wrote:
    Hi Eddie,
    Thanks a lot for the info.! the "{url.Sample_code}" did solve my
    dynamic
    data
    binding problem, however it looks like it did not return any thingwhen
    I use
    the following code:
    <netui-data:callPageFlow method="GetMolbyscode" resultId="jpfMol">
    <netui-data:methodParameter value="{url.Sample_code}"/>
    </netui-data:callPageFlow>
    <netui:label value="{pageContext.jpfMol}" >
    </netui:label>
    The method "GetMolbyscode" in the .jpf as following:
    public String GetMolbyscode(String S_code)
    try {
    java.sql.Clob molfile = structuredb.getmolbyscode(S_code);
    int len = (int)molfile.length();
    String molfil = molfile.getSubString(1, len);
    return molfil;
    catch (SQLException e) {
    System.err.print("Caught Exception : ") ;
    e.printStackTrace() ;
    return null;
    I did use "toggle breakpoint" to step through the excution of "GetMolbyscode",
    I got the expected "molfil". I need to particularly mention that
    the
    returned
    string "molfil" contains several "\n" inside it, I am wondering this
    may cause
    the problem.
    By the way, the "toggle breakpoint" debugging function sometimesdid
    not work,
    I am wondering why.
    Thanks!
    Zq
    Eddie O'Neil <[email protected]> wrote:
    Zhenhao--
    The NetUI tags use data binding expressions to access data. Oneof
    the ways you could do this is to use the "url" binding context,
    which
    provides access to the first parameter that shows up on the URLfor
    each
    parameter key; this is equivalent to your getParameter(...) call.
    Replace your methodParameter with this:
    <netui-data:methodParameter value="{url.Sample_code}"/>
    Hope that helps...
    Eddie
    Zhenhao Qi wrote:
    Hi All,
    I am new to this newsgroup. I am using workshop 8.1 and try to
    call
    dynamically
    the PageFolow method, but it won't work, is there alternatives?
    I have the follwing codes:
    <%
    String S_code = request.getParameter("Sample_code");
    %>
    <netui-data:callPageFlow method="GetMolbyscode" resultId="jpfmol">
    <netui-data:methodParameter value="<%=S_code%>"/>
    </netui-data:callPageFlow>
    However, it give me the error: this attribute does not supportrequest
    time value.
    Thanks!
    zq
    ISISHOST03270216272D 1 1.00000 0.00000 26670
    41 44 0 0 0 999 V2000
    2.7381 -3.0319 0.0000 C 0 0 0 0 0 0 0 00
    3.5627 -3.0960 0.0000 C 0 0 0 0 0 0 0 00
    4.0298 -2.4093 0.0000 C 0 0 0 0 0 0 0 00
    3.6710 -1.6674 0.0000 C 0 0 0 0 0 0 0 00
    2.3818 -2.2873 0.0000 C 0 0 0 0 0 0 0 00
    2.8488 -1.6080 0.0000 C 0 0 0 0 0 0 0 00
    2.3471 -0.9539 0.0000 N 0 0 3 0 0 0 0 00
    1.5699 -1.2290 0.0000 C 0 0 0 0 0 0 0 00
    1.5915 -2.0530 0.0000 C 0 0 0 0 0 0 0 00
    0.8901 -0.7616 0.0000 C 0 0 0 0 0 0 0 00
    0.9549 0.0608 0.0000 O 0 0 0 0 0 0 0 00
    0.1454 -1.1167 0.0000 N 0 0 0 0 0 0 0 00
    -0.5344 -0.6494 0.0000 C 0 0 0 0 0 0 0 00
    -0.4678 0.1701 0.0000 C 0 0 0 0 0 0 0 00
    -1.1469 0.6373 0.0000 C 0 0 0 0 0 0 0 00
    -1.8925 0.2822 0.0000 C 0 0 0 0 0 0 0 00
    -1.9550 -0.5447 0.0000 C 0 0 0 0 0 0 0 00
    -1.2751 -1.0082 0.0000 C 0 0 0 0 0 0 0 00
    -1.0817 1.4597 0.0000 C 0 0 3 0 0 0 0 00
    -0.3368 1.8145 0.0000 C 0 0 0 0 0 0 0 00
    -1.7613 1.9274 0.0000 C 0 0 0 0 0 0 0 00
    -0.3041 1.1839 0.0000 C 0 0 0 0 0 0 0 00
    -1.3358 -1.8310 0.0000 O 0 0 0 0 0 0 0 00
    -2.0787 -2.1898 0.0000 C 0 0 0 0 0 0 0 00
    -2.6984 -0.9024 0.0000 N 0 0 0 0 0 0 0 00
    -3.3799 -0.4375 0.0000 S 0 0 3 0 0 0 0 00
    -4.1233 -0.7952 0.0000 C 0 0 0 0 0 0 0 00
    -2.7549 0.1042 0.0000 O 0 0 0 0 0 0 0 00
    -3.7404 0.3098 0.0000 O 0 0 0 0 0 0 0 00
    4.1342 -0.9847 0.0000 N 0 0 0 0 0 0 0 00
    4.9571 -1.0445 0.0000 C 0 0 0 0 0 0 0 00
    5.4203 -0.3619 0.0000 C 0 0 0 0 0 0 0 00
    5.3167 -1.7870 0.0000 O 0 0 0 0 0 0 0 00
    6.2476 -0.4235 0.0000 C 0 0 0 0 0 0 0 00
    6.7107 0.2583 0.0000 C 0 0 0 0 0 0 0 00
    6.3511 1.0018 0.0000 C 0 0 0 0 0 0 0 00
    5.5239 1.0593 0.0000 N 0 0 0 0 0 0 0 00
    5.0645 0.3766 0.0000 C 0 0 0 0 0 0 0 00
    6.8135 1.6851 0.0000 N 0 0 0 0 0 0 0 00
    7.6364 1.6264 0.0000 C 0 0 0 0 0 0 0 00
    2.5816 -0.1629 0.0000 C 0 0 0 0 0 0 0 00
    9 5 1 0 0 0
    19 20 1 0 0 0
    4 6 1 0 0 0
    19 21 1 0 0 0
    8 10 1 0 0 0
    19 22 1 0 0 0
    5 6 2 0 0 0
    18 23 1 0 0 0
    10 11 2 0 0 0
    23 24 1 0 0 0
    1 2 2 0 0 0
    17 25 1 0 0 0
    10 12 1 0 0 0
    25 26 1 0 0 0
    5 1 1 0 0 0
    26 27 1 0 0 0
    12 13 1 0 0 0
    26 28 2 0 0 0
    2 3 1 0 0 0
    26 29 2 0 0 0
    13 14 2 0 0 0
    4 30 1 0 0 0
    30 31 1 0 0 0
    14 15 1 0 0 0
    31 32 1 0 0 0
    3 4 2 0 0 0
    31 33 2 0 0 0
    15 16 2 0 0 0
    32 34 2 0 0 0
    6 7 1 0 0 0
    34 35 1 0 0 0
    16 17 1 0 0 0
    35 36 2 0 0 0
    7 8 1 0 0 0
    36 37 1 0 0 0
    17 18 2 0 0 0
    37 38 2 0 0 0
    38 32 1 0 0 0
    18 13 1 0 0 0
    36 39 1 0 0 0
    8 9 2 0 0 0
    39 40 1 0 0 0
    15 19 1 0 0 0
    7 41 1 0 0 0
    M END
    </span>------------------------------------------------------------------------

  • 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;
    }

  • Struts Page Flow Editor Unusably Slow

    I find the Struts page flow editor unusably slow.
    Opening a diagram takes ~ 30 s
    Dropping something from the component palette takes 10s
    Just selecting something takes 1-2 seconds.
    Moving objects on the diagram takes so long it looks as if nothing is happening so you end up trying to move things twice.
    All the diagrammers are slow, but this one is appalling.
    My hardware is Pentium M 1.7Ghz 1GB RAM.
    I have plenty of RAM free

    Not many.
    Here is the struts config
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.1//EN"
              "http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd">
    <struts-config>
         <form-beans>
              <form-bean name="loginForm" type="com.ardeo.emdt.struts.LoginForm"/>
              <form-bean name="patientSearchForm" type="com.ardeo.emdt.struts.PatientSearchForm"/>
              <form-bean name="editPatientDetailsForm" type="com.ardeo.emdt.struts.EditPatientDetailsForm"/>
              <form-bean name="consultationNoteForm" type="com.ardeo.emdt.struts.ConsultationNoteForm"/>
              <form-bean name="userForm" type="com.ardeo.emdt.struts.UserForm"/>
              <form-bean name="editListForm" type="com.ardeo.emdt.struts.ListForm"/>
              <form-bean name="roleForm" type="com.ardeo.emdt.struts.RoleForm"/>
              <form-bean name="noteRolesForm" type="com.ardeo.emdt.struts.NoteRolesForm"/>
         </form-beans>
         <global-exceptions>
              <exception key="persistence.exception" type="com.ardeo.persistence.PersistenceException" handler="com.ardeo.emdt.struts.PersistenceExceptionHandler"/>
         </global-exceptions>
         <global-forwards>
              <forward name="persistenceError" path="/persistenceError.jsp"/>
              <forward name="loginPage" path="/login.jsp"/>
         </global-forwards>
         <action-mappings>
              <action path="/login" type="com.ardeo.emdt.struts.LoginAction" name="loginForm" scope="request" input="/login.jsp">
                   <forward name="success" path="/patientSearch.jsp"/>
              </action>
              <action path="/patientSearch" type="com.ardeo.emdt.struts.PatientSearchAction" name="patientSearchForm" scope="request" input="/patientSearch.jsp">
                   <forward name="singleResult" path="/patientDetails.jsp"/>
                   <forward name="multiResult" path="/patientSearch.jsp"/>
              </action>
              <action path="/editPatientDetails" type="com.ardeo.emdt.struts.EditPatientDetailsAction" name="editPatientDetailsForm" scope="request" input="/patientDetails.jsp">
                   <forward name="success" path="/patientDetails.jsp"/>
              </action>
              <action path="/logout" type="com.ardeo.emdt.struts.LogoutAction" scope="request"/>
              <action path="/editNoteRoles" type="com.ardeo.emdt.struts.EditNoteRolesAction" name="noteRolesForm" scope="request" input="/editRoles.jsp"/>
              <action path="/editUser" type="com.ardeo.emdt.struts.EditUserAction" name="userForm" scope="request" input="/editUsers.jsp"/>
              <action path="/createUser" type="com.ardeo.emdt.struts.CreateUserAction" name="userForm" scope="request" input="/createUsers.jsp"/>
              <action path="/createRole" type="com.ardeo.emdt.struts.CreateRoleAction" name="roleForm" scope="request" input="/createRoles.jsp"/>
              <action path="/updateList" type="com.ardeo.emdt.struts.EditListAction" name="editListForm" scope="request" input="/editList.jsp"/>
              <action path="/createConsultationNote" type="com.ardeo.emdt.struts.CreateConsultationNoteAction" scope="request" input="/consultationNote.jsp"/>
              <action path="/getConsultationNote" type="com.ardeo.emdt.struts.GetConsultationNoteAction" scope="request" input="/consultationNote.jsp">
                   <forward name="failed" path="/patientDetails.jsp"/>
              </action>
              <action path="/deleteConsultationNote" type="com.ardeo.emdt.struts.DeleteConsultationNoteAction" scope="request" input="/getPatientHistory.do">
                   <forward name="failed" path="/getPatientHistory.do"/>
              </action>
              <action path="/getPatientHistory" type="com.ardeo.emdt.struts.GetPatientHistoryAction" scope="request" input="/patientHistory.jsp"/>
              <action path="/getPatientSummary" type="com.ardeo.emdt.struts.GetPatientSummaryAction" scope="request" input="/patientSummary.jsp">
                   <forward name="singleForm" path="/patientSummary.jsp"/>
                   <forward name="duplicateForms" path="/selectSummaryForms.do"/>
              </action>
              <action path="/viewChangelog" type="com.ardeo.emdt.struts.GetChangelogAction" scope="request" input="/changelog.jsp"/>
              <action path="/updateForm" type="com.ardeo.emdt.struts.ConsultationNoteAction" name="consultationNoteForm" scope="request" input="/consultationNote.jsp">
                   <forward name="save" path="/patientDetails.jsp"/>
                   <forward name="cancel" path="/patientDetails.jsp"/>
              </action>
              <action path="/selectSummaryForms" type="com.ardeo.emdt.struts.SelectSummaryFormsAction"/>
         </action-mappings>
         <message-resources parameter="application"/>
    </struts-config>

  • Nested page flows with a common popup

    Hello,
    I would appreciate some help with the following problem...
    I have a web application that utilizes nested page flows. I need the
    ability to popup a window (with dynamic data) that can be initialized from
    any page flow in the application. The catch is that after popup is opened,
    the active page flow in the application must be the flow that created the
    popup. Also, I want to have one copy of this JSP in my application, and it
    requires page flow data binding.
    My solution as it stands works, but throws an Exception. Basically, the
    popup has its own nested page flow that is initialized by an action in any
    other flow that needs it. The popup flow uses the response to send a
    redirect to a blank window, then forwards to a return action to get back to
    the popup flow's parent flow. Functionally this works perfectly, however,
    the following exception is thrown:
    java.lang.IllegalStateException: Cannot forward to a response that is
    already committed
    Obviously, I'm not going about this correctly. Thanks for any help in
    advance,
    Chris

    Hello,
    I would appreciate some help with the following problem...
    I have a web application that utilizes nested page flows. I need the
    ability to popup a window (with dynamic data) that can be initialized from
    any page flow in the application. The catch is that after popup is opened,
    the active page flow in the application must be the flow that created the
    popup. Also, I want to have one copy of this JSP in my application, and it
    requires page flow data binding.
    My solution as it stands works, but throws an Exception. Basically, the
    popup has its own nested page flow that is initialized by an action in any
    other flow that needs it. The popup flow uses the response to send a
    redirect to a blank window, then forwards to a return action to get back to
    the popup flow's parent flow. Functionally this works perfectly, however,
    the following exception is thrown:
    java.lang.IllegalStateException: Cannot forward to a response that is
    already committed
    Obviously, I'm not going about this correctly. Thanks for any help in
    advance,
    Chris

  • 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

  • Multiple Browsers with the same Page Flow

    I have a legacy application that I am working on migrating to Weblogic. The
    legacy application allowed the user to have multiple windows of the same
    module open at the same time. Users found this useful if they wanted to look
    at two different records in the same module. For example, if you had a
    registration app and you wanted to look at Joe's registration information
    and Sue's registration. Is it possible to have two browsers within the same
    session open and pointing to the same RegistrationController.jpf?
    Thank You.
    Michelle

    I believe our problem is that our form beans are class members of the page
    flow thus when you open another instance of the same controller the form
    beans are overwritten. Our GUI is displayed as modules containing multiple
    tabs with a form bean for each tab. The module has a controller, signifying
    the page flow for the module. So, one record in a module will span multiple
    tabs. We did not want to have one big form bean that is why we multiple
    form beans. But it now looks like we will need to store these form beans
    perhaps to the session in a collection identified by the window instance
    they belong to.
    We also need to do multiple different page flows but I don't think nested
    page flows will not work here because the page flows would almost need to be
    nested of each other. I guess you could almost think of as each module is
    an independent application however some can be invoked by others.
    <Rich Feit> wrote in message news:[email protected]..
    Hi Michelle,
    Yes, that should be just fine. That page flow will remain the "current
    page flow" as requests from both browser windows hit it. The NetUI
    runtime synchronizes the action methods, so you don't need to worry about
    thread-safety within them.
    There's also a way to have multiple different active page flows at the
    same time, but in this case you don't need to do anything special.
    Rich

Maybe you are looking for

  • Error message when trying to install on Vista

    I've been trying to install Safari 4 on Windows Vista. It gets all the way to the end of the install and then an error message pops up: +An error occurred during the installation of assembly 'Microsoft.VC80.CRT,version="8.0.50727.4053",type="win32",p

  • Using Websites in Keynote

    Is it possible to input a website into a Keynote presentation that when presented streams live? (not one that just updates every so often)

  • Sched. Collective Order

    Experts, if I have a collective order one parent order (A) and three child orders (B,C,D). At order start the order start dates and finish dates are alligned. My question is, if I get a delay in child order B, should the parent order A automatically

  • Help me!!! My powerbook do not boot!!!!

    Hi, I have tryed to install mac os 10.2 on my powerbook g3. I have seen that it is impossible because that cds are unable to boot from my computer. Than I went on startup, and I click something (but I do not know what...). After few minut I have shut

  • Landscape problems AIR 2.6?

    Hi, I would like to know if anyone has still problems exporting an ipa with both landscape-views by default with the new AIR version? With the skaling, and autorotation my app works well, but now there is a little gap between the default-image and th