Determinations don't execute if I call action from determination

Hello,
I need to trigger an action from a determination. If I do it action executes, however all determinations are skipped. And as a result calculated fields remain with wrong values. I debugged a lot, and found that determination don't execute if action was triggered during internal update (like other determination). As for me - it it huge undocumented drawback that can lead to big problems.
Why it was done in such way and what should I do?

Hi Johnny,
I had a similar requirement. In my case I had to trigger a validation from an action.
So I had an object created type ref to the validation class & then called the execute method of that validation class.
So in your case, trigger the action class in the required determination. So that after the execution of the action class is completed it will go back to determination & the rest of the determinations will be followed.
Hope this helps you.
Regards,
Sanket.

Similar Messages

  • How to call action from my plug-in.

    Hi,
    I am developing a plug-in. But I didn't know how to call a action from my plug-in. Anybody can help me?
    Thank's you
    youth.

    See the listener example in the automation plug-in samples. Build and install this plug-in. Do something in Photoshop and look for the Listener.log file on c:\ or your desktop on the macintosh.
    You must me an automation plug-in to "play" actions.

  • Calling actions from dataTable

    I have a dataTable that contains buttons and some information. When the user clicks one of the buttons I set a hidden form field with the Id of the one that was clicked and call an action. The collection that was used to build the table was in the request scope and I was not getting the collection again on the post back because I did not need it. Long story short, it appears that the action will not fire unless the collection that was used to build the table exists in the Apply Request Vaues phase. This may be an IBM thing (I am using IBM's dataTableEx) but was wondering if this is normal expected behavior and if so do most of you put your collection into session scope or do you go get it in the post Restore View phase?
    Thanks
    Brian

    Use HtmlDataTable#getRowData(). Check this article how to use datatables: [http://balusc.blogspot.com/2006/06/using-datatables.html].

  • How to call a struts action from a JSF page

    I am working on a small POC that has to do with struts-faces. I need to know how to call a struts ".do" action from a JSF page..
    Sameer Jaffer

    is it not possible to call a action from the faces submit button and/or the navigation?
    This a simple POC using struts-faces exmaples.
    Here is my struts-config and faces-config file.
    <struts-config>
    <data-sources/>
    <form-beans>
      <form-bean name="GetNameForm" type="demo.GetNameForm"/>
    </form-beans>
    <global-exceptions/>
    <global-forwards>
      <forward name="getName" path="/pages/inputname.jsp"/>
    </global-forwards>
    <action-mappings>
      <action name="GetNameForm" path="/greeting" scope="request" type="demo.GreetingAction">
       <forward name="sayhello" path="/pages/greeting.jsp"/>
      </action>
    </action-mappings>
    <controller>
        <set-property property="inputForward" value="true"/>
        <set-property property="processorClass"
                value="org.apache.struts.faces.application.FacesRequestProcessor"/>
    </controller>
    </struts-config>faces-config
    <faces-config>
    <managed-bean>
      <managed-bean-name>calculate</managed-bean-name>
      <managed-bean-class>com.jsftest.Calculate</managed-bean-class>
      <managed-bean-scope>request</managed-bean-scope>
    </managed-bean>
    <managed-bean>
      <managed-bean-name>GetNameForm</managed-bean-name>
      <managed-bean-class>demo.GetNameForm</managed-bean-class>
      <managed-bean-scope>request</managed-bean-scope>
    </managed-bean>
    <navigation-rule>
      <from-view-id>/calculate.jsp</from-view-id>
      <navigation-case>
       <from-outcome>success</from-outcome>
       <to-view-id>/success.jsp</to-view-id>
      </navigation-case>
      <navigation-case>
       <from-outcome>failure</from-outcome>
       <to-view-id>/failure.jsp</to-view-id>
      </navigation-case>
    </navigation-rule>
    <navigation-rule>
      <from-view-id>/inputNameJSF.jsp</from-view-id>
      <navigation-case>
       <to-view-id>/pages/greeting.jsp</to-view-id>
      </navigation-case>
    </navigation-rule>
    </faces-config>in my inputNameJSF.jsp (faces page)
    <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>
    <%@ taglib prefix="f" uri="http://java.sun.com/jsf/core" %>
    <%@ taglib prefix="h" uri="http://java.sun.com/jsf/html" %>
    <%@ taglib prefix="s" uri="http://struts.apache.org/tags-faces" %>
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
    <title>Say Hello!!</title>
    </head>
    <body>
    Input Name
    <f:view>
         <h:form >
              <h:inputText value="#{GetNameForm.name}" id = "name" />
              <br>
              <h:commandButton id="submit"  action="/greeting.do" value="   Say Hello!   " />
         </h:form>
    </f:view>
    </body>
    </html>I want to be able to call the struts action invoking the Action method in the that returns the name
    package demo;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import org.apache.struts.action.ActionForm;
    import org.apache.struts.action.ActionForward;
    import org.apache.struts.action.ActionMapping;
    public class GreetingAction extends org.apache.struts.action.Action {
        // Global Forwards
        public static final String GLOBAL_FORWARD_getName = "getName";
        // Local Forwards
        private static final String FORWARD_sayhello = "sayhello";
        public GreetingAction() {
        public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception {
            String name = ((demo.GetNameForm)form).getName();
            String greeting = "Hello, "+name+"!";
            request.setAttribute("greeting", greeting);
            return mapping.findForward(FORWARD_sayhello);
    }Edited by: sijaffer on Aug 11, 2009 12:03 PM

  • What is the best way to call a pageflow action from JavaScript?

    What is the best way to call a pageflow action from JavaScript?
    Thanks,
    John

    John,
    How would I do this from a grid??? Unfortunately there are no JavaScript attributes
    on any of the grid tags that I can see.
    Thanks,
    John
    "John H" <[email protected]> wrote:
    >
    Thanks John!
    "John Rohrlich" <[email protected]> wrote:
    John,
    If you want to put up a confirm dialog before calling an action from
    an
    anchor it is done as follows.
    Here is an example from code of mine that deletes a customer order,if
    the
    user confirms the delete. I pass the order id as a parameter.
    - john
    Here is the JavaScript -
    function confirmDelete() {
    if(confirm('Continue with order delete?'))
    return true;
    else
    return false;
    Here is a sample anchor tag -
    <netui:anchor action="requestToDeleteOrder" onClick="return
    confirmDelete(); return false;">
    Delete
    <netui:parameter name="orderId" value="{container.item.orderId}"/>
    </netui:anchor>
    "John H" <[email protected]> wrote in message
    news:402138f5$[email protected]..
    Thanks for the replies. I figured it was going to require buildingmy own
    url
    to call the action. I had hoped there was an easier way to do it.Rich,
    the
    reason I want to do this is because I want to call the JavaScript
    function
    confirm()
    when a user clicks on a link (in a repeater/grid) to drop a record,I only
    want
    to call the drop action if the user confirms the drop. Maybe thereis a
    better
    way to do what I am trying to do??? I really appreciate any help
    you
    guys
    can
    give me on this, I am pretty new to this sort of stuff.
    Thanks,
    John
    "Rich Kucera" <[email protected]> wrote:
    "John H" <[email protected]> wrote:
    What is the best way to call a pageflow action from JavaScript?
    Thanks,
    JohnTry figuring out the URL to the pageflow action, create a hidden
    form
    in the
    page, then use JS to submit the form. Why would you want to though,
    isn't
    the server going to want to send you to the next page?

  • How to call another action from Struts dispatch action?

    Hi all,
    there is a method in dispatch action that needs data from another chained action. How should other action determine which method in dispatch action will receive response and how should these data be returned from called action? Called action does not have associated form bean
    thanks,

    Not sure, why are there then "chained actions" is struts practice? Struts allows action without form bean to be configured and the action is a class?

  • Execute java script in action listener before action

    Hi, I have af:commandButton on my page , in its actionListener method I call java script
    which displays af:popup with two buttons, I want to execute af:commandButton's action method with some program logic in depend of which button in the af:popup is clicked. The problem is that action method is execute before my java script to show the af:popup.

    Hi,
    the reason is that the JavaScript that you execute from the ActionListener is not executed before the page (or page section) is rendered, which is in the lifecycle is then after the action method is invoked.
    However, I am observing on this forum that users think of JavaScript as a silver bullet, whereas it should really be seen as second choice only. If you want to execute logic in respect to which button a user clicks, then the code should be assigned to the button and not handled by some JavaScript. If - in combination with popups - you need to use JavaScript, then have a look at using the client listener for this (af:clientListener). Idealy you use the server side af:showPopupBehavior.
    As a rule of thumb: always try to go with best practices and not with the easy catch
    Frank

  • In Captivate 7, how can I call another action from within an action?

    I have a conditional action called FakeSuccessRewind. Now I need to call another function called ShowGrayBalloons02 from within its Else statement, but I couldn't find something like "Execute Advanced Action." Can anybody share some tips here? Thanks!
    Below are screenshots of my two actions:
    1) FakeSuccessRewind (if/else). Here I need to call the 2nd action from the Else statement, underneath the statement Go to the next slide.
    2) ShowGrayBalloons02. Note this function has five seperate runs when the variable is decrementing from 5-1.
    Thanks a lot!
    Melissa

    You can't, you need to add the other action into the first one.

  • End action will not execute because of end action on the final chapter point

    I will be referring to this video:
    http://tv.adobe.com/watch/learn-encore-cs4/creating-an-event-dvd/
    I followed this exactly, except for the slide show (and I made a DVD instead of flash), but when I checked the project, I get the error message "End action will not execute because of end action on the final chapter point".
    I don't understand.  I did not change any end points except for the one specified in this tutorial.  (About the Max footage for the very beginning, before the menu).  If anything was added, it was Adobe's doing.
    I do notice that in 00:04 in the tutorial, there's a downward arrow on the very end of the timeline.  My timeline does not have this.  How was this done?
    In the Encore software, after the timeline is loaded, there is no arrow at the very end.  Mine doesn't have that either.
    I'm finding Adobe/Encore's way of making menus rather difficult.  With Pinnacle Studios (at least through 8-12), making menus was easy, and it set up the chapters for you.  Why can't there be an automated menu feature in Encore?
    Anyway, here's my project:
    Main time line has 9 chapters. When clicking on their chapter points, all say End Action: not set.
    When I click on the white bar above the lite purple footage of the time line, where the chapter point's bottom rest, it says, End Action: Not Set AND Menu Remote: Return to Last Menu.
    All 9 chapter points are white.
    In the flowcart, there is the DVD icon --> my few seconds opening credits --> menu that has a Play All and Scene Selection button
    Play All goes to first chapter of video
    Scene Selection (submenu #1) goes to 6 scenes, a next, previous, main menu.  All seem to be linked properly.
    Scene Selection for scenes 7-9 are in the #2 submenu.  Has a previous button and a main menu button.   All seem to be linked properly.
    Can anyone offer any advice?  Help?  I need to make this DVD and two others by the end of the week!
    If you need more information, please let me know that too.

    If I make a change in the timeline in Premiere, will that new change be reflected in the timeline of Encore?
    If you used Adobe Dynamic Link, then yes, the Timeline will be updated. If you did not, then you will need to Export again, then Import into Encore. Watch out if you have already Transcoded, etc., and I'd name the new Timeline Export differently, Import that, use Replace Asset. When a Project is very new, and nothing much has been done, it will not be so picky. After a couple of links, etc., it gets VERY picky, and Replace Asset will help.
    Is there a way to reload the project without having to redo all the menus and links?
    If you did a Save_As, or still have your original Project, i.e. you started a completely new Project with a unique name, you can go back to the original.
    Hope that helps,
    Hunt

  • Looking for an idea to call action listner or other way to call java code

    Hi
    I'm building some project on JSF2
    I'm Looking for an idea to call action listner or other way to call java code from link(not commandlink)
    and i got a sign out button which i want to invalidate the session when its clicked...
    i cant do a redirect to a jsp... its a "special" link that does the log out , so i cant use the link for the session invalidation
    I dont want to use commandLink cause i need to put it into a form, and i don't to make my code uglier...
    any ideas?
    Im using JSF 2 (new to it)

    Under the constraints you have given the only thing I can think of is some kind of "pretty url" technique combined with JSF. Google can help you out. (Although that might be overkill for what you need.)
    Other than that I think you are looking at straight Java or JSP solutions that do not involve JSF.

  • Calling action unixActions2.2.0.18.0  touchFile

    Hi,
    I try to install Oracle 9.2.0.4 for 64-bit Linux platform on Suse 9.0.
    I have DELL Poweredge 2850 . I performed pre-installation tasks
    next I executed ./runInstaller from Disk1 . I see Universal Installer but when
    installation comes to the 18 percent and UI tries to install "Installing
    Oracle Reguaired Files 32-bit 9.2.0.1.0" my installation do not go further
    . Maybe you can help me?
    I present below the end of my log file.       
    copyAsText = null
            JarLoc = /tmp/OraInstall2006-03-10_04-22-02PM/temp36
            gpEntries = [[libvsn_ee9.a ->%ORACLE_HOME%/lib32/libvsn9.a 2214 plats=2=>[46] langs=2=>[en,fr,ar,bn,pt_BR,bg,fr_CA,ca,hr,cs,da,nl,ar_EG,en_GB,et,fi,de,el,iw,hu,is,in,it,ja,ko,es,lv,lt,ms,es_MX,no,pl,pt,ro,ru,zh_CN,sk,sl,es_ES,sv,th,zh_TW,tr,uk,vi]]
    , [libntcps9.a ->%ORACLE_HOME%/lib32/libntcps9.a 52696 plats=2=>[46] langs=2=>[en,fr,ar,bn,pt_BR,bg,fr_CA,ca,hr,cs,da,nl,ar_EG,en_GB,et,fi,de,el,iw,hu,is,in,it,ja,ko,es,lv,lt,ms,es_MX,no,pl,pt,ro,ru,zh_CN,sk,sl,es_ES,sv,th,zh_TW,tr,uk,vi]]
    , [naeet.o ->%ORACLE_HOME%/lib32/naeet.o 6029 plats=2=>[46] langs=2=>[en,fr,ar,bn,pt_BR,bg,fr_CA,ca,hr,cs,da,nl,ar_EG,en_GB,et,fi,de,el,iw,hu,is,in,it,ja,ko,es,lv,lt,ms,es_MX,no,pl,pt,ro,ru,zh_CN,sk,sl,es_ES,sv,th,zh_TW,tr,uk,vi]]
            DllGroup = false
    Calling action unixActions2.2.0.18.0  touchFile
            source = /oracle/DP5/920_64/lib/ldflags
    Thanks in advance
    Steven

    Problem resolved when
    export LD_ASSUME_KERNEL=2.4.21
    Thanks a lot,mj

  • How can i disable/hide the calling form from fnd_function.execute

    Hi,
    How can i disable/hide the calling form from fnd_function.execute.If so can any one give the syntax.
    thanks

    Hi Francesco,
    Are you talking about that ??? )) It will explain you about to get the name of the web page when you are executing an abap function for determining the values of variables...
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/biw/g-i/how%20to%20make%20a%20variable%20even%20more%20flexible%20in%20bw-bps.pdf">How to make a variable even more flexible in BW-BPS?</a>
    This is weird: I wrote that document a few weeks ago, it is theorically published on SDN but this is not possible to find it by using the research tool... Maybe because it applies only to BPS in 3.5. I did not have enough time to migrate that solution to BI-IP 7.0.
    Regards
    Laurent

  • On my G5 mac at work, I am getting - don't know what to call it - looks like extraneous matrix type code around prompt windows and in applications. Sometimes I will get large shapes of colors, yellows, magentas, cyans. Anyone else experience this?

    On my G5 mac at work, I am getting - don't know what to call it - looks like extraneous matrix type code around prompt windows and in applications. Sometimes I will get large shapes of colors, yellows, magentas, cyans. Anyone else experience this?
    I will attach a recent screen shot of a print window I opened and the extra code is above and below the window. There are matrix type blocks of code and then lines under the window. I get this all the time and it is getting worse.
    Any help to get rid of it would be appreciated.
    Thanks
    TatteredSkull

    It's likely the Video card, or possibly heat.
    At the Apple Icon at top left>About this Mac.
    Then click on More Info>Hardware and report this upto *but not including the Serial#*...
    Hardware Overview:
    Machine Name: Power Mac G5 Quad
    Machine Model: PowerMac11,2
    CPU Type: PowerPC G5 (1.1)
    Number Of CPUs: 4
    CPU Speed: 2.5 GHz
    L2 Cache (per CPU): 1 MB
    Memory: 10 GB
    Bus Speed: 1.25 GHz
    Boot ROM Version: 5.2.7f1
    Get Temperature Monitor to see if it's heat related...
    http://www.macupdate.com/info.php/id/12381/temperature-monitor
    iStat Menus...
    http://bjango.com/mac/istatmenus/
    And/or iStat Pro...
    http://www.islayer.com/apps/istatpro/
    If you have any temps in the 70°C/160°F range, that's likely it.

  • EJB is not throwing exception to calling Action class in Unix environment

    Hi
    We are using Weblogic Server 9.2.3.0.
    One of our EJB is not throwing exception to calling Action class in Unix environment. Its working fine in Windows.
    Somehow the EJB is swallowing the exception.
    any idea? I suspect it may be environmental issue?
    thank you

    Hi
    We are using Weblogic Server 9.2.3.0.
    One of our EJB is not throwing exception to calling Action class in Unix environment. Its working fine in Windows.
    Somehow the EJB is swallowing the exception.
    any idea? I suspect it may be environmental issue?
    thank you

  • Calling Actions in ABAP Programming.

    Hi,
    Is it possible to call ACTIONS in ABAP programming?
    Regards,

    Hi Pushpa,
    The receiver type is the workflow you want to start, when the event occurs, of corresponding object type.
    I Never had the need to develop at workflow level, but search a little in the foruns and you'll find a lot of info about this. I also advice you to open new threads when asking new questions: It's more appropriate and will bring you more answers
    Kind regards,
    Garcia

Maybe you are looking for

  • Why will my i phone 4 not successfully update the new I.O.S 5

    Why is it that when i install the downloadable content on I tunes my I phone 4 connects and starts downloading fine, then as the download comes to an end as soon as it finisheswhich is around (1 to 2 hours) it says 'sorry I tunes was not successful i

  • How do I find original music library?

    Okay so we have a few macs in the house and we can't seem to find the original itunes library for my husband on any device? We are upgrading computer and we don't want to lose any of his music, however whenever we go to itunes on all of our other dev

  • Using a java script comfirmation in delete record function?

    Hello; I am trying to write a confirmation script in Java to delete a record. I don't want it to delete the whole table of information, just the record teh delete button is attached to using the ID. Here is my script, and then the code on the page: <

  • Commenting tools available with SDK in v. 9?

    I have an application which opens a PDF file in Acrobat, using the SDK, and allows the user to add comments/annotations and then save the document. I have been unable to use Acrobat 7 or 8 in my application because the commenting toolbar is unavailab

  • SQL Server Data Tools (SSDT) is missing some features

    I am using SSDT  for the Team Database development.   I have created the Database project on SSDT and bind this project with the TFS. And asked team to start working on SSDT instead of SSMS. Below are the list of challenge that team are facing 1. The