Indicators display, VO, custom format method is it yet another way?

Have you experienced the same thing and had a solution?

Hello

I use JDeveloper 10.1.3.4 and still looking for another way to customize the display of an attribute of a display object.

I have two tables: BILL and PRICE, with a composite foreign key relationship (on the fields LDAP_UID and TERM), as illustrated below.
The BILL table:

NAME       LDAP_UID    TERM   CREDIT_HRS
---------- ----------- ------ ----------
Tom Smith  tom.simth   200902       12.5
Jane Lopez jane.lopez  200906        4.0


The AWARD table:

LDAP_UID    TERM  SOURCE     APPLIED
---------  ------ ---------- --------
tom.smith  200902 Perkins     2000.00
tom.smith  200906 Direct      1300.00
jane.lopez 200906 CN           500.00 
It is at the level of model data businesses, relationship master (Bill) /detail (Awards). Bill is dragged out of the range of data control to the page displayed as a form and scholarships is slipped into the page as a table. When tom.smith connects and chooses the TERM 200902, the master and detail are joined on tom.smith = tom.smith and 200902 = 200902, so the $2 000,00 Perkins Loan is recovered for him:
 Name Tom Smith 
 Term 200902

Source    Applied   
Perkins   $2,000.00
It works fine but not easy to use: the values in the column of TERMS are a bit cryptic and should be posted in plain language, i.e., 200902 should be displayed as "Spring 2009" and 200906 as "Summer 2009". Advice from the display in the VO cannot handle this. The only other way I know wrote a method in the line of the VO class to do the translation. And here's the result:
 Name Tom Smith 
 Term Spring 2009

Source        Applied   
No rows yet   
Of course, the "spring 2009" is used not only for display, but also to get to the paintings of master and detail. Of course "spring 2009"! = 200902, so no detail is retrieved for the user.

Question is: is there still a way to customize the display, which does not affect the join of the master and detail tables?

Thanks a lot for your help!

Newman

Have you thought of using a transient attribute for the attribute that displays your alternative values?

CM.

Tags: Java

