Can't get a blank entry in Choice List of Values (LOV)

Using Jdev 11.1.1.3 but will be upgrading to 11.1.1.5 in few weeks.
Need to display a Choice List that is bound a view object with static data. The List should show a blank item since users don’t need to select any.
I am able to display the LOV in the page but can’t seem to get a blank item as a first item.
Here is what I did:
1.     Created the VO with static data. Initially didn’t include it in the Application Module based on the developer guide sec 5.3 but later added to get it in the data control list.
(Note the application doesn’t need to use any database and simply is using Web Service but for test I am using a DB)
2.     To configured the VO, tried to add a View Accessor to the VO, but couldn’t select a data source until I added the VO to the App Module !
3.     In attributes tab added an LOV and specified the data source. In UI Hints ensure the “Include “No Selection” Item” was selected.
(Initially didn’t shuttle the attribute to the right in the UI hints.)
4.     In the List UI hints ensured that “Include “No Selection” Item” was selected.
5.     Dragged the VO Data control to the page and selected ADF Select One Choice.
6.     On running the List DID NOT include a blank item !? How to get one?
In pageDef got:
<list IterBinding="GenderListVO1Iterator" ListOperMode="navigation"
ListIter="GenderListVO1Iterator" id="GenderListVO1"
DTSupportsMRU="true">
<AttrNames>
<Item Value="Gender"/>
</AttrNames>
</list>
I even added the tag NullValueFlag="start" to the PageDef but no blank entry.
In Page got:
<af:selectOneChoice value="#{bindings.GenderListVO1.inputValue}"
label="#{bindings.GenderListVO1.label}"
required="#{bindings.GenderListVO1.hints.mandatory}"
shortDesc="#{bindings.GenderListVO1.hints.tooltip}"
id="soc3">
<f:selectItems value="#{bindings.GenderListVO1.items}" id="si7"/>
</af:selectOneChoice>
If I don't use the VO and code all items in the JSPX page with a blank item that get a blank entry (didn't test with the Web Service yet since not ready).
What is the issue with VO?
( I am also considering a number of SelectManyChecks on the same page but might be difficult)
Thanks for the reply.
Edited by: user8769031 on Jun 10, 2011 11:12 AM

Thanks for the hint, but in my case the attribute is not required. I never see a blank entry. The only way I was able to get a blank is to add a blank item to the static list in the VO. The VO XML file has:
<LOVUIHints
ListType="105"
MRUCount="0"
ListRangeSize="-1"
NullValueFlag="start"
NullValueId="LOVUIHints_NullValueId">
The Include "No selection" item is not working as expected.

