Get id of an action

Hello all,
I want to end an action on the click of a webdynpro event.
I checked the help portal and found out that i can use the following code to achieve the objective.
IGPActionCompletionData completionData = rtManager.createActionCompletionData(processID, actionID, userContext);
I understand taht i can find the processID from the Instantiation tab of the process. I searched the Tabs in the Actions object and found nothing that denotes the action id.
Can you please help me how to find out the action id?
Thanks
Regards,
Arun.
PS: Points assured for useful pointers

Hi Arun,
I am having similar requirement could you please help me out how to get action instance id..
i am using
String actionID=executionContext.getTaskId();
i am getting GPException please let me know how to do it.
Regards,
Rajesh

Similar Messages

  • "Get Specified Finder Items" action and aliases

    The Get Specified Finder Items action doesn't seem to work on aliases. That is, instead of selecting an alias, it selects the original file to which that alias points.
    Any work-around?
    (And, a bug, no?)

    When you get the value of a variable, the result is added to the item list - for example:
    1) Get Specified Finder Item {various file items}
    2) Get Value of Variable {previous file items}
    3) View Results --> the results of both of the above actions

  • Can't install itunes 11.0.1 on windows 7...get a Rolling Back Action message

    Hi...I cannot install iTunes 11 on my Windows 7 PC. The installation goes all the way through and I get a "Rolling Back Action" dialog at the end and the progress bar just goes backwards.
    Why is this happening?

    Not an error that I've seen. What stage of the process are you at when this happens?
    For general advice see Troubleshooting issues with iTunes for Windows updates.
    The steps in the second box are a guide to removing everything related to iTunes and then rebuilding it which is often a good starting point unless the symptoms indicate a more specific approach. Review the other boxes and the list of support documents further down page in case one of them applies.
    Your library should be unaffected by these steps but there is backup and recovery advice elsewhere in the user tip.
    tt2

  • How to get the Application perform actions when exits?

    How to get the Application perform actions when user clicks on the "X" icon in the top right hand corner?
    OR
    If i placed an Exit Button.... when actions that i need to use to allow my application to perform a certain action when it exits?
    Thanks

    frame.addWindowListener(new WindowAdapter() {
      public void windowClosing(WindowEvent e) {
        // do your stuff here
    });The WindowListener and WindowEvent can be found in java.awt.event package
    //David

  • Safari is slowly getting more buggy.  Actions, such as clicking on a field, don't give the expected results.  I may have to click on the red exit button 5 times to get it to work.  I get unwanted dropdown menus.  I have version 5.1.7 on OS 10.6.8

    Safari is slowly getting more buggy.  Actions, such as clicking on a field, don't give the expected results.  I may have to click on the red exit button 5 times to get it to work.  I get unwanted dropdown menus.  I have version 5.1.7 on OS 10.6.8.  System is 3 years old.

    Are you running low on RAM..?
    see > Using Activity Monitor
    Is your Hard Drive getting full...?
    see > Freeing space on your Mac OS X startup disk
    Have you tried Repair Disk Permissions after upgrading Safari...?
    see > About Disk Utility's Repair Disk Permissions feature
    Reset Safari...?

  • How to get rid of message "Action Processed."

    When I save data in one of my reports, I get a confirmation message "Action Processed."... may I know how to disable it...?
    Thanks in advance

    Under the Page Process, see Messages - Process Success Message.
    Jeff

  • Text not getting displayed in PA40 action.

    Hello All,
    We upgraded from 4.6 to 5.0. When I doing the hiring or any other action, the text for the action type, reason for action or any other field is not getting displayed. Even when I select the entries the text for that is not getting displayed.
    like its displaying only 01- for Action type hiring.
    Thank You all in advance for your reponse!
    Chakri.

    Hello Sharath,
    I checked this and this table is having all the values properly maintained. Language, Action, Name of the action is maintained. Is there any place where we need to activate this in order for us to see the name of the action type also when we select an action in PA40.
    Thanks a lot for your response.
    Chakri.

  • Value  set in constructor is not getting saved in button  Action method

    Hi All,
    I am not understanding why the value set ( On Condition )in constructor is not hold in the button actoin method.
    Could any body explain me on that
    for this I will try to explain with sample example
    I have taken a button and add a integer property in session bean.
    now if session bean's property is even then I am trying to set the button value to bidNow other wise Accept Invitation.
    Till this opstion everything is OK
    but once I click on Button,
    Constructor is doing the right job only. But I do not understand why in button action I am getting the First Value only.
    public Page1() {
            // <editor-fold defaultstate="collapsed" desc="Creator-managed Component Initialization">
            try {
                if (getSessionBean1().getIntValue()%2==0)
                    button1.setValue("BidNow");
                else
                    button1.setValue("Accept Invitation");
                getSessionBean1().setIntValue(getSessionBean1().getIntValue()+1);
                log("In Constructor Button Value : "+button1.getValue());
            } catch (Exception e) {
                log("Page1 Initialization Failure", e);
                throw e instanceof javax.faces.FacesException ? (FacesException) e: new FacesException(e);
            // </editor-fold>
            // Additional user provided initialization code
        public String button1_action() {
            // TODO Replace with your code
            log("In Action Button Value : "+button1.getValue());
            return null;
        }and here is the log
    [#|2005-07-19T11:55:17.859+0530|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|WebModule[/webapplication12]In Constructor Button Value : BidNow|#]
    [#|2005-07-19T11:55:17.859+0530|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|WebModule[/webapplication12]In Action Button Value : BidNow|#]
    [#|2005-07-19T11:55:18.359+0530|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|WebModule[/webapplication12]In Constructor Button Value : Accept Invitation|#]
    [#|2005-07-19T11:55:18.359+0530|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|WebModule[/webapplication12]In Action Button Value : BidNow|#]
    [#|2005-07-19T11:55:18.843+0530|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|WebModule[/webapplication12]In Constructor Button Value : BidNow|#]
    [#|2005-07-19T11:55:18.843+0530|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|WebModule[/webapplication12]In Action Button Value : BidNow|#]
    [#|2005-07-19T11:55:19.312+0530|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|WebModule[/webapplication12]In Constructor Button Value : Accept Invitation|#]
    [#|2005-07-19T11:55:19.312+0530|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|WebModule[/webapplication12]In Action Button Value : BidNow|#]
    [#|2005-07-19T11:55:19.828+0530|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|WebModule[/webapplication12]In Constructor Button Value : BidNow|#]
    [#|2005-07-19T11:55:19.828+0530|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|WebModule[/webapplication12]In Action Button Value : BidNow|#]
    [#|2005-07-19T11:55:20.234+0530|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|WebModule[/webapplication12]In Constructor Button Value : Accept Invitation|#]
    [#|2005-07-19T11:55:20.250+0530|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|WebModule[/webapplication12]In Action Button Value : BidNow|#]
    [#|2005-07-19T11:55:20.828+0530|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|WebModule[/webapplication12]In Constructor Button Value : BidNow|#]
    [#|2005-07-19T11:55:20.828+0530|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|WebModule[/webapplication12]In Action Button Value : BidNow|#]
    [#|2005-07-19T11:55:21.328+0530|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|WebModule[/webapplication12]In Constructor Button Value : Accept Invitation|#]
    [#|2005-07-19T11:55:21.328+0530|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|WebModule[/webapplication12]In Action Button Value : BidNow|#]
    [#|2005-07-19T11:55:35.437+0530|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|WebModule[/webapplication12]In Constructor Button Value : BidNow|#]
    [#|2005-07-19T11:55:35.437+0530|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|WebModule[/webapplication12]In Action Button Value : BidNow|#]
    [#|2005-07-19T11:55:35.906+0530|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|WebModule[/webapplication12]In Constructor Button Value : Accept Invitation|#]
    [#|2005-07-19T11:55:35.921+0530|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|WebModule[/webapplication12]In Action Button Value : BidNow|#]
    [#|2005-07-19T11:55:36.265+0530|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|WebModule[/webapplication12]In Constructor Button Value : BidNow|#]
    [#|2005-07-19T11:55:36.265+0530|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|WebModule[/webapplication12]In Action Button Value : BidNow|#]
    [#|2005-07-19T11:55:36.890+0530|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|WebModule[/webapplication12]In Constructor Button Value : Accept Invitation|#]
    [#|2005-07-19T11:55:36.890+0530|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|WebModule[/webapplication12]In Action Button Value : BidNow|#]
    [#|2005-07-19T11:55:37.171+0530|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|WebModule[/webapplication12]In Constructor Button Value : BidNow|#]
    [#|2005-07-19T11:55:37.171+0530|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|WebModule[/webapplication12]In Action Button Value : BidNow|#]
    [#|2005-07-19T11:55:37.468+0530|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|WebModule[/webapplication12]In Constructor Button Value : Accept Invitation|#]
    [#|2005-07-19T11:55:37.468+0530|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|WebModule[/webapplication12]In Action Button Value : BidNow|#]As per this log every time I am getting Bid Now only in action, though the value is changed in Construtcor
    Can u explain the reason for this

    Hi Sudhakar,
    Please try the following and you will get an idea as to what is happening:
    1. Drag and drop a button, 2 outputText components
    2. Add a property to the session bean called intValue of type int. Customize it to set it's initial value to 0
    3. Add the following lines of code to the constructor
    outputText1.setValue("" + getSessionBean1().getIntValue());
    getSessionBean1().setIntValue(getSessionBean1().getIntValue()+1);
    4. Double click on the button component to go to the button action method.
    5. Add the following line of code
    outputText2.setValue("" + etSessionBean1().getIntValue());
    6. Save and run the application
    7. Watch the values of outputText1 and outputText2 with each click of the button
    Also, try the application with the following code block in the button action method:
    if(getSessionBean1().getIntValue()%2==0){
    button1.setValue("Bid Now");
    } else{
    button1.setValue("Accept Invitation");
    getSessionBean1().setIntValue(getSessionBean1().getIntValue()+1);
    outputText1.setValue(button1.getValue());
    outputText2.setValue("" + getSessionBean1().getIntValue());
    When the above code block is in the button action method the values set to button are as expected.
    Hope that helps
    Cheers
    Giri :-)

  • UWL items not getting cleared after performing action

    Hello
    We are on EP 7.0.
    We are experiencing a strange behaviorin UWL.
    When end users receive workitems in their inbox and they take the appropriate actions, the workitems still stay in the inbox. Normally they should no longer appear.
    I have tried the refresh in the UWL iview but no luck.
    It seems to work in DEV and other landscape. It does no work in Production. The software installation of UWL are the same across all landscapes.
    Is there any other setting that is required. In SAP GUI this is not an issue.
    Any feedback or tips would be helpful. thanks.
    Regards,
    Sunil

    Hi,
    As far as I can remember, this is a known limitation of UWL.
    Please, check this thread : UWL work item not getting cleared
    I am unsure whether you use the correct button the refresh the UWL (it is well hidden!), check the slide 6 in this document :
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/20f4843e-314f-2a10-2a88-8c4afa20dda6&overridelayout=true
    Best regards,
    Guillaume

  • Buying and item from iTunes, What action do you take in between having chossen an item to purchase and then being able to click on the word BUY. I have clicked on the price as it satates in the tutorial and I get a list of actions such as gift this item

    This question is for anyone who has purchased an item from iTunes.
    What action or actions do you take inbetween having selected the item to be purchased and having the word BUY appear on your screen for you to clic on it?
    I have been told to clic on the price. When I do that this list appears; gift this, add to wish list, tell a friend, copy link, share on Facebook & share on Twitter.
    Should I clic on one of thses or press enter after having clicked on one of these?
    What action do you take inbetween having chossen an item to purchase and being able to see the word BUY?

    Thank you for the answer. Apple support has been working on this question for several days.
    I don't think they see any difference between the two tabs as I didn't think there was any seperation and the arrow was the place to clic on the price.
    What would it take to get your statment added to the iTune tutorial?
    For that matter what would it take to get actual tutorials listed under the heading Tutorials listed at the bottom of most iTunes screens. If you clic on the heading Tutorials at the bottom of iTunes pages it lists ads not tutorials.
    Thanks again for your help.

  • How to get the table Event action in the controller???

    HI
    Based on my requirement i have extended my controller,but i want to perform some validation like ,,,,
    i have table in one region ,in which one column is having a Button (flex field) action with image,
    i want to write the code in the controller according to the validation ,,,,but i am unable to find the event action in the main controller,
    how to get the event action ?,,,,, of the item type as image
    thanks in advance
    Kash

    If not you can use image component with clientListener and serverListener to preform your requirement set clientListener click event and then inside clientListener java script method call the
    serverListener then will execute serverListener method.

  • How to get jsp page form action this page use ajax

    i want to get form action result editThree div. however, ajaxpage open new window.how to decide it?
    ajaxCallPages.js
    var loadedobjects=""
    var loadingcontainer="loading"
    var loadstatustext="<img src='images/loading.gif' />" //loading
    var rootdomain="http://"+window.location.hostname
    function ajaxpage(url, containerid ){
    var page_request = false
    if (window.XMLHttpRequest) // if Mozilla, Safari etc
    page_request = new XMLHttpRequest()
    else if (window.ActiveXObject){ // if IE
    try {
    page_request = new ActiveXObject("Msxml2.XMLHTTP")
    catch (e){
    try{
    page_request = new ActiveXObject("Microsoft.XMLHTTP")
    catch (e){}
    else
    return false
    document.getElementById(containerid).innerHTML=loadstatustext // loading
    page_request.onreadystatechange=function(){
    loadpage(page_request, containerid)
    page_request.open('GET', url, true)
    page_request.send(null)
    function loadpage(page_request, containerid){
    if (page_request.readyState == 4 && (page_request.status==200 || window.location.href.indexOf("http")==-1))
    document.getElementById(containerid).innerHTML=page_request.responseText
    userEditIformation.jsp
    <script language="JavaScript" src="function/ajaxCallPages.js"></script>...
    <div id="editTwo">
    <table width=100% cellpadding=0 cellspacing=0 border=0>
    <tr>
    <td>
    <form name="myform" action="pages/editUser.jsp" method="post">
    <table width=100% cellpadding=0 cellspacing=0 border=0>
    <tr>
    <td>
    <table width=100% cellpadding=3 cellspacing=1 border=0 bgcolor="#cccccc">
    <tr valign=top>
    <td bgcolor="#666666" width=150 style="color:#FFFFFF;" align="right">User group:</td>
    <td bgcolor="#f5f5f5"> <select name="UserGroup" id="lgroup">
    <option>Administrator</option>
    <option>Editor</option></select>
    </td>
    </tr>
    <tr valign=top>
    <td bgcolor="#666666" width=150 style="color:#FFFFFF;" align="right">User name:</td>
    <td bgcolor="#f5f5f5"><input type="text" id="lname" name="uname" maxlength="20" value=""> </td>
    </tr>
    <tr valign=top>
    <td bgcolor="#666666" width=150 style="color:#FFFFFF;" align="right">E-Mail:</td>
    <td bgcolor="#f5f5f5"><input type="text" id="lmail" name="uemail" value="" onkeypress="return checkEnter(event);" onKeyPress="Comment = false; Email = true; PostalCode = false; Go();" onChange="this.value = ignoreSpaces(this.value);"></td>
    </tr>
    <tr valign=top>
    <td bgcolor="#666666" width=150 style="color:#FFFFFF;" align="right">New password:</td>
    <td bgcolor="#f5f5f5"><input type="password" id="lpass1" name="upass1" maxlength="20" value="" onkeypress="return checkEnter(event);" onKeyPress="Comment = true; Email = false; PostalCode = false; Go();" onChange="this.value = ignoreSpaces(this.value);"></td>
    </tr>
    <tr valign=top>
    <td bgcolor="#666666" width=150 style="color:#FFFFFF;" align="right">Verify password:</td>
    <td bgcolor="#f5f5f5"><input type="password" id="lpass2" name="upass2" maxlength="20" value="" onkeypress="return checkEnter(event);" onKeyPress="Comment = true; Email = false; PostalCode = false; Go();" onChange="this.value = ignoreSpaces(this.value);"></td>
    </tr>
    <tr valign=top>
    <td bgcolor="#666666" width=150 style="color:#FFFFFF;" align="right">Phone:</td>
    <td bgcolor="#f5f5f5"><input type="text" id="lphone" name="uphone" value="" onkeypress="return checkIt(event);" onChange="this.value = ignoreSpaces(this.value);"></td>
    </tr>
    <tr valign=top>
    <td bgcolor="#666666" width=150 style="color:#FFFFFF;" align="right">Block:</td>
    <td bgcolor="#f5f5f5">
    <table cellpadding=0 cellspacing=0 border=0>
    <tr>
    <td><input type="radio" name="ustatus" id="lradio1" value="1"></td><td>Yes </td>
    <td><input type="radio" name="ustatus" id="lradio2" value="0" ></td><td>No </td>
    </tr>
    </table>
    </td>
    </tr>
    <tr valign=top>
    <td bgcolor="#666666" width=150 style="color:#FFFFFF;" align="right">Register date:</td>
    <td bgcolor="#f5f5f5"><%getDateTimeValue valueOne= new getDateTimeValue(); out.println(valueOne.getDateTime());</td>
    </tr>
    <tr valign=top>
    <td bgcolor="#666666" width=150 style="color:#FFFFFF;" align="right">Last visit date:</td>
    <td bgcolor="#f5f5f5"><%getDateTimeValue valueTwo= new getDateTimeValue(); out.println(valueTwo.getDateTime());</td>
    </tr>
    </table>
    </td>
    </tr>
    <tr><td> </td></tr>
    <tr><td><input type="button" onclick="ajaxpage('pages/editUser.jsp', 'editThree')" value="Send"/> </td></tr>
    <tr><td height=18 id="eoncmssend"></td></tr>
    </table>
    </form>
    </td>
    </tr>
    </table></div>
    <div id="editThree">
    </div>
    editUser.jsp
    <html>
    <head>
    <link rel="stylesheet" href="css/editUser.css" type="text/css"></link>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    </head>
    <body>
    <%
    String ugroup=null;
    String phone=null;
    String name=null;
    if(request.getParameter("uname")!=null){
    name=request.getParameter("uname");
    if(request.getParameter("uphone")!=null)
    phone=request.getParameter("uphone");
    out.println(name);
    out.println(phone);
    %>
    </body>
    </html>
    ../

    From the HTTP spec (http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html):
    14.36 Referer
    The Referer[sic] request-header field allows the client to specify, for the server's benefit, the address (URI) of the resource from which the Request-URI was obtained (the "referrer", although the header field is misspelled.) The Referer request-header allows a server to generate lists of back-links to resources for interest, logging, optimized caching, etc. It also allows obsolete or mistyped links to be traced for maintenance. The Referer field MUST NOT be sent if the Request-URI was obtained from a source that does not have its own URI, such as input from the user keyboard.
    Referer = "Referer" ":" ( absoluteURI | relativeURI )
    Example:
    Referer: http://www.w3.org/hypertext/DataSources/Overview.html

  • Employee percentage not getting defaulted in additional actions

    Hi all,
    My employement percentage & position is not getting defaulted in 0001 - while running additional actions. I need to manually key in the percentage and in case of any promotion i need to manually key in the changed position number.  Can somebody help.
    Regards,
    LN Bhattacharya
    Edited by: Lakshminarasimhan Bhattacharya on Mar 15, 2011 5:02 PM

    Hi,
    your problem is because U didnt maintain intigration b/w om &pa
    thats why ur getting that prob.... To make integration between PA and OM (also read as integration between PA and PD)
    IMG> PA> OM--> Basic settings > integration>set up integration with PA or u can go by using table T77S0
    set the integration switch PLOGI ORGA to X
    Check the switch PLOGI PLOGI is marked as 01- for active plan version integration
    Table T77S0 is the major table for OM - PA integration
    u can do that through running the reports like;
    Reports in relation to PA - OM
    Report RHINTE00 is used to transfer data from PA to OM
    RHINTE10 is to transfer OM data to PA tables
    RHINTE30 is to update IT0001 (org assignment) for the person you have selected
    RHINTE20 is to determine whether the data relevant for integration is available in PA and OM
    if u maintained percentages and positions in om.... after doing integration those will default in pa
    hope this helpful to u ,
    all the best,
    regards
    hima bindu
    Edited by: Hima Bindu4 on Mar 15, 2011 10:02 PM

  • Getting "OSB Service Callout action received SOAP Fault response" on trying to invoke a service using service callout

    I'm trying to invoke a search service using service callout . However on trying to test it , I'm getting this response
    <con:fault  xmlns:con="http://www.bea.com/wli/sb/context">
    <con:errorCode>BEA-382500</con:errorCode>
    <con:reason>
    OSB Service Callout action received SOAP Fault response
    </con:reason>
    <con:details>
    <con1:ReceivedFaultDetail  xmlns:con1="http://www.bea.com/wli/sb/stages/transform/config">
    <con1:faultcode  xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">soapenv:Client</con1:faultcode>
    <con1:faultstring>Cannot find dispatch method for {}</con1:faultstring>
    <con1:http-response-code>500</con1:http-response-code>
    </con1:ReceivedFaultDetail>
    Please help in resolving this error.
    Thanks,
    Rohit

    you are calling wrong  the Service.
    ¿what kind of service do you have? RPC? Document?
    ir your target service its document, I recommend this:
    1. Test target service with OSB
    2. copy XML request and XML response from the test.
    3. use XML request format that you got at Step 2 in your source service and using it at your "Service Callout".

  • Is there a way to get "clientId" from an action method?

    Actions and action listeners are similar, but there is an important difference. The listener does not return a view for navigation, but an action does not get the ActionEvent parameter, and hence does not have a trivial way to get at the client id that invoked it.
    Sometimes its seems you need both.
    If an action can fail and you cannot know for certain until the action is attempted (for example, a database operation), it is nice to be able to queue a message to the component that invoked the action and redisplay the view which now contains the error indication. On success however, an new view should be navigated to.
    This requires that the action get at a client id, and often the logical client id is of the component the user used to invoke the action. Is there a built in way to get this id from an action method?
    Ideally an action should have the signature Object action(ActionEvent) or am I missing something?

    hanafey wrote:
    Unfortunately this requires both action and actionListener be specified in the viewThere is a nasty workaround possible where you get the clientId of the invoked button from the RequestParameterMap so that you can only use the UICommand action method, but I wouldn't recommend that.
    and if the listener is forgotten the message will get attached in the wrong place, or end up global.Isn't that just a developer fault?
    Also, is'nt there a (tiny) concern about multi-threaded failure if a user happens to have two windows open on the same application?Not if your bean is request scoped. If your bean is session scoped, then the user have to be very fast, or your server have to be very slow. With very I really mean very+.
    The other way I considered was via binding, but his also burdens the view with an extra attribute.What is your functional requirement after all? Sounds like to me that you rather need f:setPropertyActionListener or f:attribute. Also see http://balusc.blogspot.com/2006/06/communication-in-jsf.html for some examples and new insights.

Maybe you are looking for

  • Sap tables

    can any one explain me about sap accounting tables(accounting information stored in tables).i want the important tables for fi. thanks in advance.

  • LiveCache in APO

    Hi, I had made a mistake in my previous post. I need information on LiveCache concepts in APO and not "Live Cash" as previously mentioned. Sorry about that.. Thanks, Sruthy

  • New application on EBS Server

    I have EBS12 installed on windows 2003 server, and now i want to host a seperate application on the same server, i.e an applicaiton with all forms and reports , is it possible ? and help highly appreciated.. regards

  • Links in ALV

    Hi, In one of the columns of my ALV table i've got a link to another component. Depending on some information, I would like to disable/enable the link. Is that possible ? Thank's

  • Hi... can i use the new earphone with microphone to make calls in skype without must press a button bellow the left phone?

    I forgot, make call using a PC, not on iPhone.