Similar Questions

  • How to make the custom format mask?

    Hi all
    I work in the application using Islamic Dates (ex: 01/01/1434).
    the data stored in the following format (ex: 01011434).
    to display the data I did the method java to format then in viewRowImpl, then pass the getAttributeInternal to the method

    public static String formatHijriDate (String val)
    *{*
    Try
    *{*
    Return val.substring(6,8)+"/"+val.substring(4,6) + ' / ' + val.substring (0.4);
    *}*
    catch (Exception ex)
    *{*
    Return "";
    *}*
    *}*
    ----------
    is there a way to make the declarative custom format mask to easy my task to put in shape Hijri dates?

    I recommend you use a converter instead (http://docs.oracle.com/cd/E25178_01/web.1111/b31973/af_validate.htm#BABGIEDH). You just need to apply methods...

    Timo

  • HP Officejet printers: Hp printers that print custom formats

    Hi, does anyone know what HP printer to purchase which allows you to custom size paper?  We have the 8600 Officejet Pro which does not print the custom formats.

    Hello

    Happy to help you.

    My name is Vignesh B. I would recommend HP Officejet 8610 AIO Printer that supports the custom documents.

    I sent a link with this email. Please check and the document will help you custom printing papers.

    Please check the printer information.

    NOTE: only supported paper formats will be displayed in the printer driver, the printer media 76 to 216 mm (3.0 to 8.5 inches) wide   and 127 to 356 mm (5.0 to 14.0 inches) long

     

    http://support.HP.com/us-en/document/c03890386/

    Thank you

    Vignesh. B

    HP employee.

  • Cannot return the custom object method in the module of the application

    Hi all

    I use Jdeveloper 11 g R2 (11.1.2.3) & Weblogic 10.3.5.0

    I need to add a method with a custom object as return in my application module sometingh like this:

    public MyObject-myMethod (line myRow) {}
    my code...
    }

    After add request module is not displayed in the Client interface, so I'm not able to expose to view projects

    But if I change it to:

    public Long myMethod (line myRow) {}
    my code...
    }

    so it's OK

    Can someone tell me I expect much? or a bad thing?
    Is that more than a service of class of the interface?

    Thank you
    Mohsen

    Your custom class must be serialized, otherwise it will not be displayed as a client method.

    Timo

  • Custom Custom Format AND Date text field label

    I have created a form where I wanted each form field to have a label so that the user knows what to connect, BUT when I arrived at this day it became clear that I can only do one or the other, enter a name or select a date format, because they are both under the same category selection and you can choose only one. I found a previous discussion and was able to use the following code to label all the text fields and he also mentioned that an additional coding would be required to customize the date:

    Custom format for text field script

    If (! event.value) {}

    Event.Value = "enter meeting requested Date."

    Event.Target.Display = display.noPrint;

    } else {}

    Event.Target.Display = display.visible;

    }

    Now my problem is that in order to label the tabled text, I had to do a custom format, so I am unable to choose a custom date format. Instead of getting the error message when the format is wrong there at - it a way to make sure that no mater what type of date is connected, it is automatically reformatted to (mmmm dd, yyyy)?

    I don't know am new to the form of coding features and indeed if there is another way to lock it I would appreciate the help.

    Yes, it is possible... Basically you would use something like this as the custom for the field validation script:

    Event.RC = true;

    If {(event.value)

    var d = util.scand ("mm/dd/yyyy", event.value);

    If (d == null) {}

    App.Alert ("Invalid value.");

    Event.RC = false;

    } else {}

    Event.Value = util.printd ("mmmm dd, yyyy", d);

    Event.Target.Display = display.visible;

    }

    } else {}

    Event.Value = "enter meeting requested Date."

    Event.Target.Display = display.noPrint;

    }

    I have not tested, but I think he should do the trick.

  • The Custom Format recording

    Hi all

    I'm looking how to save a document in a custom format.

    When registering a .tga I use:

    PSapp.ActiveDocument.SaveAs (output, tgaSaveOptions, psExtensionType.psLowercase, false);

    What I want is to save in a customized format that is not in the list of available SaveOptions.

    The format I want to save is a specific .tga: NW4C_TGA (file owner format) there several options specific to the economy of this format.

    When I save a file by hand in the display save as Photoshop dialog box, it displays the custom list format and I can select and configure the options.

    It's because I put the NW4C_Tga.8bi file in the directory of Plug-ins for photoshop.

    How can I access these custom by the script format?

    Thank you very much for your attention.

    Jeff

    You must install the plugin scriptlistner and see if it creates a code when you save in this format.

  • Custom format Dollar

    I am trying to create a custom format for the currency within a PDF file.

    Currently I have a currency column that looks like this:

    $1 234,56

    $123.45

    $1 234,56

    $12.34

    $1 234,56

    and so on.

    What I want to do is right-justify the column currency, but were empty when the currency is not at its maximum point.

    Here's what I'm looking for:

    $1 234,56

    $123.45

    $1 234,56

    $12.34

    and so on.

    Any ideas?

    Thank you

    I think it is a good idea. You can then use code like the following in the custom fields amount validation script:

    Display the corresponding dollar sign if the value is not empty

    getField("dollarsign1").display = event.value? Display.visible: display.hidden;

    -OR-

    Display the corresponding dollar sign if the value is not zero or a cache

    getField("dollarsign1").display = + event.value? Display.visible: display.hidden;

    You must configure the fields of the dollar sign while they are read-only and the default value is set to "$".

    In the first script will display the dollar sign, if there is any numeric value in the area, including the '0 '. Only if the field is empty the dollar sign will not display.

    In the second script, the dollar sign will not show if the field is empty or zero.

  • My Muse site will not display the customized html images that work in chrome?

    My Muse site will not display the customized html images that work in chrome? Here's my url www.simplesites.com.au.

    Works fine here on Linux.

    Note that the uploads has 'ads' in name and come from simplesites.net.au, so be sure that content blockers not get triggered.

  • How can I display the custom field in Office Communicator so that everyone can see?

    In OCS, on your personal page, there is an option for the current location - create the custom location, I want to display the "custom" location instead of the busy, can someone help on how it works?

    Hello PK,.

    This forum is the right forum for this type of question:
  • HP OfficeJet Pro 8600: How to print on paper of custom format with Officejet Pro 8600 for Windows 10

    Problem: Cannot create a custom for HP Officejet Pro 8600 paper size

    Found a solution for Windows 7, but I need this same problem solved for Windows 10...

    The solution: 'Using pilot Deskjet 9800 to set a custom paper size to print for Officejet 8600' worked very well for me on a Windows 7 machine...

    However, the HP Deskjet 9800 driver is not available for Windows 10... you have another driver I can use that would work with Windows 10 and which is compatible with the HP Officejet Pro 8600... ???

    Hello

    Use the HP Deskjet 6940 as another driver, if it is not listed under HP it appears after clicking the Windows Update button in the Add Printer dialog box:

    1. Right-click your printer 8600 and select printer Ptoperties. A note which port is selected under Ports.
    2. Click Add a printer.
    3. Click on 'the printer that I want isn't listed.
    4. Select A Local port or a netowrk with manual settings.
    5. Select the port used by your printer.
    6. Select HP
    7. Select HP Deskjet 6940
      Note: Click on Windwos update if it is not listed under HP.
    8. Fill the wizrd and 6940 driver allows you to print a document custom formats.

    Kind regards

    Shlomi

  • How to display a custom launch my app content

    Hello everyone, I'm trying to display content customized (as an image) when my app starts. I don't even know what is the correct form of the call for this type of content. For example, when you start an application, you still see the icon or a resumption of the app. And I want to know how to do this. What componet can I use, is a componet that I need?

    Thak you for help me!

    It is normally a splash screen and details about this can be found here...

    http://developer.BlackBerry.com/DevZone/design/BB10/splash_screens.html

    http://developer.BlackBerry.com/native/documentation/core/com.QNX.doc.native_sdk.DevGuide/com.QNX.do...

  • Reg: Custom formatting SQL Developer 4.1

    Hi Experts,

    I'm having a custom formatting. Has made some adjustments in Tools > Preferences > database > SQL Formatter but could not get it exactly like I want to.

    SELECT t1.col1

    T1.col2,

    T1.col3,

    T1. COL4,

    T1.col5,

    T1. OTP,

    T2. FID,

    T2. PID

    FROM table_1 t1,.

    table_2 t2,

    table_3 t3

    WHERE t1.rid = in_rid

    AND t1.col5 = t2.lid

    AND t1.col1 = t3.loid

    AND t1.atp NOT AS "ABC%".

    AND NOT EXISTS

    (

    SELECT t4.*

    OF table_4 t4.

    table_5 t5

    WHERE t4.tid = t5.tid

    AND t5.active = 'Y '.

    AND t4.flag = CC_FLAG

    AND t4.anw IS NULL

    )

    ORDER BY t1.col3;

    (1) I want to put join conditions (red) highlighted in the next line after the WHERE clause. (Do not want to place it in line with WHERE)

    (2) can we have another level of indentation (1 or 2 more tab-space) AND in the WHERE clause. (Don't want the AND and WHERE clauses to be on the same vertical line)

    Is this feasible?

    Thank you and best regards,

    -Nordine

    (1) Yes

    (2) Yes

  • JDeveloper 11.1.2.4: Is it possible to display only custom validator ID defined in faces-config. XML

    I have several custom validators and do not need to see the default values listed in the screenshot below:

    http://i.imgur.com/xOQgxeZ.PNG

    Is it possible to display only custom validators that I defined in faces-config. XML?

    Thank you

    Wes

    Deepak,

    do not understand this sentence:

    "Do not specify the binding attribute value in the tag of f: validator for links do not display.

    Wes,

    The answer to the question seems to be 'no', you cannot remove other validator entries as they are too configured in a faces configuration file - but not that of the application

    Frank

  • How to display a CUSTOM message after the filters are applied on an analysis

    Hi Experts

    I created an analysis which consists of the following filters:


    Status is equal to / is full
    AND
    Quote value is greater than 40000

    But after I appy these filters there is no data to display (as there is no data that meets the requirements of the filter)

    Is it possible to display a CUSTOM message instead of display the results by default 'No '.

    Please could you help

    Franck

    11 g - http://santoshbidw.wordpress.com/2012/06/10/obiee-11g-no-results/

  • LR4 - book Module - none of the custom formats?  Automatic layout works only on odd pages?  Bug reports.  Thoughts.

    I'm a photographer wedding and Portrait Professional & thought it may be useful to others & Adobe to share some thoughts and questions.

    I just ordered LR4 yesterday 3/7, as soon as I saw he is out =) I'll have the software delivered to me, but in the meantime, I downloaded the trial version of the LR4 which I started to play with today.  BTW is identical to the full version trial version but active only for 30 days?  Or some of its limited features?

    I had a few questions about the book module.  Some of them I think that are bugs.

    • Is it possible to enter in custom formats?  I don't see that see there is an option for 5 sizes and impossible to find another option.
    • I tested the automatic layout function.  It automatically layout, but only on odd pages, even pages are left in white.  Could not find a way to settle this.  (Updated, I like the white page feature, it gives extra room for manoeuvre to change the page layouts and for me it's easier to delete a page that Add.)
    • When you add favorite layouts I can't add page spreads to my favorites.
    • When I press tab to get rid of the side windows, I can't scroll further down in the book.
    • The navigation on the left and right arrow buttons do not directly work in the main screen.

    First impressions:

    (after only playing with him for an hour)

    It would be nice to have more control over preferences in the book such as the particular custom formats Module.  As it is, it feels unusually restrictive.  That said I am very excited by the possibilities that this may cause.  From now on I'd still certainly the final layout in PS, but I hope I do the initial design approximate layout using this new book module.  Looks like it could save a lot of time and be much easier to do this step in PS.

    Data sheet:

    Windows Vista 64

    Trial version of Lightroom 4

    Any answers would be more useful!  Thank you!

    Grace Lightner

    Grace Lightner photography

    http://www.gracelightnerphotography.com/blog

    I had a few questions about the book module.  Some of them I think that are bugs.

    • Is it possible to enter in custom formats?  I don't see that see there is an option for 5 sizes and impossible to find another option.
    • I tested the automatic layout function.  It automatically layout, but only on odd pages, even pages are left in white.  Could not find a way to settle this.
    • When you add favorite layouts I can't add page spreads to my favorites.
    • When I press tab to get rid of the side windows, I can't scroll further down in the book.
    • The arrow on the left & right navigation buttons do not directly work in the main screen.

    Let me first, I'm not an expert on ledger. Yes, I used it for a while, but many components of the module are much too dark for my taste. In fact, you have identified certain aspects that left me scratching my head for the months, not hours or days.

    1. Custom formats is not directly supported at the present time, but I understand that users will be able to create their own page/models using Adobe Illustrator. I can't say when this facility will be available well.
    2. To change a page layout (left/right pages, etc.), you need open the Preset automatic page layout editor. To do this, choose the form Edit Auto Preset layout from the menu editor drop-down preset (directly under the header Panel automatic layout)
    3. Have noticed this myslef, I don't remember if it is a bug or a design limit.
    4. Not seeing this problem, it works very well on Mac OS X. try clicking on the scroll bar to make it active, it may help.
    5. Yet once again, not seeing this problem, the left and right buttons in the main window of content move from one page to another.

    It is also interesting to note, in case you have not discovered yet, preferences located under the menu book book. This is where you define what metadata are used to auto fill in the areas of text (for example, title or legend).

    I expect that one or more of the other pre release testers who spent more time than me in this module will probably be able to fill the gaps.

    Edit: I forgot to include the screenshot of the Prset automatic page layout editor

Maybe you are looking for

  • the half tab (missing thumbnails on different profiles)

    on https://support.Mozilla.org/en-us/KB/thumbnails-new-tab-page-missing-how-get-them-back I followed the procedure but, unfortunately, I did not wait for the end reload the page, and now I see the upper half of page visible and page half bass hidden,

  • TimeMachine will not recognize Backup Capsule

    Hello! I have a little (big) problem with my Time Capsule. My retina 13 "mcp argued until my Time Capsule (2 TB last gen) for about 2 years. This time I was with backing up my backups (yup) and made a copy of sparsebundle Capsule on another machine.

  • Did someone using Toshiba Satellite L655 - 11 G?

    Someone at - it Toshiba Satellite L655 - 11G? If Yes, then please how is it?... Report quality / price?... Pretty good buy?... It luuks elegant fast n for me. I want to buy laptop say, please help me make the right decision. Should I go for it or not

  • Intel WiDi

    I need to install Intel WiDi to connect new tomy smart TV, I have a HP ENVY notebook - 15 t-k200 CTO (ENERGY STAR) computer and when I try to run the WiDi software, I get the message that I need to install one of the following wireless adapters: • In

  • Just bought it does not have Media only to convert PC recognizes but doesn't show any info

    OK, so I bought this for my husband for Christmas. I was going to download a lot of music and pictures and stuff before I sent it him. Well, I'm very disappointed. When I plugged it the first time it my computer has detected it and when I click to op