Taskflow Rollback is the origin of the display objects clear their cache

We use JDeveloper 11.1.2.4 and JHS 11.1.2.4.  Application modules are derived from JhsApplicationModuleImpl.  It seems that the session of preparation is getDBTransaction () .setClearCacheOnRollback (false);

We have a taskflow for pop up containing a backup and Cancel button more dynamic content region.  The idea is that the backup will call back activity that performs validation.  This will also close the pop-up window.  The Cancel button is similar to the record button, but the return of the activity will end the transaction with a rollback.  This seems to notify all objects in consultation: to deliver a restoration.  This causes each view object clear their cache, and then rerun the query. However, when the cancellation occurs, it causes all active views to be erased and updated.  There is a performance problem because all user data, module, menu and permission of JHS are updated.

I also tried to use savepoints taskflow and observed the same behavior.

It seems that the setClearCacheOnRollback may not be glued to or support has changed.

I can also look at doing something different, but this seems to be a little problem with the extensions of JHS and / or ADF.  My other thing involves a managed bean that can invoke the effective cancellation of the view in question object.


Thank you

BradW

Brad,

The best way to solve this is to change the scope of control of data isolated for popup workflow group.

In this way the workflow gets its own am instance and will only restore their own data.

Steven Davelaar,

JHeadstart team

Tags: Java

