invoke the action called more times

Hi all
I use call action that runs the query with parameters of request and extracts in a scope of the request bean. The problem is that the action is executed more than once during a single request. I tried all the value of possible action to invoke refresh. I also tried to put the table in a region "page fragment, but it does not help." The action called even when the table is scrolled.
RefreshCondition property does not help, because it is too complicated to define whether or not this is the first call.
Is it possible to invoke the action only once after receiving the request?
Thank you
SNikiforov
11.1.1.2.0

Use a workflow and to action invoke as a step in the workflow.

John

Tags: Java

Similar Questions

  • Cannot use the calendar network unavailable or slow app. The application takes more time to load than expected.

    When you use iCloud on my iMac I get the message "network unavailable or slow. The application takes more time to load than expected. "This has been the case for several hours, but other applications I use (Mail, Contacts, Notes, reminders), all seem to work well.  The

    I have the same message when I try to load the reminders in iCloud. All other applications work correctly. This issue has been ongoing for about a month now.

    Have this problem on my work computer running Windows 7 SP1 Pro and Macbook Air late 2009 w / OS X 10.11

  • Type of the object called several times Oracle constructor

    I have an object of type with a custom constructor. In SQL, when I reference attributes the constructor is called several times in Oracle 11.2.0.4.

    1. Why the constructor is called more than once?
    2. How can I stop it?

    My current job is about to reference attributes and use the / * + materialize * / tip.


    Problem installation

        create or replace type Foo as object
        (
          Bar1 NUMBER,
          Bar2 NUMBER,
          Bar3 NUMBER,
    
          CONSTRUCTOR FUNCTION Foo(p_Bar1 NUMBER, p_Bar2 NUMBER, p_Bar3 NUMBER)
            RETURN SELF AS RESULT
            DETERMINISTIC
        )
    /
        create or replace type body Foo is
    
          -- Member procedures and functions
          CONSTRUCTOR FUNCTION Foo(p_Bar1 NUMBER, p_Bar2 NUMBER, p_Bar3 NUMBER)
            RETURN SELF AS RESULT
            DETERMINISTIC
          AS
          BEGIN
            SELF.Bar1 := p_Bar1;
            SELF.Bar2 := p_Bar2;
            SELF.Bar3 := p_Bar3;
            dbms_output.put_line('Foo Constructor Called');
            RETURN;
          END;
    
        end;
    

    Problem

        -- Constructor is called 6 times! 
        -- Once for each column and once for each predicate in the where clause.
        SELECT x.f.bar1 AS bar1, x.f.bar2 AS bar2, x.f.bar3 AS bar3, f
        FROM (
          SELECT foo(p_Bar1 => 1, p_Bar2 => 2, p_Bar3 => 3) f
          FROM dual d
        ) x
        WHERE x.f.bar1 = x.f.bar1 AND x.f.bar2 = x.f.bar2
    

    Output

    Foo constructor called

    Foo constructor called

    Foo constructor called

    Foo constructor called

    Foo constructor called

    Foo constructor called

    Workaround

        -- Work Around
        -- Constructor is called 3 times
        -- Once for each column in the inline view. 
        -- Note, I removed column f (the object type) because it's not compatible with the materialize hint.
        WITH y AS (
          SELECT /*+ materialize */ x.f.bar1 AS bar1, x.f.bar2 AS bar2, x.f.bar3 AS bar3
          FROM (
            SELECT foo(p_Bar1 => 1, p_Bar2 => 2, p_Bar3 => 3) f
            FROM dual d
          ) x
        )
        SELECT y.bar1, y.bar2, y.bar3
        FROM y
        WHERE y.bar1 = y.bar1 AND y.bar2 = y.bar2
    

    Another solution is described in this thread... Access to the fields of an object custom type... which makes use of a type of collection combined with SCOREBOARD operator, like this...

    create or replace type FooTable as table of Foo;
    
    SELECT x.bar1 AS bar1, x.bar2 AS bar2, x.bar3 AS bar3, value(x) f
        FROM table(FooTable(
          foo(p_Bar1 => 1, p_Bar2 => 2, p_Bar3 => 3)
        )) x
        WHERE x.bar1 = x.bar1 AND x.bar2 = x.bar2
    ;
    
    BAR1 BAR2 BAR2 F
    1    2    3    (1, 2, 3)
    
    Foo Constructor Called
    

    Hope that helps...

    Gerard

  • DataGrid and & quot; change & quot; the event, called 2nd time problem

    Hello

    I have a datagrid and I use the attribute 'change' to call a function when you click on an item in my datagrid. I use the change attribute because I still want the columns to sort by the column header. In any case, it works the first time around, but if I click on the same element in the list, it does not yet have my function.

    When you click an item in the DataGrid I call the 'navigateToURL()' method and it works the first time, but when you click on the same item in the datagrid control, which is not, I guess he thinks there is no change happening so it does not have the function to call. He's right there.

    Any help appreciated.

    -WestSide

    try to use itemClick

    E.g.
    Script:
    public void clickItem(e:ListEvent):void {}
    If {(myDataGrid.selectedItem)
    navigateToURL()
    ......
    }
    }

    ......

  • I seems to have lost the window "cut all my photos" by sending a photo. This of course means that the pictures take more time to download and use a lot of my internet time. Any help please?

    I tried to fix this feature running again the installation disc.  However if I had continued with that Ihad completely and then reinstall XP and I didn't do

    Hi iriskitchen,

    ·         What email program are you using?

    ·         What is Microsoft Outlook? If so, which version?

    Check out the following link and see if it helps.

    Reduce the size of pictures and attachments - Outlook - Office.com

    If this is related to Microsoft Office Outlook, then I would suggest that you post your question once again on the forums of Microsoft Office Outlook here.

    If this isn't the case, reply with more information, so we can help you best.

  • How to invoke the action when the cursor changes to a BasicEditField. ?

    Hello

    In our application, we have two BasicEditField on the screen. our condition is that each time a

    TextBox (BasicEditField) is selected, it moves on the specific screen.

    How can I do this?

    JDE 4.5.0

    Device 8320

    Thank you best regards &,.

    Narendra

    crush onFocus

  • invoke the action soap "executeworkflow.

    I'm trying to call the method in question but the parameter highlight Red is not in the workflow. Other are ok. I'm not put parameter as an attribute

    concerning

    <? XML version = "1.0" encoding = "utf-8"? >
    < soap: Body >
    " < executeWorkflow xmlns =" http://WebService.VSO.dunes.ch ">
    < workflowId > 86808080808080808080808080808080A580808001318499105797f46cde8b648 < / workflowId >
    < user name > [email protected] < / name >
    XXX < password > < / password >
    < workflowInputs >
    memory < name > < / name >
    Number of the < type > < / type >
    < value > 2048 < / value >
    < / workflowInputs >
    < workflowInputs >
    < name > newVmName < / name >
    < type > string < / type >
    < value > cancellamiPS1 < / value >
    < / workflowInputs >
    < workflowInputs >
    newSize < name > < / name >
    Number of the < type > < / type >
    < value > 8 < / value >
    < / workflowInputs >
    < workflowInputs >
    customerName < name > < / name >
    < type > string < / type >
    < value > cliente2 < / value >
    < / workflowInputs >
    < workflowInputs >
    < name > blank_vm < / name >
    Boolean < type > < / type >
    < value > true < / value >
    < / workflowInputs >
    < workflowInputs >
    < name > vmGuestOs < / name >
    < type > VC:VirtualMachineGuestOsIdentifier < / type >
    < value > ubuntuGuest < / value >
    < / workflowInputs >
    < / executeWorkflow >
    < / soap: Body >
    < / envelope soap: >

    Your 'value' field must be in the form of a dunesURI:

    dunes://service.dunes.ch/CustomSDKObject?id='ubuntuGuest'&dunesName='VC:VirtualMachineGuestOsIdentifier'
    

    You can use the line above, as it is for your exact rate below and just change the id = "ubuntuGuest" according to the needs for other guest operating system identifiers.

  • Join the order: take more time?

    one

    Published by: kam on October 27, 2009 18:55

    Yes.That is part of the path or try using Hints.That works too sometimes.

    See you soon!
    Bobin

  • Repeat the action and save the file

    Hello

    I'm having a fever and is trying to accomplish something that seems very simple not knowing anything about scripting.

    I made an action that applies to some simple effects (blur, threshold and high pass). I want to do is to repeat the action of n times and save an additional for each repetition png so I find myself with a sequence of files numbered from the action more applied (as in this example, Photoshop Cs5 filters Animation on Vimeo).

    After som Googling, I ended up using AppleScript and was able to repeat the action for as many times as I want, but I'm completely stuck on the file save game. That's what I have right now:

    Any help is greatly appreciated!

    say application 'Adobe Photoshop CC 2015.5'

         set Starting point to current document

         set theFilePath to path of the file of current document

    Repeat with n from 1 to 10

    set myFile to theFilePath & ': output: image ' & { n channel } & ".png"

    do "CrazyAction" of "Default Actions"

    { Save document in file myFile as PNG with options { }classPNG save options interwoven:fake} :

    end Repeat

    end say

    In case someone comes up with the solution I also have another related question: How can I make sure that the output file names will have a padding of the number? Ideally, I'd end up with image2.png and so on, rather than image1.png image001.png, image002.png.

    Thanks in advance!

    One of the things you can do with javascript you can not do with applescript is to use the scriptlistener plugin. This plugin is put into the photoshop plug-ins folder, and when he's here (you don't want to leave it there all the time) it will record about everything you do, kind of like an action, but it generates the code in a file on your desktop. I used it for recording an action to save the png and running. The parts of the code are in the functions in the script. So I just created a folder name of base, a base file name and a counter of departure. The script will then execute your action and save a png image in this folder and change the name of the base by the counter file increases by one each time. You must put in the name of your action and the name of the action as defined in the script.

    #target photoshop
    var fileName = 'myFile-';
    var folderPath = new Folder (Folder.desktop +'/action test/')//create whatever path you want here. Make sure the folder exists!
    var doc = activeDocument;
    var counter = 1//counter for changing the filename
    
    for (var i=0;i<4;i++){//Change number 4 to whatever number you want it to repeat + 1
        runMyAction ("twirl", "Chuck");//put in action name and action set name. This line can be duplicated for different actions.
        savePNG ()
        counter++
        }
    
    function runMyAction(myAction, myActionSet){
        var idPly = charIDToTypeID( "Ply " );
            var desc25 = new ActionDescriptor();
            var idnull = charIDToTypeID( "null" );
                var ref8 = new ActionReference();
                var idActn = charIDToTypeID( "Actn" );
                ref8.putName( idActn, myAction );//changed to a variable
                var idASet = charIDToTypeID( "ASet" );
                ref8.putName( idASet, myActionSet );//Changed to a variable
            desc25.putReference( idnull, ref8 );
        executeAction( idPly, desc25, DialogModes.NO );
        }
    
    function savePNG(){
        var idsave = charIDToTypeID( "save" );
            var desc28 = new ActionDescriptor();
            var idAs = charIDToTypeID( "As  " );
                var desc29 = new ActionDescriptor();
                var idPGIT = charIDToTypeID( "PGIT" );
                var idPGIT = charIDToTypeID( "PGIT" );
                var idPGIN = charIDToTypeID( "PGIN" );
                desc29.putEnumerated( idPGIT, idPGIT, idPGIN );
                var idPNGf = charIDToTypeID( "PNGf" );
                var idPNGf = charIDToTypeID( "PNGf" );
                var idPGAd = charIDToTypeID( "PGAd" );
                desc29.putEnumerated( idPNGf, idPNGf, idPGAd );
                var idCmpr = charIDToTypeID( "Cmpr" );
                desc29.putInteger( idCmpr, 9 );
            var idPNGF = charIDToTypeID( "PNGF" );
            desc28.putObject( idAs, idPNGF, desc29 );
            var idIn = charIDToTypeID( "In  " );
            desc28.putPath( idIn, new File( folderPath + '/'+ fileName + counter+ ".png" ) );//set folder path and name
            var idDocI = charIDToTypeID( "DocI" );
            desc28.putInteger( idDocI, 200 );
            var idCpy = charIDToTypeID( "Cpy " );
            desc28.putBoolean( idCpy, true );
            var idsaveStage = stringIDToTypeID( "saveStage" );
            var idsaveStageType = stringIDToTypeID( "saveStageType" );
            var idsaveBegin = stringIDToTypeID( "saveBegin" );
            desc28.putEnumerated( idsaveStage, idsaveStageType, idsaveBegin );
        executeAction( idsave, desc28, DialogModes.NO );
        }
    
  • Is it possible to invoke the third party application every time that the user receives an incoming call

    Hello

    I have some doubts in regard to invoking an application third, whenever there is an incoming call (by observing the change in status of the phone). The third-party application must be called as soon as the user gets the call and must replace the appication of dial phone by default/native.

    Please suggest me some ideas if the above can be implemented or not. If it can be put in place what is possible?

    Also suggest me if there is another way to achieve this.

    Thanks in advance,

    Arun

    Got the solution after enough research:

    In Blackberry the substitution of native applications in is not possible. When there is a call that is a priority interruption that all applications are moved to the bottom and the phone call will be prioritized. When an incoming call is there is not possible to invoke the third about, we can take control as soon as the call is completed.

  • Invoke the timer in QML

    Hello

    I have a problem with the invocation of application kernel clock in QML.

    This is my code:

            ActionItem {
                title: "Set Timer"
                imageSource: "asset:///images/Timer.png"
                ActionBar.placement: ActionBarPlacement.OnBar
                onTriggered: {
                    timer.trigger("bb.action.VIEW");
                }
                attachedObjects: [
                    Invocation {
                        id: timer
                        query {
                            invokeTargetId: "bb.clock.launcher"
                            mimeType: "text/plain"
                            data: "timerTab"
                        }
    
                    }
                ]
            }
    

    This is what I get in the console:

    InvocationWrapper:nQueryFinished: no matching results for query service Menu
    mimeType = "text/plain".
    URI = QUrl("")
    Data = "timerTab".
    metadata = QMap()
    perimeter = 0
    action = «»
    target = "bb.clock.launcher".
    invokerIncluded = false
    InvocationPrivate:nQueryResolved: no matching result query, no armed signal sent.

    I forgot set some sort of clearance or to include the library?

    It's page with the attributes required to invoke the clock app

    https://developer.BlackBerry.com/native/documentation/Cascades/device_platform/invocation/clock.html

    I use 10.1.0.4633 SDK

    Unfortunately, this could be yet another case where the supply of the property 'data' on an InvokeQuery in QML does not work. There are other threads where the same situation arises with invoking the composer of the email and phone dialer.

    The only solution that I came up with so far is to use C++ for that. See Shadid post here for an example to do for e-mail (http://supportforums.blackberry.com/t5/Native-Development/Invoke-Email-with-Attachment/m-p/2251453#M...

    Note the use of PpsObject::encode (), which may be a necessary part of the puzzle, but with a simple string required for data in this case (for example, "timerTab"), which may be required. It is not clear and basically undocumented. They were never really intended to expose all PPS stuff to us, so these cases may all the places where the APIs are insufficient and different hacks are needed to overcome gaps.  (Note that all the calls done encode() is to convert the string to a byte array and preprending ' data : json: "for it and maybe add a line break at the end (which is required at least in the case of e-mail).)

  • can the dynamic action call function already?

    I have a dynamic action that keeps a total on the screen for two columns of numbers.

    Now I need to have a total cumulative where X column > column Y. I don't know if I can do that in an expression javascrip t. I had hoped to call a JavaScript function that returns the value... but the function does not return anything right now.


    This could be a thing of syntax sillly - I hope so, but before you spend more time looking for in this I but I would like to ask - is it still possible?

    Assuming that column1 is apex global table 1(name=f01) and column 2 picture 2 (name = f02).
    Name of the item page that show the total operation: P100_TOTAL
    Dynamic action
    Event: change
    Triggered by: jQuery selector
    selector: * input [name = f01], input [name = f02] *.
    Event type: javascript

    var total = 0;
    /* Go up untile report table */
    var this_table = $(this.triggeringElement).parents('table:first');
    
    /* Loop through each report row */
    this_table.find('tr').each( function(){
    var colX = ( $(this).find('input[name=f01]').val() == ' ') ? 0 : parseFloat(parent_row.find('input[name=f01]').val() );
    var colY =  ( $(this).find('input[name=f02]').val() == ' ') ? 0 : parseFloat(parent_row.find('input[name=f02]').val() );
    /* Add colX if its greater than Y */
    if ( colX >colY)  {
       total += colX;
      }
    }
     /* Assign Page itme with total*/
    $s(' P100_TOTAL',total);
    
  • Error-50103 during the VI call for the second time

    I have a main VI who, after the initial installation, called a VI that reads and writes several times to a data acquisition (USB 6356). This VI subroutine is called several times for each of the stages of the program. On the first pass through, there is no problem. During subsequent calls to the sub VI, however, it throws error-50103. I've identified the task that resolves this error. I made sure to do a self-cleaning on the task, create the task outside of loops and stop and clear the task after all the iterations are performed. To check if it is only the following calls may cause the error, I created a simple VI who just ran the sub VI twice now, and there are no errors.

    Any ideas on what is causing my problem or why it does occur during subsequent calls to my VI more complex?

    A picture of the frame and the task which gives me the number is attached.

    Thank you!

    I finally found the problem, although it was not the task that LabVIEW had identified. The problem task was a separate sub - VI who was called from the main VI and the Subvi that threw the error. I got this task stopped and cleared and it's not like he has over the matter.

    Thanks to all who have contributed.

  • call the owner VI several times

    Hi all

    I try to call the owner VI several times and was not sure if it's possible. I try to call the same VI in a VI with different condition.

    I have this VI as active with reentrant template (VI_1), and inside the loop, he calls another instance of this model (let's call it VI_2) and wait for the completion called VI (VI_2) and proceed to the next action. The problem, it's wait until done does not wait even if I set it to True. Can someone tell me what I am doing wrong? or even if this is possible.

    Thank you in advance.

    So the VI calls himself?

    If so, you can drop the VI to its own diagram if it is defined in the version of LabVIEW 2009 neres and later.

    Tone

  • The purpose of programmatic view called several times ExecuteQueryForCollection

    [JDev/ADF v11.1.1.5.0]

    I am trying to create a VO that is not supported by DB, but instead takes its data from an external source (subsequently, a web service, but that's irrelevant to this question). I followed on each sample, I found and have created the VO and all overridden methods. I use this VO to create a LOV list for a VO another attribute, and the values in the LOV will vary based on a value in another attribute in the main volume (this is called LOVs cascading in various places).

    Here's an example, using the HR schema (a little artificial, I admit it):

    -Two your - DepartmentVO and ManagerVO - are defined

    -The DepartmentVO is supported by the DB and a normal EO and VO.

    -L' Manager in the DepartmentVO attribute is set to a supported by the ManagerVO LOV

    -The ManagerVO is programmatic and returns a list of employees who are in the same Department as the DepartmentID in the line of master DepartmentVO. To do this, use a Bind Variable (DeptId) that is set up to take the value of the DepartmentID attribute in the current line of DepartmentVO. This value of binding is used to filter the list of employees referred to only in the same Department.

    -J' replaced the executeQueryForCollection method in ManagerVOImpl. Here, I retrieve the value of the variable DeptId bind parameters passed in object/object2 to the method, and then use to retrieve employees in this Department of my main source.

    So far so good. Presents all works. (He lifts the employees in the same Department and displays them in the popup LOV.) If you change the Department then click to display the attribute Manager LOV, it shows you the list of employees in the new Department.)

    The problem I see is that the executeQueryForCollection method is called several times (2 or 3), causing the recovery of employees in the Department occur several times. For example, the test by running the AM executeQueryForCollection is called when I click the button to display the popup LOV (which makes sense). However, it is said AGAIN when I click the OK button in the popup LOV after selecting one of the values. (This should NOT!) And, if I create a JSF page and drop the data control to create a form and test it in this way, the executeQueryForCollection is called THREE times!

    I have the logic in the class ManagerVOImpl, which checks whether the list of employees has been recovered already, and if so, it's just returns the existing list. However, multiple calls are actually coming from different instances of the VO class, so that they only "see" the list has already been retrieved (because she was retrieved from another instance of the class, not this one).

    So my question is: How can I ADF do not call the executeQueryForCollection several times during the use of the VO as a LOV so that my (very expensive) call in the master repository to retrieve the list of employees is not executed more than necessary?  Is my only option to implement share caching mechanism myself that stores the list of employees of a Department somewhere in memory? I thought that ADF BC will make caching for me at the level VO?

    Thanks for any help that anyone can provide. I have literally been taken with that for two weeks, when I thought it would be a 'fast' to implement! :-)

    I'd be happy to upload/attach the source of my 'ManagerVOImpl' class, if that would be helpful.

    Have you tried to put a conditional statement in your back-end call happens only on your principal of the VO and not on the other 2 forums and see if that affects your functionality?

    that is, if (myIdName == "myVOInstance") {}

    do things;

    }

    I did it with VO this call that some heavy DB stored procedures in the executeQueryForCollection.

Maybe you are looking for

  • By clicking on the link does not open new tab

    By clicking on a link in an e-mail message (MAC Mail) open FF and directly to the page, if Firefox is closed. Fine.However, if FF is already running, by clicking on the link only FF put in the foreground, but does not open a new tab, or the link fill

  • How to upgrade my macbook past 10.6.8

    Hi... so I need os X 10.8 or more in order to run this program I install this macbook specially for...  (Djing software) I 10.6.8 and he says no update available... I can't find ANYTHING ANYWHERE on ANY OS besides el capitan... What is stupid... I wo

  • structure of the event to turn on and off a LED

    Good afternoon I would like to activate a part of my algorithm according to the value in another part. To make it easier, I symbolize the value by a button and tried a structure of user event to turn on or turn off an LED located in another while loo

  • How the scam can be used to manage access to the servers?

    particularly interested in the ability to add/remove domain groups to the servers in the environment of Windows 2003/2008 Server s. TIA

  • HP 3500 PRO: software problems

    Hello, I had recently a new motherboard installed along withanother 4 G ram, bringing the total to 8 G and new 1 T hard drive seagate. I did the factory original recovery discs but I am unable to use these 4 disks to reinstall windows. After the load