How do you add calculation columns to a table Region by using the Footer?

I have a requirement to add some aggregate metrics at the bottom of my "tableRegion". The "TotalValue" property value for the table is not going to work for me since I the data I'm calculating is more complicated then doing a simple "sum".
My first try (simple test case) was to use "OATableFooterBean". However, when it tries to find the table bean, it comes back as "null":
if (empDetails != null) {
OATableFooterBean tblFooter =(OATableFooterBean) empDetails.getFooter();
if (tblFooter != null) {
tblFooter.setAttributeValue("EmployeeName", "Merit Inc Target/Budget");
I'm guessing it is due to not defining a "footer" region for my "table" region. When I click on the "Table" region, then due "New", I dot see "Region" listed as an option. So my question is how do I add a region "footer" to my "table" region? Once I have that, I'm sure it will solve the "null" exception I'm seeing for trying to get the table footer in the above code.
Thanks

Hi,
For this create a transient attribute in the VO.
Perform your required logic on this new transient attribute.
Now create a footer region and create a styledtext and assign this transient attribute.
Regards
Sridhar

Similar Messages

  • How can i add my outlook email to my ipad without useing the Exchange Service?

    Please help me in this, How can i add my outlook email to my ipad without useing the Exchange Service?

    I'm afraid you've posted in the wrong place. This is a technical forum around a particular product called 'SharePoint'. This does talk to Exchange and Outlook in places but we don't specialised in either of those. You should have a look for one of the
    generic Outlook support forums or contact your IT department if it's a work related account.

  • How To Directly Add Attachments to E-Business Suite Entities Without Using The Managed Attachments Window

    How To Directly Add Attachments to E-Business Suite Entities Without Using The Managed Attachments Window? any option?

    user11016624 wrote:
    How To Directly Add Attachments to E-Business Suite Entities Without Using The Managed Attachments Window? any option?
    Please see:
    http://www.oraclebusinessapps.com/2008/04/28/load-pdf-file-attachment-using-api/
    http://www.oracleerpappsguide.com/2011/04/attachment-in-oracle-application.html
    http://etrm.oracle.com/pls/et1211d9/etrm_pnav.show_object?c_name=FND_ATTACHED_DOCUMENTS_PKG&c_owner=APPS&c_type=PACKAGE
    Thanks,
    Hussein

  • How do you add full folders and not just individual files in the new itunes?

    How do you add full folders and not just individual files in new itunes? i just reformatted my HD and went to add all my music and it's only letting me add files not folders!?!?

    "Add Folder to Library" is still in the file menu, but you might need to bring up the menu bar to see the file menu.
    If you're using 11.0.x, click on the wee boxy icon up in the top-left corner of your iTunes to see the "Show Menu Bar" control, as per the following screenshot:

  • How do you add a validator on a table?

    Hi,
    I have an ADF table. The user can add or remove elements to this table.
    I want to add a validator on the table, that will be invoked, when I leave the page.
    This validator will check if the user has added at-least one entry in the row.
    I created the validator. I cannot hook it to the "af:table" component. The table component does not provide any kind of validator attribute.
    I tried adding "<af:validator></af:validator>" within the table and it didn't work.
    How do you add a validator on the table?

    Olivier,
    My page fragment that contains the table, is 3/5 train stop out of a train.
    So when I say leave the page, I mean navigate to the next or previous train stop.
    All I want to do is make sure that the user added at-least one row to the table e.g. one contact. This kind of validation does not belong on the entity. That is because that validation will not get fired until the commit point; which in my scenario will be on the 5th train stop i.e. too late.
    As for your other suggestion about adding a button or a link, that is not an option. A button or a link would require explicit user action. What happens if the user doesnot click the link or the button? Then the validation will not be invoked and the user will be allowed to go to the next fragment without adding the contact row.
    --ajay                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • How do you add a function to an existing Rules Dictionary via the SDK?

    The how to SDK describes creating a new dictionary and adding functions and other items. However, in reading the Java API docs, it is not apparent how one would add a new function to an existing dictionary.
    Once you have a reference to the RuleDictionary, there is a getDataModel method, but it returns a oracle.rules.sdk.datamodel.DataModel instead of the oracle.rules.sdk.editor.datamodel.DataModel. It appears that this DataMode class is different than the DataModel class in the editor sub-package. Further this DataModel class is not described in the API docs.
    There is an addFunction method, but I do not see how to create an instance of the Function class.
    Thanks,
    Bret

    Look at the oracle.rules.sdk.editor.datamodel.DataModel Constructor:
    Constructor Summary
    DataModel(RuleDictionary dict)
    Constructor used to edit a datamodel.
    So, the call would look something like:
    RuleDictionary dict = ...;
    oracle.rules.sdk.editor.datamodel.DataModel dm = new oracle.rules.sdk.editor.datamodel.DataModel(dict);

  • IOS4, iPhoto: How Do you Add a Photo in It's Own Album in the Photo App?

    Hi. The updated to iOS 4 erased one of my albums where I had a photo of Mother Mary in green monochrome as my wallpaper (green and black look for the iPhone). How do I add a new album into Photo App, put the image in that album and set it again as my wallpaper using Setting App? Thank you in advance.
    (I'm using iPhoto, 10.6.4 and iMac i7 (8GB))
    Gbu,
    Alvin
    Message was edited by: Alvin777
    Message was edited by: Alvin777

    You create a new album in iPhoto, put whatever pictures you want in it, and then resynch to iPhone. You cannot create albums on the iPhone

  • How can i add custom attributes to a new Class Object using the API ?

    Hello everyone,
    Here is my problem. I just created a subclass of Document using the API (not XML), by creating a ClassObjectDefinition and a ClassObject. Here is the code :
    // doc is an instance of Document
    ClassObject co = doc.getClassObject();
    ClassObjectDefinition cod = new ClassObjectDefinition(ifsSession);
    cod.setSuperclass(co);
    cod.setSuperclassName(co.getName());
    cod.setName("MYDocument");
    ClassObject c = (ClassObject)ifsSession.createSchemaObject(cod);
    Everything seems to be OK since i can see the new class when i use ifsmgr. But my question is : how can i add custom attributes to this new class ? Here is what i tried :
    AttributeDefinition value = new AttributeDefinition(ifsSession);
    value.setAttribute("FOO", AttributeValue.newAttributeValue("bar"));
    c.addAttribute(value);
    But i got the following error message :
    oracle.ifs.common.IfsException: IFS-30002: Unable to create new LibraryObject
    java.sql.SQLException: ORA-01400: impossible d'insirer NULL dans ("IFSSYS"."ODM_ATTRIBUTE"."DATATYPE")
    oracle.ifs.server.S_LibraryObjectData oracle.ifs.beans.LibrarySession.DMNewSchemaObject(oracle.ifs.server.S_LibraryObjectDefinition)
    oracle.ifs.beans.SchemaObject oracle.ifs.beans.LibrarySession.NewSchemaObject(oracle.ifs.beans.SchemaObjectDefinition)
    oracle.ifs.beans.SchemaObject oracle.ifs.beans.LibrarySession.createSchemaObject(oracle.ifs.beans.SchemaObjectDefinition)
    void fr.sword.ifs.GestionDocument.IFSDocument.createDocument(java.lang.String)
    void fr.sword.ifs.GestionDocument.IFSDocument.main(java.lang.String[])
    So, what am i doing wrong ?
    More generally, are we restricted in the types of the attributes ? (for example, would it be possible to add an attribute that would be an inputStream ? Or an object that i have already created ?).
    Any help would be appreciated. Thanks in advance.
    Guillaume
    PS : i'm using Oracle iFS 1.1.9 on NT4 SP6 and Oracle 8.1.7
    null

    Hi Guillaume,
    you're welcome. Don't know exactly, but assume that ATTRIBUTEDATATYPE_UNKNOWN
    is used to check for erronous cases only
    and it shouldn't be used otherwise.
    Creating your own objects could be simply done via
    ClassObject ifsClassObject;
    DocumentDefinition ifsDocDef = new DocumentDefinition(ifsSession);
    // get class object for my very own document
    ifsClassObject = ClassObject.getClassObjectFromLabel(ifsSession, "MYDOCUMENT");
    // set the class for the document i'd like to create
    ifsDocDef.setClassObject(ifsClassObject);
    // set attributes and content for the document...
    ifsDocDef.setAttribute("MYFOO_ATTRIBUTE",....);
    ifsDocDef.setContent("This is the content of my document");
    // create the document...
    PublicObject doc = ifsSession.createPublicObject(ifsDocDef);
    null

  • How do you update all of your podcasts at one time using the new iTunes 7?

    With the old iTunes, I could manually click "update podcasts" at the top right, and it would check all of my podcasts. How do you do that in iTunes 7 without having to click each one? I would like to manually update the podcasts at one time.
    Dell   Windows XP  

    Click refresh in the bottom right corner

  • How do you get an Ipod Classic to make Genius mixes using the songs you want?

    My Ipod Classic is now about four years old. it's the grey, 160gb model. the hard drive doesn't click, so it's in stable, working condition, as far as I can tell, but lately, I've been having a few problems with it. first and foremost, it's stubbornly refusing to make Genius Playlists for me, using the songs I want. Secondly, it's not playing some songs. now, the second issue isn't new, and I've fixed it before, but that brings me to my third issue.
    when opening Klondikes (because that's the only game I play on my ipod out of the three that come with it) the other day, it gave me an error message stating "game cannot be opened because ipod is full" or something like that. I have 160 gigabytes of storage, and all I have on there is music.
    anyway, back to the Genius problem.
    So I'll tell the Ipod to make a new Genius Mix from a selected song. in this case, I'll use Alestorm's "Keelhauled" for example. I made an edit of the song, decreasing the tempo, and drawing out the length of the song to 4:20. every single time, the ipod will use that instead of the original.
    Say I use "I See Fire" by Ed Sheeran (from The Hobbit, of course). the ipod uses the Kygo Remix I have.
    Say I use "One Eight Zero" by Grendel. it uses the remix.
    Say I use "The Sunk'n Norwegian", by Alestorm. the Ipod uses the Acoustic version.
    Say I use "7 Days to the wolves", by Nightwish. it actually uses that song, and not the Instrumental version.
    for "Whispers In The Dark", by Skillet, it doesn't use it, or the Instrumental version cause it can't find a match. (not a problem, just extraneous information.)
    Say I use "We Can Make The World Stop" by The Glitch Mob. it uses a piano cover.
    the trend I'm noticing here is that it only applies to songs with remixes. but as I have 1408 songs on my ipod, and need to be at work in an hour, I'm not going to look through everything to find every single instance of this.
    the ID3 tags for these songs are correct.
    Now, this is likely just a tagging issue, but the software should treat them as different songs. after all, most of them are stored in completely different blocks of memory. most of these are even different genres than the originals. and in the case of Keelhauled, because I exported the remix from Garageband, I'm listed as the Artist.
    can someone please explain to me what's going on with my ipod, or give me some insight into what's going on under the hood?

    A "classic" iPod is really a hard drive with a media player tacked on.  Like any hard drive (including your computer's), it can develop data corruption.  For example, maybe you mistakenly or accidentally disconnected it from the computer while it was syncing.  Or you dropped it, while the iPod was trying to access its drive for song data.  Or the hard drive can be getting worn out and unreliable.
    The Restore will not fix the problem if the hard drive is becoming faulty.  But if the data corruption was caused by something else, the Restore should fix it by erasing the hard drive to give it a "fresh start," like reformatting your computer's drive and reinstalling the OS.

  • How do you make separate ICloud accounts for people who all use the same Apple ID?

    Me, my brother and mam all use the same Apple ID (i.e. this one. I'm not Debra) so is it possible to create three different ICloud accounts? I only want my music, pictures etc to go to my IPad, IPhone and my account on the Mac. If it's not possible, is there a way to see all the activity from this Apple ID in one place and split it into three different ID's easily? Thank's for any replies

    Welcome to the Apple Community.
    You can't have 3 accounts with one ID.
    If the reason you want to keep a single ID is so you can share music and apps etc, then you should be aware that the iTunes account and iCloud accounts are different accounts, you can all share an iTunes account but have different iCloud accounts (each iCloud account would have its own ID).

  • How do you connect lines for a drawing in order to use the live paint bucket tool?

    Hello! Im fairly new (okay not really) to using adobe illustrator
    I used the Image trace tool to outline this drawing of Captain America but unfortunately the lines arent connected and therefore
    messes up my colouring completely when I use the Live Paint Bucket tool.
    Is there a way to connect the lines so they are closed when I colour it? Or is there another way to color this drawing?
    Help would be greatly appreciated!

    Those gaps are very wide. Draw some paths and apply no fill, no stroke to them.
    Then make the live paint. In case the live paint already exists, you can go into isolation mode and then draw the paths. Or draw them and use Object > Live paint > Merge

  • How do you add results columns in Segmentation Wizard?

    Every time we do Segmentation Wizard we get the same fields - First, Last, Email, Phone, Address. We would like to add Title and Owner to the list. Thank you.

    To the best of my knowledge you can't, but why would you? If you only want contacts owned by a specific user, add that to the segmentation filter. Same with title.

  • How do you add additional rows to a table

    ...on Word of Mac?

    If you just want to add an extra row at the end of the table all you have to do is hit tab while in the last cell, shroudlupe.
    If you want to add a row in the middle or top of a table, highlight the row above or below where you want the new one to be and then go to the "Table" menu. Go down to the "insert" option and choose whichever is appropriate from "Rows below" or Rows above".
    (If you want to insert more than one row ,then select multiple rows at the first step above, rather than just one , and it will insert the same number of rows that you have selected).
    Another way of doing it, after selecting a row in a table, is to simply access the contextual menu by holding down the control key and clicking, or by "right clicking", and then select "insert rows" from the options presented.
    Cheers
    Rod

  • In iTunes 12, how do you add an existing playlist to a device without using sync or manually dragging the playlist to the device?

    Is this a deeply-buried function, or does it not exist as an option in the latest version of iTunes? Or am I missing something obvious and easy?

    Hey HalSF,
    iTunes allows you to sync music with your devices in several different ways, including by playlist. See the iPhone user manual for how to -
    manuals.info.apple.com/MANUALS/1000/MA1565/en_US/iphone_user_guide.pdf
    Specifically page 19.
    Thanks for using Apple Support Communities.
    Be well,
    Brett L 

Maybe you are looking for

  • Macbook Pro (Mid 2012 15 inch) crashes randomly

    Hello Apple Support Community!  This is my first writeup here so be patient with me.  In August 2012 I purchased my 15 inch mid 2012 MacBook Pro with 4GB of RAM and a 500GB Hard Drive.  For the first 2 years, everything was fine.  Fast-forward to Jul

  • Any way to make .FLV files editable in iMovie?

    I have some .flv files I want to edit in imovie, but I don't know how to make them into a .dv format that imovie would let me edit. Any ideas?

  • Outputting records in sequence

    I have records in my DB that I would like to rotate and display one at a time each time the query is run.  (in sequence, NOT random). I can't seem to wrap my head around a simple solution for this. Can anyone throw me a bone?

  • Flash button cursor normal/link

    Ok, basically, I have a flash, with one button in the middle, when the mouse goes over the button the cursor changes to the link cursor as it does with any other link/button, however I want the cursor to stay the same when it hovers over the button,

  • What specs for Mac Book Pro Retina processing pictures in Photoshop cs6

    What Mac Book Pro  would you recommend for a photographer toprocess pictures and video? Thanks Snuffy123