Similar Messages

  • Can't get iphone calendar entries to appear in ical

    I can't get iphone calendar entries to appear in ical. Also, my iphone has hung up on sycning calendars several times. Even the couple of times it has gone through it, nothing I enter on the iPhone goes into ical.
    Imac G5   Mac OS X (10.4.5)  
    iPhone *   Mac OS X (10.4.5)  

    Mine also seems to be syncing iCal info o.k. from my phone. Tried it again today with several calendar entries and all showed up perfectly in iCal.
    I have also been using the calendarcreator service for a while on my MBP and this shows up on the info pane for my iPhone and allows me to select it to sync with. I believe this is how my iPhone info is getting into iCal but I will confirm this again tonight.

  • Lock: Can't get shadow database entry for root

    Hi all--
    posting this here since I'm having trouble with a Solaris release version and not OpenSolaris. Plus, Rich makes it pretty clear not to bug him with questions about this program! :-D
    Anyway I've been using Rich Teer's lock program on Solaris 10 (and 9) and it's been great. http://www.rite-group.com/rich/sw/lock.html
    But now that I've built a new machine with the latest general Solaris 10 x86 release (Solaris 10 8/07 s10x_u4wos_12b X86) the portion of lock that gets info from the shadow file doesn't seem to work:
    if I enter the incorrect password (to either lock or lock -p) I get:
    lock: Can't get shadow database entry for root: Error 0
    Rich discusses the background on his lock program in this article:
    http://developers.sun.com/solaris/articles/program_privileges.html
    ...but it's over my head.
    Anyone have some guidance on this? I'd really like to use this program in my work environment. thanks! ..and happy Thanksgiving!
    -Matt

    Futher information on this problem OS is Windows XP PRO SP2
    Jer, I have tried stopping and stating the database many times to no avail. I even stop the listener first before trying a restart, see below
    I need some one to tell me what or where to look next Are there log files could I have some sort of trace report that might tell me more etc...?
    M:\oraclexe\app\oracle\product\10.2.0\server\BIN>net start OracleXETNSListener
    The requested service has already been started.
    More help is available by typing NET HELPMSG 2182.
    M:\oraclexe\app\oracle\product\10.2.0\server\BIN>net start OracleServiceXE
    The OracleServiceXE service is starting........................................
    The OracleServiceXE service was started successfully.
    M:\oraclexe\app\oracle\product\10.2.0\server\BIN>netstat -a
    Active Connections
    Proto Local Address Foreign Address State
    TCP HPPavillonXP:135 HPPavillonXP:0 LISTENING
    TCP HPPavillonXP:445 HPPavillonXP:0 LISTENING
    TCP HPPavillonXP:1521 HPPavillonXP:0 LISTENING
    TCP HPPavillonXP:1981 HPPavillonXP:0 LISTENING
    TCP HPPavillonXP:2869 HPPavillonXP:0 LISTENING
    TCP HPPavillonXP:1025 HPPavillonXP:0 LISTENING
    TCP HPPavillonXP:1045 HPPavillonXP:0 LISTENING
    TCP HPPavillonXP:1048 HPPavillonXP:0 LISTENING
    TCP HPPavillonXP:139 HPPavillonXP:0 LISTENING
    TCP HPPavillonXP:1389 by2m6-cs99.msgr.hotmail.com:1863 ESTABLISHED
    TCP HPPavillonXP:139 HPPavillonXP:0 LISTENING
    UDP HPPavillonXP:445 *:*
    UDP HPPavillonXP:500 *:*
    UDP HPPavillonXP:1030 *:*

  • How to get data from list of values (LOV) to be displayed in a text field ?

    Hi guys,
    I am very new to Oracle APEX so please spare me if it is a silly question. How can I get the selected values from a set of list of values (LOV) displayed in a text field (or text area or so) ? Fox example, in my form I create 4 items: STATE, COUNTY, STREET, ZIPCODE and all of them are LOV (list of values). I also create 2 buttons (ADD & REMOVE). Then I create a test field (or text area name SELECTED RECORD). Now here is what I want to do with my form:
    When I set the values for all 4 fields, I will click on the ADD button then I want those values be displayed in the text field.
    For example, if the selected values are:
    STATE = Alabama
    COUNTY = Abbeville
    STREET= 1 Street
    ZIPCODE = 36310
    And the ADD button is pressed. Then in the text field I want it displays like this:
    Alabama,Abbeville,1 Street,36310
    If I choose other values and click ADD again, a new line will be added into the text fields (text area). If I click the REMOVE button, then it will clear those two line in the text field.
    Would it be possible to do it? Any help will be greatly appreciated. Thanks in advance.

    If you can live with the page being submitted and refreshed, make your ADD button do a submit with a request value of ADD and make your REMOVE button do a submit with a request value of REMOVE.
    Then create two computations (one firing with a condition of Request = ADD and the other firing with a condition of Request = REMOVE).
    In the ADD one, concatenate the values together into the text area (most likely a PL/SQL computation wiill be what you want). In the REMOVE one, set it to null with a PL/SQL computation.
    If you want it done without submitting the page, make the buttons each do a redirect to a URL but instead you will have to write two short javascript functions in the page HTML header to manipulate the field values. Each button would call each javascript function in an onclick event.

  • When I open up a new tab, I get an "AVG" search result. I already did the about:config reset but it still doesn't work. How can I get a blank tab opened?

    When I open a new tab, this always comes up:
    http://isearch.avg.com/tab?cid={7d7746b8-fb39-4619-86fd-792cbc268005}&mid=72dc207d310ff3c58bd4dbeaeddede3a-fe6a71ecae4eb764a90a5203c991f01a6245f52e&ds=AVG&v=13.2.0.5&lang=es-es&pr=fr&d=2012-06-02%2009%3A32%3A49&sap=nt
    I already did the about:config reset and it doesn't make the new tab blank or go to a specific URL address that I type in. What can I do to get a blank new tab? Thanks.

    I would just like to add to this thread. I have tried everything and every way listed here and found my own solution, for those of you who were having the same issue as me.
    1. Type "'''about:config'''" in your search bar
    2. Click "'''I'll be careful, i promise'''"
    3. Type "'''newtab'''" in the search bar
    4. Find "'''avg.userPreferences.newtabDisabledByUser'''"
    5. Set value to '''true''' by either '''doube clicking''' or '''right click > toggle'''
    This immediately deactivated the AVG new tab feature and reset my browser to it's default settings.
    Hope this helps!

  • How can I get a blank screensaver?

    Newbie here, I can't figure out how to get a blank screensaver. What's the secret?

    akadoublej wrote:
    What I'd like to do is sleep the monitor for a half hour after 3 minutes of inactivity and then sleep the computer after a half hour of inactivity. How do I do this?
    go to system preferences->energy saver and set monitor sleep for 3 minutes and computer sleep for 30 minutes.

  • I inadvertantly hit "Forget this device" on the blue tooth setting.  How can I get this device back on the list?

    I inadvertantly hit "Forget this Device" on the bluetooth setting.  How can I get the "deleted" device back on the list to connect to?

    Re-pair the devices and you should be good.

  • How can I get Safari to keep the reading list pane open all the time?

    I am really enjoying the Reading List pane in Safari. How can I get Safari to make it default that the reading pane is always open on every tab or window I open? I'm running Lion 10.7.3.
    Thanks.

    Hi Necris Rex,
    If you are having trouble keeping the leading zeros even after first formatting the cells as text and then importing the csv values (perhaps you are importing the csv via File > Open into a new document) then you can restore the leading zeros without much trouble:
    Insert a new column next to the column where the leading zeros have not imported as you want. Here I assume the original values are in column B and your new column is C.
    Put this formula in column C:  =RIGHT("00000000"&A,6) , and fill down the column.
    Select column C, command-c to copy, and, with the column still selected, Edit > Paste and Match Styles.
    Delete the original column that has the missing leading zeros.
    Replace the 6 in the formula with the number of digits you need, so the formula knows how many zeros to "pad."
    The above assumes you actually need the leading zeros back.  If you just want to display things nicely in your Numbers table, then formatting as Numeral System and setting Places to 6 (or whatever) is quick and easy, no formulas required.
    SG

  • ADF BC Attribute with VC of CONTAINS Ignores Choice List on the LOV

    JDev 11g PS 1.
    Objects:
    - A view criteria with attribute defined as CONTAINS (literal)
    - An LOV on that attribute with a default list type UI hint of Choice List
    - ADF Faces query-table based in the VC
    Problem: query-table ignores the Choice List and renders an Input Text.
    Clue: Changing the operator to EQUALS causes the expected Choice List to be rendered in ADF BC.
    If this is documented in the online help or in this forum, it is escaping me.
    Anyone know the best workaround? Set the VC using EQUALS and switch it to CONTAINS in buildWhereClause() maybe?
    Thanks,
    Peter

    Frank,
    Thanks for the fast reply and for the bug entry. Unfortunately stopping work is not an option. We've come up with a solution using a query listener that replaces EQUALS with CONTAINS before the query and resets it to EQUALS after the query (otherwise the component draws the text item after the query).
    Maybe you can think of another solution to our requirement: display a single master record in the results table for a master-detail database view. For example, in an altered Oracle HR world, each DEPARTMENTS record is associated with multiple LOCATIONS records (through a DEPT_LOC table). A database view, DEPT_LOC_VW, based on that table also contains the location description and department description.
    Users want to select and then edit (on another page) a department by querying by location. If we represent DEPT_LOC_VW in the query-table component, we see multiple result rows for a single department and that is unnecessary confusion for the purpose of editing a single department.
    So we have created an alternative database view, DEPT_VW, based on DEPARTMENTS only, with an additional column -- LOC_LIST -- based on a function that returns a delimited list of all location codes for that department. This way, the user sees only one department record in the results table (although we lose the location description in the results -- not an issue) and is still able to query based on location.
    A LOCATIONS_VW view contains the location code surrounded with the delimiiter. The DeptVw view attribute LocList contains an LOV based on that database view.
    We want the view criteria to create a query condition:
    WHERE loc_list LIKE '%'||<selected location code>||'%'We thought about some kind of clever use of a subquery using a bind variable:
    SELECT...
    FROM  departments -- not DEPT_VW or DEPT_LOC_VW
    WHERE department_id IN (
       SELECT department_id
       FROM   dept_loc
       WHERE  location_id = NVL(:userSelectedLocationId, location_id);But that bind variable does not show in the view criteria selection list so it will not appear in the query component.
    Thanks again,
    Peter

  • ADF web select one choice list return value

    hi
    how can i make a choice list that displays a value but return another value
    and then use it as a parameter in a method for a button
    my problem is how to return another value to the button
    thanks

    Hi,
    After creating the selectOneChoice based on the steps you followed, you will need to follow up with the steps below.
    1) Open up your Page Definition file. In the Structure panel, right click on bindings --> Insert inside bindings --> Generic bindings --> attributeValues.
    2) Under Data Source, select your iterator value used to bind the selectOneChoice component. The attribute should be your value ID (example: productId) that you want to be returned by selecting the selectOneChoice component.
    In the backing bean, you get the actual value of the selected item in the list in step #2 by resolving the expression (example) #{bindings.productId.inputValue}.
    Regards,
    Chan Kelwin

  • 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

  • Can't get the "Complete action using" choice back

    When using Firefox mobile it used to ask "Complete action using" and then give a choice of Firefox or Google Play when I tried to open certain files. When one made the choice it would also give the choice of "just once" or "always". I accidentally opted for "always" the last time now it does it automatically whether I want to or not. I have tried to reset by clearing the apps defaults, by resetting all apps preferences from within android apps settings and by clearing Firefox's privacy settings. Still no joy, I have even reinstalled the Firefox app but even though I uninstalled first these settings seem to have been retained in android somewhere. Does anyone know how I can delete the file type associations so that I get the original choice again?

    Hi,
    Unfortunately at the moment, there is not an option to reset Firefox for Android, however to reset the dialogue, if there not alot of bookmarks, phillip has a nice answer to this from a previous question: [[https://support.mozilla.org/en-US/questions/975510 questions/975510]]
    First! Back up the user profile date by creating a Sync account, then adding the sync account once more it has been reinstalled. Another user suggested in the past this add-on to manually copy the profile. It is available for the Android and it is called [[https://addons.mozilla.org/en-US/android/addon/copy-profile/ Copy Profile]]
    Hope this helps

  • I can't get rid of "bing" from opening in new tabs. How can I get a blank page to open as in the past?

    Up until yesterday, I could open a new tab with a blank page. Now, every new tab opens to a bing search page and focus is in the search box. Very annoying when I begin to type a URL and have to click in the URL to continue typing. How do I get back to a blank page opening?

    Thanks. You did have to go through another step-"Extensions", to find the Icon for the StartNow Toolbar with Bing involved.
    Yep tried it and it got rid of Bing!! Happy Happy

  • Can I get DaYi Chinese entry to work in Lion?

    Hello,
    OSX "Lion" has removed the DaYi entry keyboard, so I have downgraded to Snow Leopard because both my professional work and leisure activities require that I type in Chinese.  The addition of "trackpad handwriting" for Chinese, to me, is just a toy.  With DaYi I can type 30-40wpm, or maybe more.
    I have tried copying the system file to a Lion-equipped system and it still doesn't work.
    Any ideas?  Could anybody with a keyboard-layout-fixing background have anything to say?
    Thank you!

    Did you actually try that IM to see whether DaYi was perhaps among the options it offers?
    You may want to ask on the Chinese Mac list:
    http://groups.google.com/group/chinesemac/

  • Can I get a blank screen when playing music

    iPod Touch running iOS 6.1.5: when I am playing a song, I used to see the information about the song at the top, a "progress" indicator, a large blank area, and then the controls at the bottom. Now, the middle section has a note symbol in it.
    I believe that the center section would normally show the album art, but I have been carefully getting rid of that because I don't want to see it either. Is there a way to get back to a totally blank screen again?
    -- Guerri

    I have iOS 6.1.5. I just updated my iPod to that version on January 3. I updated via iTunes and don't recall getting an option to choose a version.
    Is there now an even newer version?
    -- Guerri

Maybe you are looking for

  • Questions on OBIEE Cache maintenance

    Hi Experts, I have few questions regarding the OBIEE cache. 1. How to clean the cache ? Is there any method to clean the cache using Unix scripts. 2. Is there any way to call an unix script using the iBots ? Thanks in Advance. svr

  • Runtime Errors         ASSIGN_TYPE_CONFLICT.

    Hi, Can any one help me on the below error. Runtime Errors         ASSIGN_TYPE_CONFLICT. I am trying to load Master data text for 0CUSTOMER and the DTP fails.I am in BI 7.0 environment. Thanks Raj

  • Cost of UNBW Material in Process Order

    Dear Gurus, We have created UNBW Material for Raw Water used in our production process. (Since we dont want any accounting effect of the raw water we have created it as UNBW Material) Now when I do costing of product X which uses raw water the cost o

  • Update problems from 10.3.7.to 10.3.9

    Because problems I was encountering with my CoreMidi, CoreAudio plug in, I was force to re-install the system. I used the system disk that came with my Mac Mini (10.3.7), and by accident I cleaned out the drive. Not a problem. The thing is I was runn

  • Report or ways to find who removed portal roles for an user id ?

    Hi Experts, Scenario: if admin removes super admin role or any other portal role for my id. is there any possibility to see who exactly deleted the roles for my id? Many Thanks Sekhar