Struts current page action and parent action

what is the difference if the action for current page and parent page action is the same or not same? when I should use the same action and when I need to use different actions?
thanks

For this approach you can use PhaseListener for RESTORE_VIEW phase and in the afterPhase method chech the viewId and navigate to the relevant page.

Similar Messages

  • Actions and additional actions

    Dear GuruS
    Iam aware of the difference between actions and additional actions , Iam not able to understand one thing , when I try to create an action type and try to activate  the update actions infotype coloumn. I get  a mesage
    upd 0000 ='x' only allowed for upd .0302 ='x'
    What should i do if I want the action type to be only stored in actions infotype but not 0302. It is not allowing me to select only actions infotype update .
    plss help..
    Regards
    Lakshmi

    Yes
    there is a check against U0000 but the system  prompts me to put a check against U0302 also for all the  actions types that I hv created.
    Is there any other settings to decide where the personnel action is going to be stored ..
    Regards
    Lakshmi

  • The button "reload current page" is and stays in grey..

    sometimes, the button "reload current page" is and stays in grey when I am on internet...
    I have to restart Firefox and it works again...
    any ideas??

    You can also check http://kb.mozillazine.org/Bookmarks_history_and_toolbar_buttons_not_working_-_Firefox

  • Edit Actions and Advanced Actions in some kind of text editor

    Is there any way to edit Actions and Advanced Actions in some kind of text editor?
    The built-in GUI is fine for little tweaks, but trying to use it for anything real is a almost impossible.
    Can Creative Suite open a Captivate project and give access to the Actionscript in the project?
    Is there a text file someplace that can be extracted, editted, and put back in?

    Hello,
    has the feature to edit  Actions and Advanced Actions using a text editor been implemented into the new Captivate 7?
    I'm facing the problem that I have very extensive Advanced Actions in Captivate in which I want to change a variable x into a variable y. Doing it manually would take  about a day or so.
    It would be great if there was some kind of workaround.
    Regards

  • Maverick 10.9 download.  Command key makes the current page hide and return.  How can I stop this?

    Hello,
    The Maverick update on my 2009 Mac caused the command key to cause the current page to hide.  It sometimes stays in the side but mostly, after a delay, will return to the screen with the action completed.  Such commands as Print, Copy, Paste, all of the Command shortcuts do this.
    It is impossible to focus on the work since it disappears, delays and then returns. 
    How can I change this to act like the usual commands and just make the action occur instantly on the page as it rests on the screen?
    Thanks

    Hello,
    The Maverick update on my 2009 Mac caused the command key to cause the current page to hide.  It sometimes stays in the side but mostly, after a delay, will return to the screen with the action completed.  Such commands as Print, Copy, Paste, all of the Command shortcuts do this.
    It is impossible to focus on the work since it disappears, delays and then returns. 
    How can I change this to act like the usual commands and just make the action occur instantly on the page as it rests on the screen?
    Thanks

  • How to you reference the current page number and total pages in a script?

    I'm trying write a small script to make field invisible when the current page equals the total number of pages, but with no luck.
    Can anyone advise how to do this?
    I've tried various ways to reference my fields, this being the most basic:
    if(pageNumber == totalPages) {
    continuedBase.presence = "invisible";
    // pageNumber has a run time property as "Current Page Number"
    // totalPages has a run time property as "Number of Pages"
    // continuedBase is a text field within the same subform as pageNumber and totalPages
    Thanks for any help offered.
    Russell

    If you are asking how to get the current page and total pages you acn use these commands:
    current page ----- xfa.layout.page(this)
    total pages ------ xfa.layout.pageCount()
    so your code woudl look like this:
    app.alert("The curent page is: " + xfa.layout.page(this));
    app.aler("The total number of pages is: " + xfa.layout.pageCount());
    if(xfa.layout.page(this) == xfa.layout.pageCount()) {
    continuedBase.presence = "invisible";

  • I have a project in Final cut pro 10.5 and the spinning icon appears with every action and each action takes up to 30 seconds to respond to?

    I have a project in Final cut pro 10.5 and every action takes up to 30 seconds for the program to respond . The spinning icon stays up during this time?

    Are you using Mavericks. If so you should update FCPX

  • Issues with my Macbook pro, the current page disappears and it goes back to the desktop.  I can't figure out what's wrong.

    I have been having problems with my Macbook ever since I had it in for service to replace the battery.  The issue is when I am surfing the page disappears and goes back to the desk top, and I have to reload it again.  This happens quite often while I am online, and is a definite glitch.
    Please help.
    Sam Oliverio

    String[] message = {
        "One, two, buckle your shoe",
        "One, two, buckle your shoe",
        "Three, four, shut the door",
        "Three, four, shut the door",
        "Five, six, pick up sticks",
        "Five, six, pick up sticks",
        "Seven, eight, lay them straight",
        "Seven, eight, lay them straight",
        "Nine, ten, this is the end",
        "Nine, ten, this is the end"
    if(n>0)
        System.out.println(message[n]);
    else
        System.exit(0);

  • Actions and Advanced Actions not working correctly. - Captivate 8

    In our project, we have it set so that after every section the student is asked three quiz questions (they are set on the default quiz slides.) On success, the person jumps to the next question slide. On failure, the person goes to next slide which has two buttons - one that allows them to simply move forward to the next quiz question and one that allows them to go back and review. The "Go back and Review" button takes the person back to the specific content slide that contains the answer to the question they are being asked. This button is set to advanced actions "Jump to Slide ..." and "Show Button..." - The button is a 'Return to Quiz' button to allows the person to find the answer then try the question again.  I know that the buttons on the default quiz slides cannot be programmed to do a specific action, but every time we click 'Submit' it seems fine until we click 'Next' to move ahead, it then routes us back to one of the content slides (Slide 7) instead of the next slide (if wrong), or the next question slide (if right). I have looked at the Advanced Interactions Window and there is nothing linking this slide to anything. I have not had this problem with any of our other modules or sections. I have tried creating new question slides and it did not work. I deleted Slide 7 and it worked fine the first time through the preview, but then when I viewed the preview again, it started jumping back and would not even let me get to the questions. Can anyone help?

    Normally the Next button on a question slide is not needed, because it has the functionality of Skipping the question. It is however needed if you want to allow Review.
    Another explanation is that you did change the normal work flow for a question slide, where a two-step process for submitting will take automatically the user to the next slide.
    Question Question Slides in Captivate - Captivate blog
    What did you do to need the Next button? If the user submits:
    Feedback appears with the indication to press Y or to click on the slide, happens at the pausing point of the Question slide (default is 1.5secs)
    When user presses Y or clicks, the actions Success/Last Attempt are executed if all attempts are exhausted, and you have only 1 attempt on Question level: the actions are by default Continue, but you can change it to 'Go to Next Slide' to shorten the waiting time (or drag the pausing point closer to the end of the slide).
    What did you change?

  • Get current page address and query string into Flex

    Hello!
    How can I get the current address in the address bar into
    Flex please? (As $_SERVER would in PHP for example)
    Thank you!

    "M*A*S*H 4077" <[email protected]> wrote in
    message
    news:gob8lp$ke1$[email protected]..
    > Aha, so there is no predefined Class in Flex for this?
    >
    > Thank you, Amy!
    That is the class. You might want to look at FABridge,
    though, because I
    think it is designed to help ease these things.

  • How to make menu-item of current page appear in a different font color?

    Hi,
    My menu-bar works just fine. Hovering the links I get the text to take display the desired color. Now I want the menu-item of the selected page to show a third color.
    With live-code enabled in Dreamweaver CS6, I can see the following code being generated by the Dynamic menu:
    <script type="text/javascript" src="/CatalystScripts/Java_DynMenusSelectedCSS.js"></script><!-- Dynamic Menu Begin CSS Output --><div id="cat_549633_divs"><ul id="nav_549633"><li class="selected"><a href="/home.html">Home</a></li><li><a href="/leistungen.html">Leistungen</a></li><li><a href="/uhrenservice.html">Uhrenservice</a></li><li><a href="/versteigerungen.html">Versteigerungen</a></li><li><a href="/diamanten.html">Diamanten</a></li><li><a href="/ueber_uns.html">Über uns</a></li><li><a href="/kontakt.html">Kontakt</a></li></ul></div><script type="text/javascript">catSetSelectedCSSItem('nav_549633');</script><!-- Dynamic Menu End CSS Output -->
    The class .selected is being created in the first list-item (home) as this is the current page.
    And here is my CSS:
    #nav_549633 {
              float: right;
              list-style-type: none;
              padding-top: 5px;
    #nav_549633 li {
              float: left;
              text-align: left;
    #nav_549633 li a {
              color:white;
              text-decoration: none;
              margin: 0 27px 0 0;
              font-size: 13px;
              text-transform: uppercase;
    #nav_549633 li a:hover {
              color: yellow;
    .selected {
              color: green;
    The font color green does not appear. It is still white.
    In order to see if the class is "working" I tried some other attributes, that DO work!
    .selected {
      color: green;
      padding: 20px
      background-color: blue;
    In this case, the item appears as a blue box with 20px-padding, just as expected - but the font-color is still white.
    Can anyone help me?
    Regards,
    Herman

    Hi Mario,
    Here's the link to my site:
    http://grootaartseuronics.businesscatalyst.com/index.html
    I have found a solution myself for 2 of the 3 questions i had:
    I have deleted/changed this div: #nav_1371057 li li
    And created a few new ones:
    #nav_1371057 li li a, #nav_1371057 li li a:visited (To control the link en visited link colors in the sub-menu other than the root-menu)
    #nav_1371057 li li a:hover (to control the hover in the sub-menu other than the root-menu if nessesary)
    #nav_1371057 li li.selected a (to control the selected link and let the link change color or bolder like in my case)
    Here are the CSS styles I used:
    #nav_1371057 li li.selected a { /*Dit veranderd de dikte (bold) van de geselecteerde link in het submenu, dus de pagina waar je bent*/
    font-weight:bolder;
    #nav_1371057 li li a, #nav_1371057 li li a:visited{
    background:  #006;
    color:#ffffff;
    #nav_1371057 li li a:hover{
    background:  #999;
    color:#ffffff;
    Only thing i can't figure out is how I can change/control the color of the arrow which is black now. And i want to make it blue.
    Thanks,
    Frank

  • Find whether current page is the last page

    Post Author: guyi
    CA Forum: JAVA
                                                      hi,I am using JRC to open and view a report in my JSP.I would like to create my own toolbar in the page, for that I set the toolbar display in the CrystalReportViewer to false as follow:viewer.setDisplayToolbar(false);I
    need to recognize the current page number and whether current page is
    the last one, I found that CrystalReportPartsViewer has the right
    method isLastPage(), unfortunately it does not work - this method
    always return false.(Note that I am using the viewer.getHtmlContent() method and not viewer.processHttpRequest()) Any idea?Thanks in advanceGuy

    Post Author: Ted Ueda
    CA Forum: JAVA
    Part of the equation is supplied via method:
        doc.getReportSource().getLastPageNumber(new com.crystaldecisions.sdk.occa.report.reportsource.RequestContext());
    where doc is the ReportClientDocument class instance for the report.
    Sincerely,
    Ted Ueda

  • Compare Routing action versus Service Callout action versus Publish action?

    hi all,
    Apologies if this is a stupid question, but i throw my hands up and admit my ignorance (I'm mainly a core Java developer; OSB/ALSB is kind of a sideline for me). That said...
    I've used OSB (actually ALSB) on a couple SOA projects within the last 3 years. on my previous projects, we mainly only ever used Routing actions. I'm now working on a 3rd project that also uses OSB. But on this new project, they mainly only ever use Service Callout actions and Publish actions.
    My question is: what are the criteria for choosing between one or the other (Routing action or Service Callout action or Publish action)?
    What does one do that the others can't? I've RTFM. But it still isn't obvious to me. Please, can you fill in the gaps in my knowledge?
    Thanks in advance for your time.

    My question is: what are the criteria for choosing between one or the other (Routing action or Service Callout action or Publish action)?Routing Action - Routing action can be created inside a Route Node only and Route Node is the last node in a request processing. A Route Node indicates that Request Processing will end here and Response Processing will begin. You can not have any node after Route Node in the message flow.
    Service Callout - Service Callout is used in real time request-response scenarios (for sync response). If you have a use case where you need to call one or multiple real time request-response services (like sync web-services) then you may use Service Callout action in the message flow. Being a synchronus call, the thread gets blocked until a response is returned from target service.
    Publish Action - Publish action is used for Request only scenarios where you don't expect a response back. The nature of Publish action (sync or async) will depend upon the target service you are invoking. If you are invoking an external service through a business service then Publish action with Quality of Service(QoS) as "Best Effort" (default) will work like fire and forget and thread won't get blocked (async call). If you are invoking a local proxy service (proxy with transport protocol as "local") from another proxy using publish action then it would be a blocking call (synchronus call) and thread will get blocked untill the processing of local proxy finishes.
    Hope it helps.
    Regards,
    Anuj

  • Submit Action and Redirect page in Tabular form Column Link

    Hi All,
    I have a scenario to submit the current page and redirect to another page with the arguments, when i clink on the link which is created using column link in Report Attributes.
    I can able to perform the submit action, but redirection is not happening.
    Created a column link on non database column by providing
    Link Attribute :     <a href="#" onclick="doSubmit('SAVE')">#FAM_DET#</a>
    Target : Page in this application
    Page : 7
    Item name : P7_TRAVEL_REQ_ID
    item Value: #TRAVEL_REQ_ID#
    Item name : P7_TRAVEL_REQ_LINE_ID
    item Value: #TRAVEL_REQ_LINE_ID#
    Can anyone help me out to resolve this.

    811598 wrote:
    Please update your forum profile with a real handle instead of "811598".
    When posting a question here, always include the following information:
    Full APEX version
    Full DB/version/edition/host OS
    Web server architecture (EPG, OHS or APEX listener/host OS)
    Browser(s) and version(s) used
    I have a scenario to submit the current page and redirect to another page with the arguments, when i clink on the link which is created using column link in Report Attributes.
    I can able to perform the submit action, but redirection is not happening.
    Created a column link on non database column by providing
    Link Attribute :     <a href="#" onclick="doSubmit('SAVE')">#FAM_DET#</a>
    Target : Page in this application
    Page : 7
    Item name : P7_TRAVEL_REQ_ID
    item Value: #TRAVEL_REQ_ID#
    Item name : P7_TRAVEL_REQ_LINE_ID
    item Value: #TRAVEL_REQ_LINE_ID#
    Remove the link attribute (what you have used there is not the correct way to use this property anyway).
    Change the target page to the same page as the report.
    Set the Column Link Request property to BRANCH_TO_PAGE_ACCEPT|SAVE.
    Create an On Submit: After Processing (After Computation, Validation, and Processing) branch to page 7, conditional on the SAVE request.
    If the SAVE request can be triggered by something other than the report link (e.g. a Save button) then use another request value that will trigger the required page process in the link request and branch condition, e.g. BRANCH_TO_PAGE_ACCEPT|APPLY and APPLY respectively.
    Note that there is a bug in BRANCH_TO_PAGE_ACCEPT processing in APEX 4.2.3 and a patchset exception must be installed for this approach to work on this APEX release.

  • How to make one firefox window`s actions duplicate on all opened firefox windows. duplicating tabs only opens the original source of page, not current page view

    I want to know is there a way to open, say 3, Firefox windows and duplicate the actions done on one to happen across all open Firefox windows. I want to use the repeat feature, left click followed by ENTER the whole time on a current thing I'm working on. The tabs won't work because I have to flip through them the whole time. I'm currently doing this on two computers at the same time but need an easier way. If I duplicate tabs, it only opens the original source of the page I duplicate and not the current page I'm viewing so its a time taking process to click on the links where I need to be then start doing the control+tab. Speed is a major issue so any advice would be greatly appreciated.

    I am still trying to figure out what it is you are trying to do.
    You have X number of pages open, and you want what you do to one page
    to also be repeated on the other pages? Most browsers think that multiple
    pages are individual, and separate.
    What is it you are working on? No secured information, please.

Maybe you are looking for

  • Screen Has Black bars (Malware?)

    When I turn on my iMac the apple logo appears behind what looks like jail bars then a dark shade rolls down the screen then tiny squares appear all over screen with error message to restart if it fails to restart manually, which it does. Cannot get p

  • Wishlist for muvo tx

    SPECS TYPE - TYPE (creative muvo tx fm) WANTING LIST (lets keep it to max 3 more would be like to much): - sleep timer2 - clock3 - an always on feature (working with ac adapter)ACCESSORIES +Wanted accessories (lets say 2 max) - Ac adapter for when yo

  • My iMessage isnt working and it's noy letting me activate it

    I am in europe and my iMessage all of a sudden won't let me activate it ans it isn't working

  • Error when jumping to the OLTP system

    Hi Gurus, Some data loads are failed, when our BI consultant tries to analyse the issue, he getting the error " error when jumping to the OLTP system " " Screen output without connection to user" We are using BI and ECC 5.0 as back end system. Please

  • Purchasing document belongs to another supplier

    Hi SAPians, Client wants to change the following message from warning to error message: Purchasing document belongs to another supplier Message no. F5371 Please help. Regards, Vikas