ADF-BC/JSF Attributes of reference entity objects do not appear on new rows

Hi everyone,
Here is something I have been meaning to ask for a long time and never found the time to do so.
Let's suppose that we have two entities named Item and and ItemType and a view object named ItemsList defined like this
SELECT Item.ID,
              Item.NAME,
              Item.TYPE
              ItemType.NAME as TYPE_NAME
              Item.PRICE
              ItemType.ID AS ID1
   FROM
              ITEMS Item, ITEM_TYPES ItemType
   WHERE
              Item.TYPE = ItemType.IDLet's also suppose that using JDeveloper's standard ADF/SF pages, we create a list page and a create page that uses a combo box to allow the user to set the item type which then commits the changes and returns back to to the list page.
I have noticed that new rows created using this method do not display the TYPE_NAME (and all similar) attributes, until the view is executed again. What I usually do in this case is have an Execute binding that fires only when a request scope variable is set from the creating page. This approach works for me but I feel that there must be an easier and "more right" way to achieve the same results.
Thanassis

Maybe you can use the getEstimatedRowCount() method on the view.
See more info here:
http://download.oracle.com/docs/html/B25947_01/bcquerying006.htm

Similar Messages

  • "Non rectangular objects will not appear correctly when exported using CSS."

    I am using Ind CC 2014 exporting a document to a reflowable epub.  The document contains an .ai image.  The image exports correctly in some parts of the.epub but not others, where it is distorted. There is a warning on export :"Non rectangular objects will not appear correctly when exported using CSS."  Any suggestions appreciated.

    Thanks!
    >
          "Non rectangular objects will not appear correctly when exported
          using CSS."
    created by pooja2087 <https://forums.adobe.com/people/pooja2087> in
    /InDesign EPUB/ - View the full discussion
    <https://forums.adobe.com/message/6886892#6886892>

  • Timed Objects do not appear, part 2

    I am having an issue with getting timed objects to appear and was asked to post a screen shot of the set up. I apologize, but I am unable to post a screen shot here. I can take the screen shot and post elsewhere, just not here.
    Here is the setup as best I can describe it.
    There is one slide out of 19 that does not work correctly. It is a new addition to the slide deck and is intended to introduce viewers to the layout of an upcoming quiz.
    It has a title and text area. There are three buttons that mimic quiz selection buttons. These three buttons are viewable throughout the full duration of the slide and work properly.
    As the audio flows, Objects in the form of arrows are timed to appear to direct the viewers attention to the proper button. These do not appear at all. This is the reason I am writing.
    The structure of the time line, from bottom to top is: Audio, Slide, the three buttons, then the arrows. I believe this layering is correct. The properties is set so they are viewable in the output.
    Again, I apologize for not being able to paste in a screen shot.
    Thank you for your time and suggestions.
    Bill

    I have attached the two screen shots. The first is a partial time line and the other
    is the full slide.
    They are copy pasted into a word doc, which I was able to attach.
    I hope this gives some insight.
    Regards,
    Bill
    Lilybiri <[email protected]> wrote:
    Lilybiri  created the discussion
    "Timed Objects do not appear, part 2"
    To view the discussion, visit: https://forums.adobe.com/message/7259846#7259846
    >

  • After installation of FCE Upgrade 3.5, Objects Do Not Appear in Browser

    I recently upgraded to FCE 3.5. To save disk space on my primary hard drive I installed the Live Type media files on a secondary Lacie 250 gig hardrive. The files appear on the secondary hardrive but some objects do not appear in the browser when I open Live Type and click on the object tab in the browser. (only four appear in browser). I went to preferences of Live Type and my computer appears to know that the media files are stored on the secondary hard drive - ie it got the secondary drive location correct in LT preferences.
    What can I do to make the LT media files appear in the browser so that I can use them?
    Thanks,
    Zeke

    You only need to post a URL to your web site. We can see your code in Browser.
    So, your page looks OK to me in Firefox, but when I tried to check it in IE, it choked my browser and closed it.
    You have quite a few code validation errors - no document type declaration, etc... Start by fixing these reported errors.
    http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fntp.neuroscience.wisc.edu%2F
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    www.alt-web.com/
    www.twitter.com/altweb
    www.alt-web.blogspot.com

  • HELP URGENT - Entity Object Substitution not working as advertised!!!!!

    Hi All,
    I have done an entity Object substitution and in order to rule out any coding errors on my part I have generated a fresh EO with no code changes in it and uploaded the files to java top and updated the MDS with the substitution.
    The substitution is successful but I get the following error related to my substituted file:
    oracle.apps.fnd.framework.OAException: oracle.jbo.AttrValException: JBO-27019: Get method for attribute "ItemNumber" in XxEgoMtlSystemItemsVLEOEx could not be resolved. at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:912) at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(OAPageErrorHandler.java:1169) at oracle.apps.fnd.framework.webui.OAPageBean.renderDocument(OAPageBean.java:3241) at oracle.apps.fnd.framework.webui.OAPageBean.renderDocument(OAPageBean.java:3036)
    ## Detail 0 ## java.lang.ClassCastException: oracle.jbo.server.EntityDefImpl incompatible with oracle.apps.fnd.framework.server.OAEntityDefImpl at oracle.apps.ego.item.eu.server.EgoMtlSystemItemsVLEOImpl.getDefinitionObject(EgoMtlSystemItemsVLEOImpl.java:562) at oracle.apps.ego.item.eu.server.EgoMtlSystemItemsVLEOImpl.getItemNumber(EgoMtlSystemItemsVLEOImpl.java:11324) at oracle.apps.ego.item.eu.server.EgoMtlSystemItemsVLEOImpl.getAttrInvokeAccessor(EgoMtlSystemItemsVLEOImpl.java:6888)
    I think the real error is Detail 0 line but I haven't seen this before. Could this be the wrong version of JDeveloper that I have used????? About this page showed 12.1.2 and I have downloaded the JDev for 12.1.2???????
    Please help I need to sort this ASAP.
    Thanks all

    I have covered everything in the above threads and followed the EO substitution scenario exactly as per area51.
    I am now getting a different error on the EO substitution, when the page loads that creates a row in the EO the following error is displayed:
    Error
    1. Attribute set for InventoryItemId in view object EgoMtlSystemItemsVO failed
    2. Attribute set for InventoryItemId in view object EgoMtlSystemItemsVO failed
    3. Attribute set for InventoryItemId in view object EgoMtlSystemItemsVO failed
    4. Attribute set for InventoryItemId in view object EgoMtlSystemItemsVO failed
    This is a caught error and thrown to the top of the page as opposed to a complete stack error which is what I was getting before? At first I thought this was due to the VO substitution I had done earlier as a test but I have deleted the substitution document for the VO sub and if I remove my EO substitution the page works fine so my EO substitution is causing the problem.
    EO substitution was as follows:
    <Substitutes>
    <Substitute OldName ="oracle.apps.ego.item.eu.server.EgoMtlSystemItemsVLEO" NewName ="xxsdg.oracle.apps.ego.item.eu.server.XxEgoMtlSystemItemsVLEOEx" />
    </Substitutes>
    Beginning of EO Code is as follows:
    package xxsdg.oracle.apps.ego.item.eu.server;
    import oracle.apps.ego.item.eu.server.EgoMtlSystemItemsVLEOImpl;
    import oracle.apps.fnd.framework.server.OAEntityDefImpl;
    import oracle.jbo.AttributeList;
    import oracle.jbo.domain.Date;
    import oracle.jbo.domain.Number;
    import oracle.jbo.domain.RowID;
    import oracle.jbo.server.AttributeDefImpl;
    import oracle.jbo.server.EntityDefImpl;
    // --- File generated by Oracle ADF Business Components Design Time.
    // --- Custom code may be added to this class.
    // --- Warning: Do not modify method signatures of generated methods.
    public class XxEgoMtlSystemItemsVLEOExImpl extends EgoMtlSystemItemsVLEOImpl {
    public static final int MAXATTRCONST = EntityDefImpl.getMaxAttrConst("oracle.apps.ego.item.eu.server.EgoMtlSystemItemsVLEO");
    public static final int GLOBALATTRIBUTE11 = MAXATTRCONST;
    public static final int GLOBALATTRIBUTE12 = MAXATTRCONST + 1;
    public static final int GLOBALATTRIBUTE13 = MAXATTRCONST + 2;
    public static final int GLOBALATTRIBUTE14 = MAXATTRCONST + 3;
    public static final int GLOBALATTRIBUTE15 = MAXATTRCONST + 4;
    public static final int GLOBALATTRIBUTE16 = MAXATTRCONST + 5;
    public static final int GLOBALATTRIBUTE17 = MAXATTRCONST + 6;
    public static final int GLOBALATTRIBUTE18 = MAXATTRCONST + 7;
    public static final int GLOBALATTRIBUTE19 = MAXATTRCONST + 8;
    public static final int GLOBALATTRIBUTE20 = MAXATTRCONST + 9;
    public static final int ROWID = MAXATTRCONST + 10;
    private static OAEntityDefImpl mDefinitionObject;
    /**This is the default constructor (do not remove)
    public XxEgoMtlSystemItemsVLEOExImpl() {
    /**Retrieves the definition object for this instance class.
    public static synchronized EntityDefImpl getDefinitionObject() {
    if (mDefinitionObject == null) {
    mDefinitionObject =
    (OAEntityDefImpl)EntityDefImpl.findDefObject("xxsdg.oracle.apps.ego.item.eu.server.XxEgoMtlSystemItemsVLEOEx");
    return mDefinitionObject;
    /**Add attribute defaulting logic in this method.
    public void create(AttributeList attributeList) {
    super.create(attributeList);
    ....

  • Transient attribute of a view object is not reset after saving

    I have a jspx page based on view object with transient attribute(This transient attribute has been created in entity object on which view object is based). User enters data in transient attribute,some calculation is done and then data is updated and page navigates back to menu page.
    Now when I reenter page then old data still apears on the page.I want old data to be refreshed on reentering.Kindy help

    Hi,
    you can try the follwing
    In the bindings of your jspx page you can see iterators defined under "executables". set the "*CacheResults*" property of the specific view object iterator that contains the transient attribute to false.(The default value is true).
    Example:
    <iterator Binds="EditWorkflowNodesView1" RangeSize="25"
    DataControl="AdministratorAppModuleDataControl"
    id="EditWorkflowNodesView1Iterator" CacheResults="false"/>
    Regards,
    Priya.

  • BSP OTRs and MIME Objects do not appear

    Dear SDN Members:
    I have been facing a very peculiar issue. At first we had problems in our Z* BSP Application with SY-SUBRC values after a
    READ TABLE itab INTO wa WITH KEY field1 = var_field1.
    If there were no matching record(s) in Internal table, the SY-SUBRC value was still '0' (Zero) and not 4 etc..
    Now another problem has cropped up...
    At a point in the program (Layout section), there are some HTML lines and OTRs+MIME objects to be executed.
    The program executes those lines as visible in debugger, but does not display the same on Internet Explorer screen. The OTRs and .gif files do not appear in this case. A small preview of the code is pasted here below:
    We have recently upgraded our Quality/Testing server to CRM 4.0 from CRM 3.0 and are doing Application Testing.
    <td class="body" width="100" style="vertical-align:middle; text-align:center">
    <% if a_fcode_tknra = 'change' and application->c_rolle_user <> 'P' and ls_release-releaseid = '-'. %>
    <input type="image" style="background-color:#EEEEEE" src="/SAP/BC/BSP/SAP/ZSM_TKNRA_PLUS/IMAGES/s_b_chng.gif" name="onInputProcessing(change_au_detail__<%=ls_au_ext-auid%>)"
    alt="<%=otr(ZSM_SAMOS/ZSM_TKN_RA_RA_KE_P05_AENDERN)%>">
       <input type="image" style="background-color:#EEEEEE" src="/SAP/BC/BSP/SAP/ZSM_TKNRA_PLUS/IMAGES/s_b_dele.gif" name="onInputProcessing(delete_au_detail__<%=ls_au_ext-auid%>)"
    alt="<%=otr(zsm_samos/delete)%>" onClick="delete_and_confirm();">
    <% endif. %>
    <% if a_fcode_tknra = 'change' or a_fcode_tknra = 'display'. %>
       <input type="image" style="background-color:#EEEEEE" src="/SAP/BC/BSP/SAP/ZSM_TKNRA_PLUS/IMAGES/s_b_disp.gif" name="onInputProcessing(display_au_detail_<%=ls_au_ext-auid%>)"
    alt="<%=otr(ZSM_SAMOS/ZSM_TKN_RA_RA_KE_P05_ANZEIGEN)%>">
    <% endif. %>
    </td>
    Please help me understand how to go about solving this.
    Regards.
    Vivek.

    Thanks Raja for posting back. The issue is slightly more complex: there are other "src" usages, but they are working fine in other sections of the layout code. The MIME objects have all been stored at right places.
    This BSP Application has been in use since 2-3 years. Only while we posed for CRM 3.xx to 4.xx upgrade, we are facing these issues in Quality Testing.
    We have tried some 2-3 permutations and combinations for this part of code, but nothing works. Do you think the source path changes in different CRM versions? Or do OTRs face some compatibility issues? Do guide me with them.
    The READ table issue is a shocker for us as well!
    Ofcourse the work area is empty, as nothing's there to be read! Now we have placed a double check with "work area NOT INITIAL" to override this problem. In fact this is on SAP OSS as Priority 1 issue but no definite solution has been provided till date, except that they were talking of some Kernel patch (...??).
    Do let me know if you can think of some reason for this abnormal behavior, as right now everything is "out-of-the-box".
    Thanks.
    Vivek.

  • Smart object does not appear at specified time in slide.

    Here's my issue:  When I insert a speech bubble into the slide, set it to appear after 5.0 seconds and the display for the rest of the slide, it does not appear at the specified time. HOWEVER, if I move the speech bubble to appear at the very START of the slide, then it appears. I thought perhaps I needed to add an effect to make it work, so I selected the thought bubble, then added a "fly in" effect and set the time. It still won't appear at a specified time--only if I put it at the start of the slide.
    Here's my question: Why won't the smart object (speech bubble) appear at a specified time, but it WILL appear if I set the "appear after" time to 0 seconds? I also have tried moving this on the timeline, and it still only shows at the start of the slide.
    Many thanks for any help.

    Previewed in browser and in normal preview mode. (Just clicking "preview from this slide).
    Normal project -- not responsive.
    And..I'm not worried. No need for wine. (Although I've never been known to refuse one if someone offers. )
    Screenshots below. As you can see, the image is not set sa a button.
    And, yes: I know there is a spelling error in the thought bubble. Just trying to get it to work first.
    I think there may be a bug in the system, as I have noticed other weird things. (EG: The time indicators under "timeline" often disappear for no reason. I have to close out and re-lauch Captivate to get it back. (Clicking on "timeline" in Windows dropdown does nothing to correct the issue. Other things I've noticed is that the navigation works fine when I play the whole project through ONCE, but upon a second preview, all settings -- such as "jump to slide __" -- do not stick. When I go back in and re-enter all of the navigation slide commands, the same thing happens when I replay it. My client notices the same thing. Bizarre.)

  • OBIEE Objects do not appear when intergrating in ADF

    hi,
    I am trying to embed OBIEE components (analysis, dashboards etc) into ADF pages.
    The BI Presentation Service Connection is build up successfully, and I can enumerate the BI Presentation Catalog.
    However, after I drag&drop a OBIEE component into my JSPX page, I run the file but the OBIEE component do not show up in the page. (Other page components are fine,such as lables and buttoms)
    No error is reported by Jdeveloper.
    My environment:
    Jdev 11.1.1.5.0
    OBIEE 11.1.1.6.2
    Thanks!!
    Ben

    Desperating for any suggestion!!!!!
    When I drag&drop the BI component, the Jdev log gets the following error:
    Feb 22, 2013 12:23:50 PM oracle.bi.presentation.soap.connection.impl.LogonTokenImpl <init>
    SEVERE: Perform impersonation was enabled for the BI Presentation Services SOAP connection, but there was no logged in user!
    When I run the JSPX Page, following errors occur:
    Target URL -- http://127.0.0.1:7101/Application3-Project0222-context-root/faces/HR.jspx
    [4720:6916:0222/122520:ERROR:gpu_info_collector_win.cc(135)] Could not read gaming score from assessment results.
    <BIRegionBinding> <_updateOrCreateSessionStylesheet> Unable to get the Session Attribute. oracle.bi.presentation.runtime.styles.biStylesheet
    <LogonTokenImpl> <<init>> Perform impersonation was enabled for the BI Presentation Services SOAP connection, but there was no logged in user!
    Please kindly provide any ideas!!!
    Every single ideas matters!
    Ben.

  • Info-Object data not appearing in Multiprovider

    Guys,
    I got a problem here. I have created a multiprovider based on master data and cube. My master data has certain attributes which are not present in the cube. I want to display data for those fields in the multiprovider.
    I can see cube data in the multiprovider view but i don't see any data coming from the master data info-object. 0INFOPROV shows only cube name.
    Is there something i am missing or any setting that i need to do ?
    Points will be awarded to the helpful answers.
    Thx,
    Soumya

    Hi All,
    Multiprovider always has issues when you are trying to link two objects vary in their structure. Lets say if you are creating a multi-provider on a ODS object & Cube or Cube & Info-object. Lets say CHAR X is available in Cube and not in ODS or master data.
    Any selection on char X will not fetch you any record from ODS / master data as it is not available in ODS / master data. You need to add the characteristic to ODS / master data and update the same way as you are updating it in the cube. Otherwise don't make any selections based on this characteristic.
    Hope it helps.
    Thanks
    Soumya

  • 10.1.3.1.0 : Nested View Object sould not appear in Data Control Palette

    Hello,
    I have a strange behavior in JDeveloper 10.1.3.1.0.
    I have two View Objects, a parent and a child, that are linked by a View Link.
    Although my Application Module instanciates only the parent View Object, I can still see the child View Object in the Data Control Palette.
    I've checked in JDev 10.1.3 SU5 and this behavior doesn't occur.
    Is this a bug ?
    Thanks,
    Seb.

    Hi,
    I tried to reproduce but cannot. I created a m/d ViewObject that are linked by a ViewLink. I removed the detail from the master tree in the AppModule configuration so that only the master instance is left. Opening the DataControl palette, I only see the master view.
    Is the project one that you upgraded from 10.1.3.0? If yes, please try and reproduce in a new workspace
    Frank

  • Objects do not appear to deselect

    We are having an odd behavior in Illustrator CS4 in our office.  Multiple users try to deselect objects by clicking in blank space, but the last object still appears as if it is selected onscreen. When they select another object (without holding SHIFT), it looks as if the old object AND the new object are selected...but when they delete or otherwise manipulate the newly selected object, it only affects that particular object and does not alter the old object that appeared to also be selected. Although the actual functionality is correct, it is extremely distracting and annoying because it looks like they have more objects selected than they actually do...and they can never really tell what's what!
    For one user, this happens frequently when selecting objects with clipping masks. For another, it happens when simply using the selection tool on any old object. All users on Mac Leopard 10.5.5. Aside from resetting preferences which I've had one of the users do (he's going to notify me if the behavior continues), any other ideas?

    Been seeing this problem for years, since CS4, currently working in CS6.
    It happens when you draw a selection box over an object containing a clipping mask and then try to deselect the object by drawing another selection box. That just selects an object inside the clipping mask, but you can't deselect that object by clicking off of it. You have to draw another selection box reselecting everything you just deselected, then click off of it. Or alternately, resize the offending object, hit Cmd+Z and THEN click off of it. I dunno whether this is a feature or bug, but anyhow it's a pain in packaging design where we use a lot of clipping masks.
    I love how everyone who has never had this problem tells you to trash your preferences or quit other applications or reinstall something though, you guys are a great help!

  • Update of SU24 Data in RAR - Permission objects does not appear in Funct

    Hi All,
    We are using SP9 of RAR 5.3. We have developed custom objects for many custom transacitons and hence wanted to update the same in GRC for permission level configuration.
    We extracted the latest SU24 text files and uploaded as per the procedure mentioned in the post installation guide. The text files got uploaded successfully and also the full synch of User, role and profile background job was successful.
    But still the permission + tab is appearing blank for the custom t-codes without pulling any authorization objects. Due to which we are unable to enable the permission objects to the t-codes.
    We have uploaded the SU24 data separately to 2 different physical systems of Dev & Quality. Whereas the rule set is defined for Logical system of Dev & Quality.
    Did we missed any step in the process of uploading the text files?
    Please advise.
    Thanks and Best Regards,
    Srihari.K

    If you have configured RAR to include logical systems you need to generate the rules from the configuration tab, Rule Upload, Generate Rules.  Generating rules from the Rule Architect is very inconsistant if you are using logical systems.

  • Entity based VO not showing all the rows

    Hi, I am having a entity based VO in a page. When we run a page from Jdeveloper the table shows all 1300 rows. But in Front end it shows onli 1001 rows

    Hi ,
    Or instead of setMaxFetchsize see By Johny  explain setAttribute in OAF?
    if it is helpful to you..

  • Create Object menu not appearing

    For a particular group I have given the Create Subportal activity right and even though they can get to the Subportal Manager section they're not getting the Create Object from where they should be able to create subportals. Any ideas?

    Hi
    Your description is a bit vague - but here's something you
    can try
    If your using Text inside a MovieClip then you need to Embed
    the Font.
    Select your text and click the Embed button on the Components
    Panel - select all the Characters that are likely to appear in your
    text. Save and Run - See if there's a difference.
    Check your Alpha also you never know.
    Hope it helps

Maybe you are looking for

  • CREATION OF NEW DOCUMENT TYPE

    Dear cons We want to create a new document type for pur. requisition.In this document type  account assignment  will be 'P'(PROJECT) . w.b.s should be only enter. so pl. give the details of filling data in the required field step by step. waiting for

  • Where are the Dreamweaver CS5 "assets" folders?

    I've had to clean reinstall Mavericks and am trying to find the assets (mainly snippet blocks of code to frequently reuse in website entries).  I can't seem to find them in my Time Machine backup.  What are the files named and where in what part of t

  • Printer to Airport to D-Link to PC Desktop

    I am tring to connect my non-wireless desktop up to my Airport print server. Is this possible. Can I connect my cable modem to the D-Link router then connect both my desktop and the print server, which has a printer attached, to the router and work i

  • Can't download the Mac OS X Mountain Lion update?

    For some weird reason, I cannot download this update. Everytime I click "download", it says: You have updates available for other accounts. Sign in to blah blah blah to update applications for that account. First off, I only have one account. Secondl

  • I can't open the micro usb cover in my smartwatch 2

    I can't open the micro usb cover in my smartwatch 2. Somebody can help me ?