Lov choice in enumeration mode

hi All,
i am using JDeveloper 9051+adf+uix.
i just want to use message choice on my page, in which i want to bind my table data to other data,ie suppose i m having a field month - NUMBER(2) in my table.
how i can able to show names of month in place of numbers whereas i want to store numbers in the DB.
i tried LOV mode n Enumeration mode but thr is no option to showing the data which is not stored in database.
plz give me any idea if u hav.
thanks

Do it in your query. something like
select yourMonthNumber, decode(yourMonthNumber, 1, 'Jan', 2, 'Feb', ...) MonthName
from yourTable

Similar Messages

  • Null value in List Binding (enumeration mode)

    Hi,
    how can I declare a NULL value in a List binding with enumeration mode?
    A user should be able to select an empty entry in a combobox to update an attribute with a null value.
    I'm using JDev9052 and JClient.
    Any hints?
    Thanks,
    Markus

    Adding '-1' in JComboBox (addItem(new Integer(-1))) or in the control binding does not change the picture. Sorry.
    While play with different List bindings I have discovered that a Button LOV Binding works when using a "select * UNION select null from dual" view object. It does not work with a Combobox LOV binding. Why?
    Still, my problem List binding in enumeration mode (with Combobox) is unsolved. any hints or samples?
    My current combobox binding:
    <DCControl
    id="Job"
    DefClass="oracle.jbo.uicli.jui.JUComboBoxDef"
    SubType="DCComboBox"
    BindingClass="oracle.jbo.uicli.jui.JUComboBoxBinding"
    IterBinding="EmpView1Iterator"
    ApplyValidation="false"
    isDynamic="false"
    ListOperMode="0"
    StaticList="true"
    Editable="false" >
    <AttrNames>
    <Item Value="Job" />
    </AttrNames>
    <ValueList>
    <Item Value="ANALYST" />
    <Item Value="CLERK" />
    <Item Value="MANAGER" />
    <Item Value="PRESIDENT" />
    <Item Value="SALESMAN" />
    <Item Value="-1" />
    </ValueList>
    </DCControl>
    My current Button LOV binding:
    <DCControl
    id="Job2"
    DefClass="oracle.jbo.uicli.jui.JULovButtonDef"
    SubType="DCLovButton"
    BindingClass="oracle.jbo.uicli.jui.JULovButtonBinding"
    IterBinding="EmpView1Iterator"
    DTClass="oracle.adf.dt.objects.JUDTCtrlListLOV"
    ApplyValidation="false"
    isDynamic="false"
    ListOperMode="0"
    ListIter="JobListView1Iterator" >
    <AttrNames>
    <Item Value="Job" />
    </AttrNames>
    <ListAttrNames>
    <Item Value="Job" />
    </ListAttrNames>
    <ListDisplayAttrNames>
    <Item Value="Job" />
    </ListDisplayAttrNames>
    </DCControl>

  • LOV button in query mode

    Why is an LOV button not shown when the block is in enter-query mode, but there is still an LOV available (using F9 button)?

    This has already been filed as a Forms bug, no. 2179613 'EXTEND APP.UI.LOVBUTTONS TO ALLOW DISPLAY OF LOV IN ENTER-QUERY MODE'.
    "Currently the facility to display LOV buttons automatically - the setting app.ui.lovButtons=true in the registry.dat file only works in data entry mode. It would be useful to be able to display the generated button in Enter query mode as well."
    The priority is "Minor Error, No Loss of Service", so I doubt if this will be fixed soon.

  • LOV/Choice List - Default Value in Update OAF page

    Hi Guru's,
    Need help please, I am looking at personalization but its not working for me to default a value in Group by LOV/Choice List.
    Please provide some pointers so that I can achieve this.
    I have Requisition page from Buyer Work Center in Oracle US Purchasing Super user. when I pick requisition to update it. It goes to update page, in here I have a header "request".
    In this request have a Group By LOV/Choice list it has initial value set to "Default", I wanted to set to "Requisition".
    Is it possible by Personlization?.
    OR
    Is it possible by OAF page modification.
    if OAF page update, can I get some information to get Page info and update value.
    Thanks in Advance to all.

    Hi,
    You need not do this via personalization... Set the profile po%def%group%. This should take care of that.
    Regards,
    Praveen

  • [Solved] Problem with LOV and 'enter query' mode

    Hi all,
    I'm kind of new to Forms and I'm having some problems that I'm not being able to resolve. I already search it on the net, but nothing relevant came up. If anyone could help me I appreciated it.
    In my form I have some fields, and in one of them I have a LOV, and almost everything works fine. I inserted data, changed it, deleted it and all it's ok.
    But when I change to 'enter query' mode, when I try to search for data on the LOV field it ignores what I write.
    That is, for it, it's the same if I make F11 -> write 'aaaa' -> ctrl + F11 or if I make F11 -> '%' -> ctrl + F11.
    It behaves the same way, shows me all the records.
    Probably I'm missing something basic, but I'm not getting it...
    Thanks,
    Ana

    when you create a lov by wizard the lov and record group have always the same name..
    the problem is that the item is NOT based in the tabe.
    what kind of query do you execute if you choose something from a love which is not based on the db?
    i mean, this item has no influence on the query of the table, so whatever you choose it's like a "select * from table"
    i hope i was clear

  • LOVs in Print Friendly Mode

    Hi,
    I have a page item of type Display as Text (based on LOV, saves state). The page shows the display value ("Pending" in this case). However, when I launch the page in Print Friendly mode, it shows the return value ("2"), instead of the display value ("Pending").
    This also occurs for any other select lists on my pages if the select list is read only.
    Any ideas or workarounds?
    Thanks,
    Chaunaci

    yes, this does appear to happen for items of type "Display as Text(based on LOV, saves state)", but things seem to work fine for my select list items in the production version of htmldb. i'll log the issue in a bit, but two ways to work around it for now would be to:
    1) add an extra item to your page that would render correctly in printer friendly mode. use our built-in condition types of "Current Page Is in Printer Friendly Mode" and "Current page is NOT in Printer Friendly Mode" to determine which/when of your two items should be displayed.
    2) tweak your LOV query a little bit to pay attention to the api variable, htmldb_application.g_printer_friendly. it's a boolean that returns true if your app is in printer friendly mode.
    if you really are seeing this behavior with select list items, could you please provide more specifics as to how those items were set up?
    thanks,
    raj
    [Edited by: rmattama on Apr 1, 2004 1:26 PM]
    i now see the issue w/the select lists occurs in read-only mode. gotcha. didn't read that right the first time. i'll add this to the bug rpt.

  • LOV in Advanced Search Mode Problem

    Hi all,
    I have a strange problem with LOV!.
    In advanced search of our pages, sometimes we used LOV.
    As a normal way, we used two entities for the whole page, one as updatable
    one, and another which is referenced in LOV and I defined that as reference.
    After choosing a value from LOV, I want to assign its return values (from
    selected row) to other fields. The returned values from LOV that are comming
    from updatable entity is available and I could access them, but I can not see
    the returned values from the reference entity.
    At the end, I repeat that our LOV is working now for create mode and our problem with that is only in Advanced Search mode.
    Thanks for ur helps:)

    Hi Nasser2,
    You could try to make the attribute in the reference entity that you want to put a new value in, updateable.
    I guess you don't see the return value in that attribute in advanced search, because the VO-attr is readonly (which makes sense, because it is a reference-attribute!).
    Regards
    Evert-Jan
    JHeadstart Team

  • LOV , EXECUTE-QUERY, ENTER-MODE ?

    when the form load , i execute a query. Then i want to choose from an lov
    a value and execute a query for a detail block, however, when i want to update
    the queried records, it doesn't work. The query mode has to be in enter mode.
    The question is how do we implement the enter mode logic into the lov
    button.
    Please explain how to do this in detail
    null

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by candace stover ([email protected]):
    Hi -
    THANK YOU FOR YOUR REPLY
    I tried your code , but still does not put me in "enter query" mode to update or insert records on the detail block after your code is executed.
    I implemented this in a simple master detail of Dept/Emp. I implemented an LOV to select a JOB so that I would only see the employees within the department that have the JOB I select when I press the LOV button. The LOV returns its value into a parameter called "selected_job".
    Here is the code I put in my When-Button-Pressed trigger
    if show_lov('job_lov') then
    go_block('emp');
    set_block_property('emp', default_where, 'where job = ' | | '''' | | :parameter.selected_job | | '''');
    execute_query;
    -- set block property back so that all queries on this
    -- block do not have this criteria
    set_block_property('emp', default_where, '');
    else
    -- execute the default child query
    go_block('emp');
    set_block_property('emp', default_where, '');
    execute_query;
    end if;
    Hope this helps,
    Candace Stover
    Forms Product Management<HR></BLOCKQUOTE>
    null

  • Add an item to select once choice in create mode.

    Hi,
    Jdeveloper :11.1.2.1.0
    I am creating a record using createinsert operation. i have a selectOneChoice list based on a query based VO. if the value i am looking is not present, i should be able to add value in a popup to populate into lov by clicking add button beside the lov and then select the value.
    please give suggestion to achieve solution for this.

    when popup opens i clicked createinsert operation to fill some fileds. when i click on rollback in the popup , entire transaction is getting rollbacked instead of the popup transaction. when i click commit in the popup to save the filled in values , lov is not getting refreshed, i added AdfFacesContext.getCurrentInstance().addPartialTarget(bndLov) top refresh the lov.

  • How to display LOV on web in ENTER-QUERY mode with form or block query only.

    Hello all
    How can I display lov automatic on the web in from enter-query
    mode in form or block query only mode.
    thankx

    If I understand correctly your explanation, your called form
    fails to activate the LOV in enter-query mode when it is deployed
    and test on the browser.
    So lets proceeed like this, to make it work in all environments,
    let us programetically activate the LOV.
    HOW?
    In the called form, write in the WHEN-NEW-ITEM-INSTANCE TRIGGER
    at block level (if have more than one LOV)
    IF :SYSTEM.MODE = 'ENTER-QUERY' THEN
    IF get_item_property(:system.cursor_item,lov_name) IN ('YOUR
    LOV1', 'LOV2' etc) THEN
    IF SHOW_LOV(get_item_property(:system.cursor_item,lov_name))
    THEN
    NULL;
    END IF;
    END IF;
    END IF;
    The above code maybe tweak to suite your need and condition.
    This way, we explicitly make the LOV appear in ENTER-QUERY mode
    whenever the user clicks on an item with an attached LOV.
    Hope this helps.
    Mohammed R.Qurashi

  • Can't restart Yosemite in Recovery Mode

    I installed Yosemite on my mid-2012 MacBookPro yesterday, seemingly without difficulty.  But: when I discovered that I didn't have permissions to read or write on anything, i ran Disk Utility.   I tried Verify/Repair Permissions first, which discovered a lot of missing or changed permissions.  Then I tried Repair Disk and the process stopped halfway through and gave me an error message essentially saying I needed to reboot in Recovery Mode and re-install.  Fine--except it won't reboot in Recovery Mode.  No matter what key combinations I try, it won't reboot into anything other than regular Yosemite.  I had made a bootable backup of my hard drive before installing Yosemite, so I tried booting from that but, again, no choices of boot mode.  Then I changed the Startup Disk preference in System Prefs to the disk with the clone on it and restarted: same result.  Now what??

    endre2714 wrote:
    Hey everyone!
    FireVault was turned on since I purchased my Macbook Pro in October.
    Please read the warranty paperwork that came w/your computer.
    You have 14 days to return the computer w/no questions asked.
    You have 90 days of FREE phone tech support on top of your standard 1 year warranty unless you also purchased AppleCare which gives you an additional 2 years of coverage plus FREE phone support.
    Strongly suggest that you take FULL advantage of the above before it runs out.  Let Apple deal w/the problems & your concerns. It's what you paid them to do.

  • How to add project, folder or album in full screen mode

    I love the full screen mode but I do need to go back (F) to "normal" mode for library changes like adding a new album, folder or project.
    All other library functions do work like move projects into folder etc.
    The function is shown in "inspector" (right mouse button) but you can not select the function.
    Is this not supported like the faces and places "button" in full screen mode as i learned reading this forum?

    If you close Firefox while in full screen mode then Firefox should start the next time in full screen mode as well.
    If that doesn't happen the see:
    *http://kb.mozillazine.org/Corrupt_localstore.rdf

  • Can't use LOV with item type "check box" in form

    I have created a LOV that I want to use with a form application in 3.0.9. I need to be able to do multiple choices in this LOV (check box style) in the same query (only queries - users won't be able to update this field)
    When I choose Check box as the item type in the form wizard I am not able to choose the LOV. I have to use combo box, popup or radio group for the LOV choices to appear, but then the query can only query for one value in the LOV at a time.
    Is there a solution to this?

    Hi,
    This feature is not supported as of now. You cannot have multi select LOV for a form field and hence a checkbox cannot have a LOV.
    Thanks,
    Sharmila

  • LOV in Forms 10.1.2 app.ui.lovButtons=true

    Hi everybody!
    We found a solution (registry.dat) for automatic LOV buttons in:
    re:LOV button
    See note 267018.1 as well!
    We run Portal 9.0.2.6.18, but we'll upgrade to 10.1.2 soon.
    a) Will this feature still work?
    b) Will this feature finally work in ENTER QUERY mode?
    c) Can we replace the image with the three dots by anything else?
    Thanks in advance
    Wolfgang

    24-FEB-05 12:03:11 GMT
    QUESTION
    =========
    You woukd like to know if the features for automatic LOV will still work in 10g and if
    this will this feature finally work in ENTER QUERY mode
    eos (end of section)
    RESEARCH
    =========
    Test done with 904, 902 it works
    eos (end of section)
    ANSWER
    =======
    The feature will works in 10.1.2.0 since Oracle products are cumulatives.
    Concerning the Enter_query mode problem, there is an enhancement request for this :
    Hdr: 2179613 8.1.6 WEBFORMS 6.0.8 PRODID-45 PORTID-100
    Abstract: EXTEND APP.UI.LOVBUTTONS TO ALLOW DISPLAY OF LOV IN ENTER-QUERY MODE
    For the moment, there is no response form the developemnt about this.
    You can follow the bug on metalink.
    eos (end of section)

  • Dynamic LOV buttons in Forms

    Hello:
    The dynamic LOV button (app.ui.lovButtons=true) in Registry.dat setup is showing the LOV button in NORMAT Mode ONLY.
    This does NOT get displayed when the form is in QUERY mode. Is there a way to display the LOV buttons irrespective of Query/Normal Mode?
    Thanks
    Bala

    Anyone faced this issue before?
    Please help
    Edited by: kart on Jun 16, 2010 3:58 PM
    Edited by: kart on Jun 17, 2010 12:30 PM

Maybe you are looking for