Are Transient VO & attributes handled differently ?????????????????????????

Hi All,
i'm using jdev10.1.2, adf bc's and jsp's. I'm having a transient attribute problem. I can populate these values fine, but subsequently if i try and manipulate these transient attributes, their values are all null. I've handled these tranient attributes exactly as you would any regular attribute. i just cant understand why they're not behaving as i would expect.
So my question is, are the transient attributes handled differently??? Is there a property i need to set that i'm missing? do they need to be inserted into views in a special?
If anyone could shed any light in the subject i would be most grateful or even if anyone could point me towards a good site on the subject.....
Thanks,
Liz

Liz,
Have a look at section 28.6 of the ADF Developer's Guide for Forms/4GL Developers (version 10.1.3.1.0 - I don't have the equivalent 10.1.2 version handy. It says, in part:
Transient view object attributes are not passivated by default. Due to their nature, they
are usually intended to be "read only" and are very easily recreateable. So, it often
doesn’t make sense to passivate their values as part of the XML snapshot. However,
by checking the Passivate checkbox on the Attribute page of the View Object Editor
for any transient attribute, you can declaratively configure it to be
passivation-enabled.
Hope this helps,
John

Similar Messages

  • Material number are same but attribute of materials are different.

    What if we have two system connected with APO with similar material numbers but in fact different material in description.
    I mean, numbers are same but attribute of materials are different.
    How to address it in APO.....?
    Regards

    HI,
    An SCM system (APO) can be integrated with multiple ECC systems (logical
    systems). It may therefore be the case that the number assignment for certain
    master data objects, for example, material masters, is not the same in all these
    logical systems. In the example above, material number A in logical systems 1
    and 2 signifies the same cube, whereas the same material number in logical system
    3 (perhaps a subsequently purchased plant) is a cylinder.
    If logical systems 1, 2 and 3 are planned with the same SCM System, the problem
    arises that the system cannot simply transfer the ECC material numbers into APO,
    as they may be ambiguous.
    To guarantee that the naming of master data in distributed system landscapes is
    unique, business system groups are defined in APO as areas of the same naming
    convention. A Business System Group (BSG) groups different physical systems to
    form a higher-level logical unit.
    If, for example, two logical systems (LS1 and LS3) exist in a system landscape in
    which you want to integrate APO and contain different materials with the same
    name (Material A is a cube in LS1, but a cylinder in LS2), this conflict must
    be resolved for integration in APO. First of all, both logical systems are to be
    assigned to different business system groups (BSG1 and BSG2).
    check and revert back , Hope it will help you.
    Regards
    Ritesh

  • Transient VO Attributes Question?

    Can anyone please explain to me why there appears to be two, and not one, VORowImpl instances for one detailVO record?  Please let me explain.
    I have two EO's with one AO between them.  Two VO's and a VL between them.  An AM containing the two VO's with the detail VO via the VL(on num1) from the master the the detail.  The detail VO contains a transient attribute.
    Here are the tables.
    create table jl_oaf_test1(num1 number, text1 varchar2(30));
    create table jl_oaf_test2(num1 number, num2 number, text1 varchar2(30));
    I have a simple test page containing an advanced table with an inner advanced table in the outer's detail.  I also have another advanced table bound to the same detail VO instance found in the AM.  The controller code below will produce a page that displays the same database record with two different transient attribute values.  While the non transient text1 attribute is the same in both records displayed in the page.  So I am confused.  It appears like there could be multiple VORowImpl instances for the same database record based upon how the transient attribute appears but the single update to the non transient attribute makes it appear like there is only one as I would expect.  Can someone please explain what I am missing about transient VO attributes?
    The developer's guide mentions a view object row cache.  Could that be what I am missing here?
      "6. The SuppliersVORowImpl get<AttributeName> method in turn calls the corresponding SupplierEOImpl get<AttributeName> method to retrieve the value. For the "calculated" OnHoldDisplay attribute, the view object row retrieves the value from its own cache."
    Controller code.
    package oracle.apps.xxmap.JlOafTest.webui;
    import oracle.apps.fnd.common.VersionInfo;
    import oracle.apps.fnd.framework.webui.OAControllerImpl;
    import oracle.apps.fnd.framework.webui.OAPageContext;
    import oracle.apps.fnd.framework.webui.beans.OAWebBean;
    import oracle.apps.xxmap.JlOafTest.server.JlOafTest1VOImpl;
    import oracle.apps.xxmap.JlOafTest.server.JlOafTest1VORowImpl;
    import oracle.apps.xxmap.JlOafTest.server.JlOafTest2VOImpl;
    import oracle.apps.xxmap.JlOafTest.server.JlOafTest2VORowImpl;
    import oracle.apps.xxmap.JlOafTest.server.JlOafTestAMImpl;
    import oracle.jbo.Row;
    import oracle.jbo.RowIterator;
    public class JlOafTestCO extends OAControllerImpl
      public static final String RCS_ID="$Header$";
      public static final boolean RCS_ID_RECORDED =
            VersionInfo.recordClassVersion(RCS_ID, "%packagename%");
       * Layout and page setup logic for a region.
       * @param pageContext the current OA page context
       * @param webBean the web bean corresponding to the region
      public void processRequest(OAPageContext pageContext, OAWebBean webBean)
        super.processRequest(pageContext, webBean);
        JlOafTestAMImpl am = (JlOafTestAMImpl)pageContext.getApplicationModule(webBean);
        JlOafTest1VOImpl vo1 = am.getJlOafTest1VO1();
        vo1.executeQuery();
        JlOafTest1VORowImpl row = (JlOafTest1VORowImpl)vo1.first();
        if (row != null) {
            row.setSelectFlag("Y");
            vo1.setCurrentRow(row);
      public void processFormData(oracle.apps.fnd.framework.webui.OAPageContext p1, oracle.apps.fnd.framework.webui.beans.OAWebBean p2) {
        super.processFormData(p1, p2);
       * Procedure to handle form submissions for form elements in
       * a region.
       * @param pageContext the current OA page context
       * @param webBean the web bean corresponding to the region
      public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
        super.processFormRequest(pageContext, webBean);
        System.out.println("PFR 1");
        String event = pageContext.getParameter("event");
        if (pageContext.getParameter("Apply") != null) {
            System.out.println("Apply");
            JlOafTestAMImpl am = (JlOafTestAMImpl)pageContext.getApplicationModule(webBean);
            JlOafTest1VOImpl vo1 = am.getJlOafTest1VO1();
            JlOafTest1VORowImpl row1 = (JlOafTest1VORowImpl)vo1.first();
            row1.setTransTest("test master transient update in PFR");
            System.out.println("row1.getNum1 is " + row1.getNum1());
            System.out.println("PFR 2");
            if (row1 != null) {
                System.out.println("PFR 3");
                RowIterator iterator2 = row1.getJlOafTest2VO();
                JlOafTest2VORowImpl row2;
                if ((row2 = (JlOafTest2VORowImpl)iterator2.first()) != null) {
                    System.out.println("PFR 4");
                    System.out.println("found row2 from iterator, num1,num2 = " + row2.getNum1() + "," + row2.getNum2());
                    row2.setTransTest("test detail transient update in PFR");
                    row2.setText1("test123456");
            JlOafTest2VOImpl vo2 = am.getJlOafTest2VO1();
            Row row = vo2.first();
            row.setAttribute("TransTest","test123");
            System.out.println("set row with num1,num2 = " + row.getAttribute("Num1") + "," + row.getAttribute("Num2"));
            System.out.println("VORow instance id " + row.)
            am.getTransaction().commit();
        else if ("Select".equals(event)) {
            System.out.println("PFR Select event");
            JlOafTestAMImpl am = (JlOafTestAMImpl)pageContext.getApplicationModule(webBean);
            JlOafTest1VOImpl vo1 = am.getJlOafTest1VO1();
            Row row = vo1.getFirstFilteredRow("SelectFlag", "Y");
            vo1.setCurrentRow(row);
    Thank you

    By adding the TransTest transient attribute to the underlying EO object and using this new EO attribute in the VO the update via the master VO's detail accessor now results in the page rendering the new value for each display of the detail VO record.
    I would still like to know why the VO transient attribute behaves the way I describe above.

  • Using table filters with transient VO attributes

    Hi,
    I have a the following use case and I cannot seem to find a valid solution on my own without falling into deep depression and/or psychotic delirium. Anyway, I'm sure there's a solution and that it's pretty simple, and hopefully someone here will know it.
    Let say I have a read-only VO with two attributes bound to the SQL query, namely Prefix and Suffix, as well as a transient calculated attribute named Compound formed of both the Prefix and Suffix separated with an hyphen.
    Now I want to bind that VO to an af:table supporting filters, showing only Compound column as Prefix and Suffix alone doesn't make much sense to the end user. I therefore use Compound as the sortProperty. For sorting, I was able to enforce correct logic by overriding the VO's getOrderByClause and setOrderByClause methods. For findMode, an old solution proposed by Steve involving overriding createViewCriteria with a custom class extending ViewCriteria that needs to override createViewCriteriaRow works. However, the filter capability of the table seems to use something different involving ViewCriteriaItemValue. Although I would be able to create a different instance when a criterion is created for the Compound attribute, but even if I do, I don't know how to split that value into two columns afterward. I guess I could create three linked values when the compound filter value is created, but it seems complicated. Best would be to hook the method returning the list of ViewCriteriaItemValue during the where clause creation, but then again, the data binding layer use that to detect what filters are applied and output the table accordingly so I cannot really remove the compound value at that point either. I could also override the getWhereClause I guess. Another solution, the simplest, would be to put the compound value in the SQL query, but I find that option appalling as it shouldn't be the database responsibility. If there's no other option I guess that what I'm going to do however.
    Anyone can shred any light on that issue?
    Regards,
    ~ Simon

    Hi Peter,
    Although it's not exactly what I need, I can indeed build a solution from that. Then again, it wouldn't be my first choice as it doesn't respect a correct separation of concerns (I guess I'm a purist). A listener is a view/controller layer entity and I would have preferred to hide the fact that the VO Attribute is a composition of two others to that layer. I would really have liked a pure model layer solution. That being said, I prefer the queryListener option to the Database one.
    Thanks,
    ~ Simon

  • How does "Location" attribute handle WebLogicHost parameter

    I am using Apache 2.2.4 as the webserver with the WLS 10.0 Apache plugin to forward requests to a WLS 10.0 cluster with 2 WLS instances.
    I am attempting to route requests based on the URL path using the <Location> facility within Apache. But i notice that the plugin ignores the WebLogicHost and WebLogicPort parameters and instead uses the server list returned by the cluster. Any clues on what i might be doing wrong in my configuration?
    Here are the Location attributes specified in my httpd-ssl.conf. I do have a couple of more "Location" attributes which use a different "path" to forward requests and those do use a WebLogicCluster parameter.
    Thanks
    Ramdas
    <Location /bigweb03>
    SetHandler weblogic-handler
    Debug "HFC,HTW,HFW"
    WebLogicHost dev03
    WebLogicPort 9560
    DebugConfigInfo On
    WLLogFile "bigweb03.log"
    DynamicServerList OFF
    </Location>
    <Location /bigweb04>
    SetHandler weblogic-handler
    Debug "HFC,HTW,HFW"
    WebLogicHost dev04
    WebLogicPort 9570
    DebugConfigInfo On
    WLLogFile "bigweb04.log"
    DynamicServerList OFF
    </Location>

    I am using Apache 2.2.4 as the webserver with the WLS 10.0 Apache plugin to forward requests to a WLS 10.0 cluster with 2 WLS instances.
    I am attempting to route requests based on the URL path using the <Location> facility within Apache. But i notice that the plugin ignores the WebLogicHost and WebLogicPort parameters and instead uses the server list returned by the cluster. Any clues on what i might be doing wrong in my configuration?
    Here are the Location attributes specified in my httpd-ssl.conf. I do have a couple of more "Location" attributes which use a different "path" to forward requests and those do use a WebLogicCluster parameter.
    Thanks
    Ramdas
    <Location /bigweb03>
    SetHandler weblogic-handler
    Debug "HFC,HTW,HFW"
    WebLogicHost dev03
    WebLogicPort 9560
    DebugConfigInfo On
    WLLogFile "bigweb03.log"
    DynamicServerList OFF
    </Location>
    <Location /bigweb04>
    SetHandler weblogic-handler
    Debug "HFC,HTW,HFW"
    WebLogicHost dev04
    WebLogicPort 9570
    DebugConfigInfo On
    WLLogFile "bigweb04.log"
    DynamicServerList OFF
    </Location>

  • How to handle different languages in Illustrator for big clients?

    Hi Guys,
    I need small suggestio for 'How to handle different languages in illustrator for big clients'. For instance; Arabic, this is a language which  needs to be read from right to left instead of left to right. There are  other strange languages as well (Cyrillic, Chinese etc.). It happens  also that when you copy strange languages from a word file it will not  be easy to paste it the correct way in a .ai file. Besides that, it’s  also difficult to do a language check when we are not able to read it!. So,  to make a long story short, I want to figure out how we can deal with multiple language  circles?
    Can you some please give me the solution for this...
    Thanks in advance...
    HARI

    I take it you might come from an arabic background.
    Here is how you can help yourself to some degree.
    Google has a translation feature and service which is at the moment free. It is excellent.
    Secondly if you are working with ME languages you really need the ME version of Illustrator or any other Creative Suites Application in order for it to work properly.
    It, is also best to enable the language and the input for that language for your system on the Mac it is easy you go to the Language and text feature in theSystem Preferences, once enabled you can select the fro the menu bar under the American flag if you are in the US. Thst will appear once you have more than one language selected.
    You select the language input you need and then a font for that language then paste and edit.
    You need fonts on your computer that are of those languages as well.
    How to manage this as a work flow well that is something you will have to work on yourself or hire a consultant who specializes in this area.
    We had a few visit here when they have come across a snafu. So they exists.

  • Transient vo attribute binding returning null

    i have a editable form with multiple input text components which i created by dropping a collection on page.
    now i want to add more fields which are transient and read only.
    i added two transient attributes in VO with Updatable to Never and queryable to true, i dont have the logic yet so the expression is blank. i created a label using control hint.
    now i created two attribute value bindings for these new fields.
    i created two input text fields and used these bindings for their label , value properties. i set readonly and disabled both true for these input text fields.
    if i hard code the label and value properties of input text it works, if i use binding expressions for them, it throws some error saying could not find binding for transient fileds or thery returned null.
    what stpes should i use to add a transient field to a editable form.
    jdev 11.1.1.5.0

    Put the transient attributes into the underlying eo, refresh the vo and add the attributes from the eo to the vo. Now they should work just as any other attribute.
    Timo

  • Set Transient VO attribute runtime

    Hi Everyone,
    I am creating new row though create Method in Entity Object. Now the problem is I have to set Transient VO attribute in order to keep the row of advance table editable. Any help would be appreciable.
    Thanks and Regards,
    Sandip

    Hi Sandip,
    As per my understanding we can't create row in create method, it fires automatically when a row will be created.
    Transient attribute can be set when you are creating new row.
    after creating new row, set the transient attribute then insert the row and set the row status.
    I hope it will give you clue.
    Regards,
    Reetesh Sharma

  • 11gr1 - Handling different screen resolutions for an enterprise app.

    Hi,
    We are developing an enterprise application that will be deployed at different clients with different hardware.
    We are confused about how to handle different screen resolutions and wonder how others are handling this.
    We have some fixed size areas in our screens and liquid areas for content that may expand. The problem is say that you have a table with 6 columns. This table will be rendered nicely at 1280X800 but not at 1650X1050 or 800X600.
    At higher resolutions we will either end up having some blank space or expand one of the columns of the table , but can't expand every column proportionally and this will look ugly.
    For lower resolutions same problem in a different way will come into picture, we will not able to resize the columns and end up with scroll bars etc ...
    What is the best practice with handling different screen resolutions for components like table,panel splitter etc ?
    Thanks

    Hi Muhammed,
    I don't think that any better solution exists, you already use liquid layouts and define widths & heights with percentages etc. In my opinion using blank column at the end of table columns makes table's looking better. Additionally creating custom skin for table and defining column heights & widths with % or em may help you to stretch columns?

  • Prepaid handled differently?

    My Verizon contract ends in six weeks.  I only need 400 to 500 minutes a month and am considering a prepaid plan.  I heard recently that prepaid calls are handled differently and are secondary to monthly plans, meaning inability to get through, signal strength, etc.  Any truth to this?

    We take Prepay service just as seriously as we do with our Postpaid service carianti! We demand the highest quality. Please take a look here for more info on Prepay. In addition, you can reach Prepay sales directly at 1-800-2-JOIN-IN (1-800-256-4646). I'm sorry we only have access to Postpaid plans here.
    http://tiny.cc/5nlq0w
    Jonathan_VZW
    Please follow us on twitter @VZWSupport

  • WHY are the iphone displays so different in color????

    Ok- I have to ask why??? No one at apple can tell me why....
    I have seen many ip4's and they all seem to have different levels of brightness and color hue's (kalvin temps) WHY? Due to problems with my phone I have had to return the phone three times 4 times now.Not being picky but each phone I have had has had its own issues...First one had the yellowish dots, messed up sensor and sorry battery and everything else...The screen color temp throughout was yellowish.The second ip4 i got was more cool in color temp more of a bluish white but the battery was horrible, Went back today to return and the phone they gave me was very yellowish so I told them no way am I leaving with this phone so they opened a new one and this one is not as yellow and not as bluish maybe somewhere in-between. also I am not sure if its as bright as the one I took in today. I do know that compared to the floor models it was not the brightest but also not the dimmest....I understand that they can not keep bringing out phones and activating them to see the color and brightness but I would think that there would be better quality control on these phones. It just does not make sense as to why so many phones are all so very different in the brightness and color temp of the screen.
    My main concern was battery life so, I do think I finally got a phone that has a much better battery. It has only drained 7% in 8 hours.
    So any ways this thread is not about battery but it is about the brightness and color of the iphone screens..Does anyone know WHY?????????
    Thanks!!!
    and please understand that I am trying to understand...not trying to be a picky jerk but I do not like yellowish dim screens. After having an 27"imac LED that I can only keep at 50% because it is so bright and white that looking at a yellow screen is just not my cup of tea.........

    I've seen no difference among the three we have in our family, except those attributable to different brightness settings -- and whether the auto brightness function is enabled or not.
    Phil

  • My itunes account keeps giving me this Error message. "You are signed in with a different Apple ID than previously used with podcasts. I only have one Apple ID. What do I do?

    My itunes account keeps giving me this Error message. "You are signed in with a different Apple ID than previously used with podcasts. Do you want to sync these podcasts subscriptions and stations with "gajppl""  gajppl is my only Apple ID. What do I do?

    Please sign out of the iTunes Store by selecting
    Store ▹ Sign Out
    from the iTunes menu bar. Then sign back in.

  • Why is the body area of my site a different size in the preview view than than in the design view?

    Why is the body area of my site a different size in the preview view than than in the design view?

    Why is the body area of my site a different size in the preview view than than in the design view?

  • How to set default value in transient boolean attribute in VO in ADF

    Hi ADF Experts,
    I have requirement like,I have viewObject with one transient booelan attribute,
    I want to set default value of that boolean attribute as "True"
    How can I achive that please help,
    Tried every thing but no luck.

    Hi,
    I am not sure what is the use of setting a default value for a transient attribute in a read-only VO.
    However, why not include that attribute with a default value in the query itself?
    Something like
    SELECT
         Empno, Ename, Deptno, 'true' as BooleanTransAttr
    FROM EMP
    and set the type of the attribute to Boolean?
    -Arun

  • Using populateAttribute to override transient VO attribute

    Hi,
    I want to use the 'populateAttribute' method to override a transient VO attribute but not having much luck.
    Error(61,7): method populateAttribute(<any>, java.lang.String) not found in class cas.oracle.apps.csi.installbase.webui.ChangeItemsCO
    I thought I could just put it in the controller with the following line:
    populateAttribute(Client, NewClient); --where Client is the transient attribute and NewClient is a text input value from the screen
    because I want to override only if the user presses the 'Change' button.
    Should I be putting it somewhere else? What am I missing?
    Thanks very much.

    Resolved.
    Didn't have to use populateAttribute at all. I just passed the text input fields using parameters from the controller to the AM where I was displaying the transient VO attributes and overrode the attribute there.
    Thanks.

Maybe you are looking for

  • How can I mix a whole show?

    I am using Logic Pro.  I am new to the software.  I have recorded a live show.  I want to mix all of the songs as the show.  However, I want them to bounce into individual song files so I don't end up with one big file.  I can force it by moving the

  • HT1933 I have songs I downloaded and paid for but are not playing in my iTunes.

    I paid for some songs to download but now they aren't playing in iTunes. They still show up in the list but won't play. I don't have the email proof that I purchased the songs.

  • Display just bright white

    My iPod Classic 160 GB plays music, but the display is just bright, no text, no images, no apple logo, nada. Any ideas anyone?

  • How to poll Aperture lens data for usage graph - Filters?

    Does anyone know how to set up a Filter in Aperture 3.1.1 so that one can see a list (or make a list) of the most to least common focal length one shoots at with interchangeable lenses? I assume it will probably have to be a search for all 20mm, then

  • Problem with Hierarchical trees (get_tree_node_property)

    Hi All, Hope someone can solve this. I am working with developer 6.0 . When I try to use get_tree_node_property I get a compile error 201 get_tree_node_property must be declared trigger text : declare test_node Ftree.Node; label varchar2(30); begin t