Page flow actions are called twice from each UI's action=...

Odd observation: my nothing fancy login / pw change / logged in / jsps and pageflow are having the actions in the .jpf called twice for each jsp form action=.
What can cause this?
For example: the login jsp form action=loginAction, the corresponding method in the .jpf is called twice when the user clicks the login button on the login UI. The same behavior is observed for all the other actions in this page flow too.
This has been a real problem for the pw change UI. Until I figured this out, pw change always returned invalid pw due to the second call to the action. :))
tnx curt

I have narrowed it down even more. What is happening is that you select the first item in the list it throws a validation error. I found this by adding and inline message. The weird thing is that if you select any other item in the list but the first everything flows as normal.
This is a list of dates bound to a date type column in a database.
Any Idea's why selecting the first item in a list would throw the validation message?

Similar Messages

  • Workshop 8.1: Page Flow Action and jsp:include

    Hi everybody.
    Can i use jsp:include to "include" a page flow action ?
    I've tried it, but odd things are happening: The resource got included, but fragments of html source "around" it are been lost.
    Any ideas ?
    Thanks in advance.

    Hi Daniel
    There are 2 ways you can acheive this.
    1) Using something called Pageflowscoped form for this. This will let you use arrays for checkbox group.
    The main part will be that you need to define a member varaible of the form at the pageflow level there by the data will not be lost
    2) Using Request scoped form like you have now but need to modify the getter method to populate the "searchResult" object.
    public List getSearchResult() {
    if( null == searchResult){
    System.out.println(" Pouplate the searchResult here. ");
    searchResult= new ArrayList();
    //populate the default values.
    return this.searchResult;
    More info at:
    http://e-docs.bea.com/workshop/docs81/doc/en/workshop/guide/netui/guide/conReqScopedVsPageScopedBean.html
    I have a sample with pageflowscoped bean and requestscoped bean that I can send you if you provide your email address.
    Unfortunately we cannot attach files in the newsgroup.
    Thanks
    Vimala

  • Workshop 8.1 - jsp:include an Page Flow action resource

    Hi everybody.
    Can i use jsp:include to "include" a page flow action ?
    I've tried it, but odd things are happening: The resource got included, but fragments of html source "around" it are been lost.
    Any ideas ?
    Thanks in advance.

    Hi everybody.
    Can i use jsp:include to "include" a page flow action ?
    I've tried it, but odd things are happening: The resource got included, but fragments of html source "around" it are been lost.
    Any ideas ?
    Thanks in advance.

  • I cannot log onto the App Store, the page appears when I call it from the dock or the Apple menu. I can call the log-in box from the menu bar, but on signing in the spinning icon just keeps spinning,(not the beachball). Any suggestions? Using 10.6.7 and u

    I cannot log onto the App Store, the page appears when I call it from the dock or the Apple menu and I can call the log-in box from the menu bar, but on signing in the spinning icon just keeps spinning,(not the beachball).  Using 10.6.7 and up-to-date on all software. Any suggestions?

    Could be a third party app preventing you from being able to login.
    Mac App Store: Sign in sheet does not appear, or does not accept typed text
    If it's not a third party issue, follow the instructions here.
    Quit the MAS if it's open.
    Open a Finder window. Select your Home folder in the Sidebar on the left then open the Library folder then the Caches folder.
    Move the com.apple.appstore and the com.apple.storeagent files from the Caches folder to the Trash
    From the same Library folder open the Preferences folder.
    Move these files Preferences folder to the Trash: com.apple.appstore.plist and com.apple.storeagent.plist
    Same Library folder open the Cookies folder. Move the com.apple.appstore.plist file from the Cookies folder to the Trash.
    Relaunch the MAS.

  • Question about garageband: I have 3 short original songs that i wanted to merge ala "Bohemian Rhapsody". Is that possible in garageband? their tempos are all different from each other. Advance thanks.

    Question about garageband: I have 3 short original songs that i wanted to merge ala "Bohemian Rhapsody". Is that possible in garageband? their tempos are all different from each other. Advance thanks.

    First of all, GarageBand iOS allows for only one tempo and there is no Merge Song feature.
    What you can do.
    Switch between the songs and copy-paste the individual Tracks. You can also Merge Tracks if you run into the 8 Track limitation.
    Hope that helps
    Edgar Rothermich
    http://DingDingMusic.com/Manuals
    'I may receive some form of compensation, financial or otherwise, from my recommendation or link.'

  • Is Two Classes that call methods from each other possible?

    I have a class lets call it
    gui and it has a method called addMessage that appends a string onto a text field
    i also have a method called JNIinterface that has a method called
    sendAlong Takes a string and sends it along which does alot of stuff
    K the gui also has a text field and when a button is pushed it needs to call sendAlong
    the JNIinterface randomly recieves messages and when it does it has to call AddMessage so they can be displayed
    any way to do this??

    Is Two Classes that call methods from each other possible?Do you mean like this?
       class A
         static void doB() { B.fromA(); }
         static void fromB() {}
       class B
         static void doA() { A.fromB(); }
         static void fromA() {}
    .I doubt there is anyway to do exactly that. You can use an interface however.
       Interface IB
         void fromA();
       class A
         IB b;
         A(IB instance) {b = instance;}
         void doB() { b.fromA(); }
         void fromB() {}
       class B implements IB
         static void doA() { A.fromB(); }
         void fromA() {}
    .Note that you might want to re-examine your design if you have circular references. There is probably something wrong with it.

  • ADF Page Flow Action - Page Refresh

    Hello,
    BACKGROUND
    I'm working on a POC development environment using Oracle technologies. I'm using a Windows XP SP3 machine with JDeveloper 11.1.1.5 and WebLogic 10.3. What I have currently setup is:
    - Work in Jdeveloper 11.1.1.5 to edit code sources etc
    - Build project and EAR using Ant
    - Deploy EAR to WebLogic 10.3 using WLST
    The JDeveloper project was created as a WebCenter Portal Application however I don't use any of the portal features nor are there any included in the project (we might use this in the future). It's a basic vanilla ADF application at the moment with a few JSPs, a placeholder data control and 1 bounded and unbounded task flows.
    PROBLEM
    The package builds and deploys fine and I can view a landing page ok. The problem is when I try and click a button or link that goes to another page in the Page Flow the page just seems to refresh. I can see that a request is hitting the server but it would seem the framework isn't invoking the action.
    EXTRA INFO / DEBUG
    The weird thing is, if I right click a page in JDeveloper and run it in the integrated weblogic the application works fine. I thought it might be my build process so I tried right clicking and exporting an EAR file from JDeveloper and deploying that into my WebLogic but that one fails with the same refresh problem as my Ant generated one.
    I have done a file and directory comparison of the EAR and it all is the same. This lead me to believe it might be my WebLogic server/domain, so I deployed my Ant generated EAR manually into the integrated JDeveloper weblogic in which the auto deploy application is working. This however still fails with the refresh problem. It must be something to do with my EAR but I can't for the life of me figure it out as it all looks the same!
    I do get a few warnings when deploying, hopefully these can help:
    ####<11/10/2011 11:00:19 AM EST> <Warning> <J2EE> <OVLD630422KV1S> <AdminServer> <[ACTIVE] ExecuteThread: '9' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <3fe29258d1efb468:5549c41:132efedbfd7:-8000-0000000000000100> <1318291219078> <BEA-160140> <Unresolved optional package references (in META-INF/MANIFEST.MF): [Extension-Name: oracle.apps.common.resource, referenced from: C:\Oracle\Middleware\user_projects\domains\base_domain\servers\AdminServer\tmp\_WL_user\oracle.webcenter.framework\l81aqz]. Make sure the referenced optional package has been deployed as a library.>
    ####<11/10/2011 11:00:21 AM EST> <Warning> <J2EE> <OVLD630422KV1S> <AdminServer> <[ACTIVE] ExecuteThread: '9' for queue: 'weblogic.kernel.Default (self-tuning)'> <weblogic> <> <3fe29258d1efb468:5549c41:132efedbfd7:-8000-0000000000000100> <1318291221031> <BEA-160195> <The application version lifecycle event listener oracle.security.jps.wls.listeners.JpsAppVersionLifecycleListener is ignored because the application MyApp-0.1 is not versioned.>
    ####<11/10/2011 11:00:36 AM EST> <Warning> <Default> <OVLD630422KV1S> <AdminServer> <[ACTIVE] ExecuteThread: '9' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <3fe29258d1efb468:5549c41:132efedbfd7:-8000-0000000000000104> <1318291236562> <J2EE JMX-46238> <Cannot map nonserializable type "interface oracle.adf.mbean.share.config.runtime.resourcebundle.BundleListType" to Open MBean Type for mbean interface oracle.adf.mbean.share.config.runtime.resourcebundle.AdfResourceBundleConfigMXBean, attribute BundleList.>
    Cheers,
    Ross

    Oh! I see now yes that seems to have fixed it. It seems that if you create a page as .jsp and .jspx they are slightly different too.
    .jspx has this around the content of the page
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
    <jsp:directive.page contentType="text/html;charset=UTF-8"/>
    </jsp:root>
    The .jsp does not. So when you hit the .jsp page (e.g. test.jsp) in the browser without the extension (e.g. url:port/myapp/faces/test) you get a 404 not found.
    Hitting one that was created as a .jspx page with the extra XML stuff in the file works ok when you drop the extension.
    So just for clarification, should you use .jspx for 'pages' and .jsp for fragments of a page?

  • Using Methods not Defined in a class that you are calling them from

    For one of my assignment I have had to create a class with methods and then create another class to test the methods.
    I keep getting the error message "cannot resolve symbol"
    And the error points to the line where I am calling the class.
    I have put the classes in a package and imported them.
    Here is the method I am calling.
    public boolean validDate(int day, int month, int year)
    if(leapYear(year))
    daysInMonth = 29;
    else
    getNumberOfDaysInMonth(month);
    return true;
    This is how I am calling it from the test class
    if(validDate(day1,month1,year1))
    testnewDate.java:38 cannot resolve symbol
    symbol : method validDate(int,int,int)
    location:class newdate.testnewDate
    if(validDate(day1,month1,year1))
    ^
    If anyone is able to help I can give you my java source files if I haven't given enough information.

    You can't call another class's method directly from your class. You need to get an object of that class and should call the method using that object.
    If you have written public boolean validDate(int day, int month, int year) method in class DateValidator, then from your test class, you have to call that like this,
    DateValidator dv = new DateValidator();
    if(dv.validDate(day1,month1,year1)) {
    // Take actions
    Hope it is clear.
    Sudha

  • Page fault error while calling reports from forms

    dear friends.
    when a report is called from forms, just before opening up of background engine the application gets hanged with page fault. One has to forcibly shut down the application before loggin again.
    The error mesage generated from log file is
    Fatal NI connect error 12203, connecting to:
    (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=BEQ)(PROGRAM=oracle80)(ARGV0=oracle80orcl)(ARGS='(DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))')))(CONNECT_DATA=(SID=orcl)(CID=(PR OGRAM=C:\ORAWIN95\BIN\RWRBE60.EXE)(HOST=SOUMYADIP)(USER=Soumya))))
    VERSION INFORMATION:
    TNS for 32-bit Windows: Version 8.0.5.0.0 - Production
    Oracle Bequeath NT Protocol Adapter for 32-bit Windows: Version 8.0.4.0.0 - Production
    Time: 06-MAY-00 14:03:32
    Tracing not turned on.
    Tns error struct:
    nr err code: 12203
    TNS-12203: TNS:unable to connect to destination
    ns main err code: 12560
    TNS-12560: TNS:protocol adapter error
    ns secondary err code: 0
    nt main err code: 102
    TNS-00102: Keyword-Value binding operation error
    nt secondary err code: 0
    nt OS err code: 0
    After closing if we run the report next time it runs, but after 3/4 attempts the above error again occurs.
    Please Help
    Prashant

    I'm getting this also. I thought it was
    due to my use of DATA PARAMETER. I've
    logged TARS on this and have yet to hear
    back from Oracle.
    Maybe if enough of us get the error Oracle
    will give some guidance on this one.

  • My systems preferences are not saved from each previous session! Mark

    Each time I start up my new iMac computer, the system preferences I set up in my previous session are lost! Can anybody help me figure out what I need to do to make my preferences persist?

    Usually a loss of preferences after reboot or logout is attributed to user permission issues.
    First reboot your system then try this:
    1. Open a Finder window.
    2. Choose "Go" from your top menu bar.
    3. Choose "Home"
    4. Choose "File from your menu bar.
    5. Choose "Get info"
    6. Open the "Sharing & Permissions section using the disclosure arrow.
    7. Unlock the padlock in the corner with your password.
    8. Click the little gear button.
    9. Choose "Apply to enclosed items"
    10. Once process is done set your preferences and attempt a restart of the system.
    EE

  • Since the latest update of Firefox my bookmarks are further apart from each other. Can i change that?

    Before the update the bookmarks (in the column at the left) fitted nicely in my screen, now they do not anymore.

    hello rovani, this was an intended change in the new version in preparation for the redesign of firefox codenamed [http://getaustralis.com australis] that is going to land in the browser in the course of next year.
    in case you want to revert that, please refer to jscher2000's solution at
    https://support.mozilla.org/en-US/questions/975714.

  • SAX DefaultHandler: calls characters() twice for each (atom) element?

    I use sax to parse an xml file. i subclassed org.xml.sax.helpers.DefaultHandler and overwrote the corresponding methods like characters(). the problem is, that this method is called twice for each element value if this element has no subelements. example:
    <collection>
    <one>1</one>
    <two>2</two>
    <three>3</three>
    </collection>
    with this xml, characters is called once for <collection> but twice for each <one>, <two>, <three> element. why? is this a bug or is this customizable?

    Look at what data is being passed to the method. The SAX specification allows the parser to pass the text node to characters() in pieces, it doesn't require it to pass the entire text in one call. And parsers do take advantage of that, in various ways. You'll have to assemble the data in the characters() method, but you can't assume you have all the data until endElement() is called.
    I wouldn't expect your example to be a problem, but I suppose it's just an example and not the actual data you were processing.
    Or possibly you are getting calls for the whitespace? In your example, your collection element has seven children: a text node containing a newline character, a one element, another newline text node, a two element, another newline text node, and so on.

  • Javascript popups in page flows?

    Is there a way to make a popup window in a page flow? I want to have a
    link which will use Javascript to pop up a new window, but I don't like
    having to hard code the link to that window instead of using the page
    flow functionality.
    What I've been able to get working is:
    <script language="Javascript">
    function createNew() {
    window.open('/MyPortalWeb/mydir/create_item/create_itemController.jpf','newItemWin','height=500,width=500,scrollbars');
    </script>
    Create New Item
    Is there a way to do this with netui tags, so that I can use actions to
    direct the page flow, and still get the ability to open the link in a
    new window?
    Joe Robins                    Tel: 212-918-5057
    Thaumaturgix, Inc.               Fax: 212-918-5001
    19 W. 44th St., Suite 810          Email: [email protected]
    New York, NY 10036               http://www.tgix.com
    thau'ma-tur-gy, n. the working of miracles.

    Tanya,
    I read this hread from you. I had posted a similar issue yesterday(look for posts
    by Jack). Is ther a way to work with page flows and popup's until sp2 comes out
    in december?
    Thanks
    "tanya" <[email protected]> wrote:
    >
    Apologies, that last message was not complete...
    You can try using:
    <netui:anchor href="/myNestedFlow/Controller.jfp" anchor="A"/>
    But, one thing to note for GA, there is a limitation where you cannot
    call 2 (or
    more) pop ups and expect to maintain 2 pageflow stacks. Only the current
    pageflow
    and it's nested stack are kept in the session. Having a 2nd pageflow
    will stomp
    on this first one.
    For SP2, out sometime in dec, there will be a workaround for this:
    <netui:anchor href="../a/FlowA.jpf" target="_a">
    <netui:parameter name="jpfScopeID" value="scopeA"/>
    Page Flow A (scope "scopeA")
    </netui:anchor>
    <br>
    <netui:anchor href="../b/FlowB.jpf" target="_b">
    <netui:parameter name="jpfScopeID" value="scopeB"/>
    Page Flow B (scope "scopeB")
    </netui:anchor>
    Each scope has its own idea of the current page flow and the current
    stack
    of nested page flows.
    -Tanya
    "tanya" <[email protected]> wrote:
    How about
    Popups and pageflow don't work together in 8.1GA because only the current
    pageflow
    and it's stack (of nested pageflows) is maintained in the session. 8.1sp2
    (out
    sometime in dec) will be able to handle this. It will look something
    like this:
    <frameset cols="50%,50%">
    <frame src="../a/FlowA.jpf?jpfScopeID=scopeA" name="frameA">
    <frame src="../b/FlowB.jpf?jpfScopeID=scopeB" name="frameB">
    </frameset>
    Each scope has its own idea of the current page flow and the current
    stack
    of nested page flows.
    Joe Robins <[email protected]> wrote:
    Is there a way to make a popup window in a page flow? I want to have
    a
    link which will use Javascript to pop up a new window, but I don't
    like
    having to hard code the link to that window instead of using the page
    flow functionality.
    What I've been able to get working is:
    <script language="Javascript">
    function createNew() {
    window.open('/MyPortalWeb/mydir/create_item/create_itemController.jpf','newItemWin','height=500,width=500,scrollbars');
    </script>
    Create New Item
    Is there a way to do this with netui tags, so that I can use actions
    to
    direct the page flow, and still get the ability to open the link ina
    new window?
    Joe Robins                    Tel: 212-918-5057
    Thaumaturgix, Inc.               Fax: 212-918-5001
    19 W. 44th St., Suite 810          Email: [email protected]
    New York, NY 10036               http://www.tgix.com
    thau'ma-tur-gy, n. the working of miracles.

  • 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.

  • Multiple entry points into a Page Flow

    Is it possible to define multiple entry points into a PageFlow ? That is, can I forward to an arbitrary Action inside a PageFlow (other then the standard begin) ?
    If so, is there sample code illustrating this ?
    Thank you
    Cristian

    The flow view should show the action from the anchor.
    "Cristian" <[email protected]> wrote in message
    news:405892c9$[email protected]..
    >
    John,
    That answers my questions.
    One more thing though :
    When using an anchor to forward from a jsp to an action in a pageflow,
    the 'Flow View' does not show the corresponding link. Is that normal ?
    Thank you
    Cristian
    "John Rohrlich" <[email protected]> wrote:
    Cristian,
    Yes the samples implicitly go to begin because jumping into the middle
    of
    some flow can lead to code that is difficult to follow and to debug.
    If
    there are pieces of a page flow that are useful in multiple contexts
    you
    might want to make them independent page flows or nested page flows
    You can go from a jsp to an action in another page flow using an anchor
    and
    setting the href attribute, for example
    <netui:anchor
    href="/WebApp/anotherPageFlow/someAction.do">continue</netui:anchor>
    notice that you set href= rather than action= because you are going
    outside
    of the local page flow.
    If you want to go from an action in one page flow to an action in another
    page flow of the same application you can do this
    * @jpf:forward name="success" path="/anotherPageFlow/someAction.do"
    If you want to pass a form to the action you can do that also. You just
    follow the last example and add the form to the forward, for example
    return new Forward("success", someForm);
    I hope that covers it - john
    "Cristian" <[email protected]> wrote in message
    news:405787a2$[email protected]..
    I need to go from either an action or a jsp in one page flow to ajsp/action in another page flow, passing around a session scoped action
    form.
    What is the syntax for the forwarding path ?
    All the samples I found implicitly
    forward to the 'begin()' action in the destination jpf.
    How do I tell it to go to
    another action/jsp in the target jpf ?
    Thanks
    Cristian

Maybe you are looking for