Any similar function in Toplink??

I'm using Jdev+JSF+Toplink for web application.
What should I do if I want to render a different value on the ADF table than the actual DB value which is similar to SQL decode function.
e.g
DECODE(status,'P','Pending','A','Approved','R','Rejected') etc.
I have already tried to change the getters & setters of the underlying POJO but it doesn't work.

I'm not sure with ADF, but in TopLink you can use an ObjectTypeConverter on the DirectToFieldMapping for the status to provide the mapping from database values to the values you want in your object model.

Similar Messages

  • Any method has similar function as 'when_mouse_enter' trigger in 10g

    in 10g, we cannot use 'when_mouse_enter', 'when_mouse_leave' functions, is there any other functions have similar interactive functions in 10g?

    We use when-mouse-click when on the web to emulate the when_mouse_enter trigger. Or in some cases, when-mouse-click with ctrl button (Checking :System.Mouse_button_shift_state).
    Instead of when-mouse-leave, we just started a non-repeating timer, and did the same as the wme trigger after 3 seconds.

  • Any method have similar function as 'when_mouse_enter' trigger in 10g

    in 10g, we cannot use 'when_mouse_enter', 'when_mouse_leave' functions, is there any other functions provide similar interactive functions in 10g?

    We use when-mouse-click when on the web to emulate the when_mouse_enter trigger. Or in some cases, when-mouse-click with ctrl button (Checking :System.Mouse_button_shift_state).
    Instead of when-mouse-leave, we just started a non-repeating timer, and did the same as the wme trigger after 3 seconds.

  • I don't use Photoshop - looking for software with similar functionality to Photoshop's Pixelbender / Oil Painting.  Any suggestions?

    I don't use Photoshop, I'm an Aperture guy.
    I'm looking for software with similar functionality to Photoshop's Pixelbender / Oil Painting. 
    I'm especially interested in the bending of the pixels, along the lines of impressionist paintings - think van Gogh.
    Any suggestions?

    If you are interested in computer simulated drawing and painting effects, have a look at the "ToonIt!" plug-in for Aperture. This will do some of the basic work for you, but you will have to do quite a lot of editing afterwards, to turn the image into a piece of art.
    It might be easier, to do most of the drwing and painting yourself in the first place - ArtRage Deluxe is very versatile, if you have a large trackpad and pen.
    For example: Applying a light ToonIt! effect "Impressionist2": The diagonal
    cross-pattern is due to "Demo" mode - I have not yet bought the plug-in - it is rather expensive:
    The original:

  • Is there any similar field in 4.6??

    hi all,
    i am working for upgrade.
    in 4.7 there is a field named 'EXCLASS' in table DD02V. but this is not there in 4.6 is there any similar field in 4.6??
    pls let me know...
    regards,
    sri.

    I setup logdir,datadir and envdir into different directories with
    the functions set_data_dir and set_log_dir.I created two directories
    under the datadir and created more than 100 sub-directories
    respectively for the two dir, where the 2000 databases located.By the way, even though it doesn't seem likely to be the cause of the
    memory leak, you should still fix this illegal usage of subdirectories
    before we get much further investigating. We might as well eliminate
    any possible source of problem, no matter how unlikely it seems.
    Also, just as an experiment, I would be very tempted to try running
    again without using any separate directories. In other words, don't
    call set_data_dir or set_log_dir at all, and just let everything be
    put into the one single directory. If that changes the results, that
    will be a big clue to help us know where to look for the problem.
    I'am writting a demo , but it take time.
    i will reply later .Thank you. Take your time -- we'll be here.
    Alan Bram
    Oracle

  • Variant of expect command having similar functionality in Solaris OS??

    Hi All,
    I am using one shell script in Linux with “expect 5.38” command utility, this script contain ssh and sftp. Now same shell script I need to use in Solaris (SunOS eupr0016 5.9 Generic_118558-05 sun4u sparc SUNW,Sun-Fire-V440) but issue is that the Solaris OS doesn’t have expect utility.
    Please let me know, is there any other variant of expect command/utility having similar functionality to use on Solaris OS.
    Thanks
    Jiten Mistry

    JitenMistry wrote:
    But we have Solaris 5.9 OS installed5.9 and 9 are the same version of solaris (actually I think it is SunOS 5.9 and Solaris 9, but whatever). So my advice is to install the package SFWexpct that should be on the companion CD.

  • Similar Functionality like SM30

    Hi,
    I created a Z-Table. I don't want to generate Table maintenance. In Production System the Users don't have access to SM30 for insert/delete/modify the records in the table.
    Is there any other way to give some program to the users for similar functionality like SM30?
    anybody written any program on this issue?
    any idea?
    Thanks in advance,
    fractal

    Hi Fractal,
    Follow these steps:
    1. Goto T-code (se93) and create a custom trasaction say ztest.
    2. while creating give some short test and check the radio button  
    <b>Transaction with parameters(parameter transaction)</b>
    3.In the next screen assign these values:
       Transaction --> SM30
       Screen  --> Give the screen number which is seen in the table maintenence
                        screen in system--> status which you can directly go and find
                        through the T-code sm30.
       And in the Name of the Screen field as VIEWNAME and Value as the name of
       your Custom Table.
    Now you can provide this T-Code for users to maintain the table.
    Regards,
    Vinod.
    NOTE: PLZ close the issue if solved.

  • We've had a windows 8 update and now itunes keeps crashing. Any similar experiences and or solutions?

    We have recently gone through an auto update with our windows 8 machine and afterwards iTunes will not function for more than a minute before shutting down.  Any similar problems or solutions besides going back to an older restore point?

    Withour know what the error message said try:
    iTunes for Windows Vista or Windows 7: Troubleshooting unexpected quits, freezes, or launch issues

  • Is there any inbuilt function to split a comma seperated text

    Dear Friends,
    Is there any inbuilt function to split a comma seperated text for inserting the values thus split in to a table.
    Text Ex: Mango, Orange, Pinapple, Jack Fruit
    Output: Mango
    Orange
    Pineapple
    Jack Fruit
    Thanking you,
    With regards,
    Franklin

    Using DBMS_UTILITY.COMMA_TO_TABLE:--
    DECLARE
    l_tab dbms_utility.uncl_array;
    l_tablen number;
    BEGIN
    dbms_utility.comma_to_table('A,B,C', l_tablen, l_tab);
    dbms_output.put_line('TABLE LENGTH : '|| l_tablen);
    dbms_output.put_line('TABLE COUNT : '|| l_tab.COUNT);
    for i in 1..l_tablen
    loop
    dbms_output.put_line(l_tab(i));
    end loop;
    END;
    source --google.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Trying to load flash file in iWeb and when I enter info in the "html snippet" box a "missing plug-in" message comes up (although i have adobe flash player in, if that's the plug-in they're looking for). Anyone have any similar problems or solution. Thanks

    I'm trying to load flash file in iWeb and when i enter info in the "html snippet" box a "missing plug-in" message comes up (although i have Adobe Flash player installed, if that's the plug-in they're looking for). Anyone have any similar problems or solutions. Thanks

    when i publish my site and vew it the page on the web it just comes up with the file name w/ the ,swf and the "mising plug-in" message below. if i click on the file name it displays the flash file but gigantic (the entire height of the page).totally perplexed!
    anyway, here is the code.
    <object classid=”clsid:D27CDB6E-AE6D-11cf-96B8-444553540000”codebase=”http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0, 40,0”width=”244” height=”221” id=”ETrade_banner_Gumby_replay”><paramname=movie value=”ETrade_banner_Gumby_replay.swf”><param name=qualityvalue=high><param name=base value=”.”><embed src=”ETrade_banner_Gumby_replay.swf”quality=high width=”244” height=”221” name=”ETrade_banner_Gumby_replay”align=”” type=”application/x-shockwave-flash” pluginspage=”http://www.macromedia.com/go/getflashplayer”base=”.”></embed></object>

  • Any Mod function in JAVA?

    I did not find 'MOD' function in the Math class. Is there any 'MOD' function in Java?
    Thanks!

    What is your MOD function?
    Does the %-operator do what you need or do you want a strict mathematical modulus that returns only positive values?

  • Any alternate function for FLD in NW7.5

    Hi All
    Is there any alternate function for FLD in NW7.5.
    I can't use FLD in NW.
    In one my script logic i need to get value from property and multiply with an account.
    Edited by: satish193 on Mar 29, 2011 2:15 PM

    Hi,
    You can try using something like:
    <member ID>.<property name>
    Hope this helps.

  • As in R/3 field EKPO-BSTAE is there any similar field in SRM

    As in R/3 field BSTAE is there any similar field in SRM

    I had not found the button for choosing the last hierarcy in the infopackage..

  • Can't find any BPF function in BPC for ADMIN for NW 7.0

    Hi experts,
    I am studying BPC for NW 7.0. and can't find any BPF function option at Action pane in BPC for ADMIN for NW 7.0.
    Can anyone help me?
    any thanks.

    Hello,
    As far as i know, there is no BPF option for BPC NW 7.0 but at 7.5 version we will be able to use BPFs.
    Peter

  • Is there any recursive function in DB2

    Hi all,
    Could you please tell me is there any recursive function in DB2 and if yes then please provide me a sample code.
    I want to write a function as below but it's giving me following error:
    >[Error] Script lines: 1-33 -
    ( DB2 SQL error: SQLCODE: -440, SQLSTATE: 42884, SQLERRMC: SCF_MC2;FUNCTION
    Message: No authorized routine named "SCF_MC2" of type "FUNCTION" having compatible arguments was found.
    Line: 11 )
    create FUNCTION scf_mc2 (@@certname varCHAR(20),@@assignee varCHAR(20),@@currentUser     varCHAR(20), @@javaLocale
    varCHAR(20) )RETURNS float
    LANGUAGE SQL
    READS SQL
    DATA format:
    BEGIN ATOMIC 
        declare @n_cost float;
        declare @n_cost1 float;
        set @n_cost1 =0.00;
    FOR @n_cost as
        select
        COALESCE ((CASE substr(ep.part_id,1,5) when 'cours' then tp2.scf_nc(ep.part_id,@@assignee,@@currentUser,@@javaLocale)  else
        tp2.scf_mc2(ep.part_id,@@assignee,@@currentUser,@@javaLocale) end ),0) cost
        from
        tpt_ext_ce_certification certi
        inner join tpt_ext_ce_track tr  on tr.certification_id = certi.id
        inner join tpt_ext_ce_group gr  ON gr.track_id = tr.id
        inner join tpt_ce_education_plan ep  ON ep.owner_id = gr.id
        WHERE
        tr.locale_id = @@javaLocale
        AND
        gr.locale_id = @@javaLocale
        AND
        certi.locale_id = @@javaLocale
        and
        substr(tr.flags,2,1) = '1'
        and
        certi.id=@@certname
    DO
    SET @n_cost1 = @n_cost+@n_cost1;
    END FOR;
    return @n_cost1;
    end format
    Regards
    Vishal

    Java is an object-oriented language, so you're not just searching for a method to do what you want, but for a Class, that provides that ability.
    And since you don't define what "the date that I want" means I can only guess.
    If you've got the date value in a String in some format, then you might look into the DateFormat or SimpleDateFormat classes.

Maybe you are looking for