Similar Questions

  • To access the display object on the stage of another class

    I Googled that nothing helps, I only found how to manipulate the scene itself and not a display on that object and I'm noob enough to not be able to figure it out from there. :/

    I have a clip on the main timeline with the instance name displayName. I created a button that should change this framework displayName will to (in order to... makes you guess? display the name of the button.) Awesome. )

    So, I'm trying to write the code in a reusable manner and have everything related to a class called GeoPuzzle buttons. Inside the GeoPuzzle I instantiate a touch event and run code. However, the function should be able to change displayName in the main part of the timeline and, of course, the compiler says displayName does not exist because I'm in a class and I don't mean the scene.

    Here's the code simplified in the class:

    package com.freerangeeggheads.puzzleography {}
    import flash.display.MovieClip;
    import flash.events.TouchEvent;

    SerializableAttribute public class extends MovieClip {} GeoPuzzle
    declaring variables

    public void setInitial (abbrev:String, fullName:String, isLocked:Boolean): void {}
    Set the parameters
    this.addEventListener (TouchEvent.TOUCH_BEGIN, geoTouchBeginHandler);
    }

    public void GeoPuzzle (): void {}
    }

    public void geoTouchBeginHandler (e:TouchEvent): void {}
    e.target.addEventListener (TouchEvent.TOUCH_END, geoTouchEndHandler);
    other methods
    nameDisplay.gotoAndStop (e.target.abbrev);
    }

    public void geoTouchEndHandler (e:TouchEvent): void {}
    other methods
    nameDisplay.gotoAndStop ("USA");
    }
    }
    }

    The lines in bold are my problem. Now this code does not actually as it is the case if you find an error in it, Yes, I have no idea what the problem is, but he DID run forward and these lines always gave me wrong so I'll try to help out on multiple fronts.

    How can I say displayName to change its current image within the display object class?

    Thank you!

    any display list object can refer to any display list object, but this is not necessarily good OOP.

    in any case, for your class reference displayName:

    . DisplayName MovieClip (this.parent)

  • Solved: How use the display objects in several projects?

    I have an object of common view that I need to use in several projects. How to import a view object pre-created in a project to re - use?

    Thank you
    Kurz

    Published by: Kurzweil4 on July 14, 2010 12:15

    In the package where the VO is defined, there should be a file server.xml file that contains all the BC4J objects. You can then add this file to your project in JDeveloper and it will add all the your defined in the file.

    Kind regards
    LC

  • Good way to put in shape a date when the display object in a datagrid control

    Hi all

    I have a datagrid that displays a collection of ArrayCollection of objects having a Date property.  I want to format the Date property to display in the form DD/MM/YYYY.

    I made it like that.  Is there a better way?  This seems a bit complicated and wordy.  I was hoping I could just apply an attribute to the property of the DataGridColumn, something like "displayFormat" he said how to parse the date into a string.

    In any case, here's what I did.  First of all, inside the < fx:Declarations > I've got block < mx:DateFormatter id = "dateTimeFormatter" formatString = "MM/DD/YYYY" / >

    Then, I defined the following function within a block < fx:Script >:

    public void labelFunction(item:Object,_column:DataGridColumn):String {}

    var result: String = "";

    {Switch (Column.DataField)}

    case "expiry":

    result = dateTimeFormatter.format (item.expiration);

    break;

    }

    return the result;

    }

    Then, I set my grid of data like this:

    < mx:DataGrid x = "10" y = "42" dataProvider = "{currentRoster}" >

    < mx:columns >

    < mx:DataGridColumn headerText = "Member ID" dataField = "constituentId" / >

    < mx:DataGridColumn headerText = "First name" dataField = "FirstName" / >

    < mx:DataGridColumn headerText = "Lastname" dataField = "lastname" / >

    < mx:DataGridColumn headerText = "Orders" dataField = "standing" / >

    < mx:DataGridColumn headerText = "Expiry" dataField = "expiry" labelFunction = "labelFunction".

    < / mx:columns >

    < / mx:DataGrid >

    And it works.  But even once, it seems to me a little too when all I want to do is change the way the column "Expire" shows the date?

    Hello

    You must place the code inside the tag that may be related.

    
    
  • How to change the order of the data record in the display objects

    Hi gurus,

    I'm new in the adf and the use of 11.1.2.3.

    I have three objects in view as A, B, C. A is the main view and B, C are details. My requirement is during the recording of data in mode B, if the data exists for C so I want to insert data in B. If data exist not in C will then generate an error. Is it possible to get the line that is not yet registered in db, but has been initialized in object view by adding accessors view or in any other way.

    Thank you

    Hi Shahzad

    You can override the validate() method in EntityImp, in this method, you can use accessors to access the Master EO and access other EO details.

    For example: EOa -.<>

    -<>

    EOcImpl.java to validate the method you can... this.getEOa () .getEOb ()-> This last return the RowIterator accessor class this collection have all children the EOb, now, you can use getRowCountEstimate() by cheque if data exists in the neck or not.

    Best regards, Marcelo

  • Create the display object during execution

    Hello

    I have a requirement to create an instance of a DisplayObject which type will not know before execution.

    For example, instead of:
    public myObject:Button var = new Button();

    I want to be able to do something like:
    myObjectName:String public var = "Button";
    public var myObject: [myObjectName] = new [myObjectName];

    What is the syntax to do?

    If you have only one name (string) to convert a class, you need to complete (namespaced) name and use the library flash.utils AS introspection. specifically getDefinitionByName().

    var myClassName: String = "mx.controls.DataGrid; for example
    var myClassRef: Object = flash.utils.getDefinitionByName (myClassName);
    var myClass: class = myClassRef in class; should be first tested to make sure that is actually a class...
    var myInstance: Object = new myClass(); with optional params...

    If you treat first General names, such as "Button", you will have to map to the fullQualName appropriate "mx.controls.Button", etc.

    Hope that helps.

  • The objects will not retain any color defined when the surrounding objects have their color changed

    Just Illustrator CC 19.0.0 was downloaded to me. When I place a line and then set its color, close objects can also have their color changed. This includes the items in the file of until I added the line, not on the same map-art objects. It is not universal, nor is it compatible. Objects already in the file are perhaps there for months, but a change is close will change their.

    The Illustrator files can still be an earlier version, and there were a number of illustrations that had black lines and text to white turned a few months back. As these illustrations are for a book, being unable to guarantee that the colors will stay together long enough to complete the illustration and export it tends to make unusable Illustrator for tasks of editions. I hope that InDesign and Photoshop do not have the same questions!

    nwjh,

    You must update to 19.1 (or 19.1.1 for Windows) or 19.2 (lattethe has some problems, then you can start with the former).

    If 19.1 (or 19.2) does not appear, disconnect and then reconnect the creative cloud application. After that, the 19.1 update must be visible in the creative application of Cloud.

  • Determine if a display object is a component that can use the validateNow() method

    I'm trying to scroll all of my display objects to see if it is a component that I can use. validateNow() on. I found code that traverses all objects display in my scene, but I have no idea how to find out if the display object is a UI component that has the validateNow() method. My problem is when I resize my flash, components application don't make it correctly. I use validateNow on each component individually, but there must be a way to get each of them quickly. As if (dsoChild is uicomponent) then dsoChild.validateNow ().

    getChildren (this);

    function getChildren(dsObject:DisplayObjectContainer,_iDepth:int_=_0):void

    {

    var i: int = 0;

    var sDummyTabs:String = "";

    var dsoChild:DisplayObject;

    for (i; i < iDepth; i ++)

    sDummyTabs += "\t";

    trace (sDummyTabs + dsObject);

    for (i = 0; i < dsObject.numChildren; ++ I)

    {

    dsoChild = dsObject.getChildAt (i);

    If (dsoChild is DisplayObjectContainer & & 0 < DisplayObjectContainer (dsoChild) .numChildren) {}

    getChildren (dsoChild as DisplayObjectContainer, ++ iDepth);

    }

    else {}

    trace (sDummyTabs + "\t" + dsoChild);

    }

    }

    }

    not all components are the user interface components, but I think of you for those purposes and only you want to detect.

    If so, you can use UIComponent to check the user interface components.

    I'm not sure what the code because it has a useless loop so you should probably use something more reliable like:

    import flash.display.DisplayObjectContainer;

    Import fl.core.UIComponent;

    componentF (Sprite (root));

    function componentF(dobjC:DisplayObjectContainer):void {}

    If (dobjC is UIComponent) {}

    UIComponent (dobjC) .invalidate ();

    }

    for (var i: int = 0; i<>

    If (dobjC.getChildAt (i) is DisplayObjectContainer) {}

    componentF (DisplayObjectContainer (dobjC.getChildAt (i)));

    }

    }

    }

    PS ui parts have child UI components and you probably don't want to invalidate those (if in which case you should not check for children of UI components).  However, if you apply addChild to a UI component you probably will want to check children component ui.  I don't see an easy way to manage both at the same time.

  • hard to follow the point at the top of the display list

    Hey there.

    All day yesterday I tried to find a way to do something and I finally gave! I hope you can help me!

    I have a folder that contains all the code for a main menu. This code shows how to load the other as a file which initializes the code for general items that will be on the scene throughout the entire flash.

    But when I initialize the code for one of the menu items when he clicks on I don't know how to get 2 of the elements from the code of scene elements to be at the top of the display list. Because, as the code for the menu item load the elements of two stages will cover the elements of this code and after loading his will open and show them things that are loaded from the menu item code.

    If you do not understand quite what I said here pls let me know if I can explain in more detail.   I appreciate any help or instructions that you can give me!

    As you know, we use to define the depths with swapDepths() within the AS2.

    In AS3 the setChildIndex allows you to set the depths of your symbol (s).

    send to back

    setChildIndex(myMC,0);

    bring to front

    setChildIndex (myMC, numChildren - 1);

    So if you have 3 clips (myMC1, myMC2 myMC3) and you want them to appear in this order of depth, simple call them in that order.

    setChildIndex (myMC1, numChildren - 1);
    setChildIndex (myMC2, numChildren - 1);
    setChildIndex (myMC3, numChildren - 1);

    I'm sure that you must use the setChildIndex() within the display object container class.

    http://www.Adobe.com/LiveDocs/Flash/9.0/ActionScriptLangRefV3/Flash/display/DisplayObjectC ontainer.html#setChildIndex%28%29

    I hope this helps?

    Anyone else want to add to this answer more in detail?

    Best,

    Mark

  • Stop the automatic execution of the View object without setting to insert only?

    Hello

    I have a View object that is used to insert only.  However, as I have to be able to filter through the lines not validated with a view criteria, I can't put the View tuning object to insert only.

    I do not want to run queries to the database because the attribute I am filtering by is a transitional attribute that is set when a new line is created.  The only purpose of this attribute should be used for filtering.  When my VO runs a query, I get an error because this attribute is not in the table of database mapped to the VO.  Currently, this attribute is added to the EO and I added it to the VO as attribute 'of the entity.  Another reason, I want to query the DB is because there are more than 500 k rows in the table.

    In short, I need a way to stop all the display object queries until I called the line below but I can't adjust the View object to insert only.

    welltdwVO.setQueryMode(ViewObject.QUERY_MODE_SCAN_UNPOSTED_ENTITY_ROWS);
    

    Thanks for reading.

    Hello

    First keeping a transitional attribute at the level of the entities should not raise an error make sure you follow the instructions.

    http://docs.Oracle.com/CD/E21764_01/Web.1111/b31974/bcentities.htm#BABHGCAH

    Secondly, to prevent the execution of the query you can run together of empty lines on the view object, before displaying the page. If an iterator is involved, and it doesn't have to be so also on the property of RowCountThreshold-1.

  • Changing the property update of an attribute of the View object through code

    Hello

    Is there a way to set the property "Updatable" of an attribute in an object of display through code?

    I checked the API documentation for the class of AttributeDef, but there is no method to set it. There is a constant (UPDATEABLE_WHILE_NEW), which gives the current value.

    My needs in short - I have a modifiable ADF Table. Based on a flag, whether or NOT it is FIXED, I need to make a particular column, such that the inputTextBox on this column should appear so that the new rows inserted into the table. Existing users should not be allowed to change the values in this column for all rows.

    I know that it can be controlled by the UPDATABLE property on the attribute in the display object by setting the 'ALL new '.

    Now, I need to control this code during execution.

    Please let me know on OE for that.

    JDev version: 11.1.2.3

    Thank you.

    the method you are looking for is available in the AttributeDefImpl class that you can get from the EntityImpl as

    this.mDefinitionObject.getAttributeDefImpl("YOUR_ATTRIBUTE_NAME").setUpdateableFlag(AttributeDef.UPDATEABLE_WHILE_NEW);
    

    Timo

  • REST API - the internal names of the fields in the custom object

    Hello

    We have an old system that uses the SOAP API and I'm rewritten with the REST API. Before, with SOAP, you identify the fields object personalized with their internal names. Therefore, our system and stored that names in its database. Now, I'm facing a problem. as the REST API does not provide the internal names for the fields in the custom object, as their full names and IDs. Am I wrong? Is it possible to get the internal names through REST? I found, you can get this internal names through the API as a WHOLE, but is there really no way to get them using REST? It seems strange to me and I don't want to use in BULK as there limits for requests per day.

    Hi Marc,

    In bulk API endpoints are the best way to retrieve the details field you are looking for.  Calls to retrieve this detail do not count against the daily API limits for the bulk API.

  • I've accidentally maxed the display open all trying to open a word document and I can't go back to its original size. What should I do?

    I've accidentally maxed the display open all trying to open a word document and I can't go back to its original size. What should I do?

    Click the button on the top middle right, or give a better explanation please.

  • The display is very slow on the Satellite 1800 412

    I installed Windows XP Professional (do not use the Toshiba installation disc) and since then, the display is very slow refreshing when scrolling. It takes about 30 seconds to scroll one page down in Word for example. I tried to install the latest display driver but the installation block. Installing the driver in safe mode works but the computer hangs at startup and I needed to uninstall the driver. The laptop now seems to use a standard VGA driver of XP.

    Hello

    If you install the operating system from the original Microsoft CD you need drivers Toshiba. These drivers must be installed in the correct order. Is very important to install the driver from chipset to the first common modules and if they are available. Please also check what graphics card you have and install a good driver.

  • Satellite Pro M30: Need for new version of the display driver

    It's so frustrating! How is that possible?
    The display driver (nvidia fx 5200 go) is so old - according to Device Manager the 28/08/2003 driver date and version is 45,56 while the current driver in the NVIDIA site is heading 84.21?

    And there is no new drivers on the Toshiba site and you can not install of nvidia, as they say that FX 5200 go is not supported and to download a driver from the manufacturer of the laptop that is obviously impossible!

    Anyone find a solution to this problem?

    Hi Valentin,.

    I had a similar situation with my A30 that prevented me from playing several games. As you will discover, it is virtually impossible to load the latest drivers (ATI or NVIDIA) maufacturers website so I resorted to http://www.omegadrivers.net/ OMEGA drivers to see if they work.

    The drivers Omega loading perfectly and worked without any problems for the last few months. I can even play games that would not support the original Toshiba drivers.

    I agree that there is a potential risk of the graphics chip overheating, but so far I have not suffered harm.

    Kind regards

Maybe you are looking for