How to show text instead of blank value in SelectOneChoice list.
Hi,
I have a requirement where I need to show some string like 'Please Select Value' instead of blank item in the select one choice list. So instead on blank value, this string will be displayed in the choice list and if user doesnt select any value it should be treated as normal blank value and validation should be fired.
May I know is there any property which we can set declaratively or any workaround for this?
My JDev version : 11.1.1.7.0
Many thank in advance.
Regards,
Dileep.
Hi,
In the VO list of values, check "Include no selection item", choose "Labelled item first of the list" from the drop down and give your custom label.
Thanks
Similar Messages
-
Showing zero instead of blank values
Is there an easy way to show a zero for everytime a NULL value is shown in a pivot table? Also in the pivot chart if a bar chart is being used, is it possible to chart the zero value on the axis?
Thank you much!Do you see it working in Table View? Confirm that the data are really "nulls" and not something else. What is the format type of the column? Basically, once the "easy answer" doesn't fit your situation, provide more details of your particular circumstance. Don't just say "It doesn't work." There must be something about your situation that makes this solution ineffective.
-
Discoverer 10.1.2.55.26 Viewer Shows NULL instead of Blank
Hello All,
we recently installed Discoverer 10.1.2.55.26 and applied cumulative patches(CM4). we migrated 9.04 version reports to Discoverer 10g(10.1.2.55.26).
On all the Reports, we see NULL instead of Blank spaces in the data in the viewer. How can we change all of the reports to show blank space instead of NULL.
Please share your experience and thoughts on this Issue
Thank you
Chandu AmbatiThank you Tamir,
Before i try on the big bang approach. I tried changing the worksheet options for one of the worksheet that shows NULL.
I changed from NULL to blank space and saved the workbook.
we use Oracle Portal to show these workbooks as Portal Views. Portal View was showing NULL before the change, and after changing the worksheet options and saving it, i refreshed the portal view and it started showing Blank instead of NULL. Works fine for that day.
The next Day again it started showing NULL.
Do u think are we missing any step?
Thanks again for your help.
Chandu Ambati -
How to display texts automatic. besides entered value for a field in Trans.
How to display texts automatically besides the entered value for a field in a standard transaction screen. For example you have a value table and a text table associated to it. Then on entering the value field and pressing enter the text associated should get displayed immediately besides the value. Like if you have 'LOC' as the value and 'Location' as the text associated to it, on entering this value 'LOC', you automatically get the text 'Location' printed besides it automatically in a transaction screen ?
Message was edited by: Sarika KediaHi sarika,
Welcome to SDN.
1. first of all, such display of text,
is not automatic.
(it appears to be automatic)
2. At design time,
a) take one extra field for text
and mark it as OUTPUT ONLY
3. Then in PBO coding,
call some module, and in that module
write code
4. The code should be to
select from TEXT Table
into the work area.
EG. THE SCREEN TEXT FIELD NAME IS
T510A-FIELDNAME.
CLEAR t510a.
SELECT SINGLE * FROM t510a INTO t510a
WHERE trfar = FIELVALUE.
5. This will take care of
displaying the text value of that field.
regards,
amit m. -
How to find average for non blank values
I need to calculate avarage for each restricted key figures. There are some blank values in this restricted key figures. Now I need to sumup and divide by non blank count. Do you know how to do it? How to count non blnak values and find avereage.
Thanks,
PhaniIn the properties of Key figure used in column/row, Calculations section, you can maintain calculation type for result as well as single value. There is "Average of all values not equal 0" option is available.
Rgds,
Vikram.
Edited by: Vikram Kate on May 22, 2008 11:23 AM -
How activate rating icons instead of rating values?
Please, can anyone guide me?
can't find where can activate rating icons instead of rating values (such as "good\fair\ and etc.") in KMHello,
there is no difference between screenshots and no upgrade in system (we have NW 7.02, EHP5.0). First screenshot - is real and second - is Photoshop upgrade . I want configurate parametres like second screenshot for enable rating icon.
I read that link .. here is my rating configuration: -
How to print text on container using oop on alv list
Hello Guru's,
pl guide me how to print text on container using alv list-display which have interactive events using oop classes/methods ...
I want to print hard coded text on coantainer , on double clicking it will call another screen.
Pl Help..
Message was edited by:
paresh sonavaneHi Paresh,
1. Go to the Layout and Create One custom container box and give name it.
2. Custom Container is the one type of tool and its used for Displaying the Reports
with the use of ABAP Objects.
3. Go to se38 and Write The Following Code.
tables ZTEAM_GD.
DATA : OBJ TYPE REF TO CL_GUI_CUSTOM_CONTAINER,
OBJ1 TYPE REF TO CL_GUI_ALV_GRID.
DATA IT_TEAM LIKE TABLE OF ZPLAYER_BAT_DET .
SELECT * FROM ZPLAYER_BAT_DET INTO TABLE IT_TEAM.
CREATE OBJECT OBJ
EXPORTING
CONTAINER_NAME = 'ALV'. -
> Give ur Container Name
CREATE OBJECT OBJ1
EXPORTING
I_PARENT = OBJ.
CALL METHOD OBJ1->SET_TABLE_FOR_FIRST_DISPLAY
EXPORTING
I_STRUCTURE_NAME = 'ZPLAYER_BAT_DET'
CHANGING
IT_OUTTAB = IT_TEAM.
*CALL METHOD OBJ1->SET_DROP_DOWN_TABLE
EXPORTING
I_STRUCTURE_NAME = 'ZTEAM_GD'
CHANGING
IT_OUTTAB = IT_TEAM.
CALL SCREEN 9000.
*& Module USER_COMMAND_9000 INPUT
text
MODULE USER_COMMAND_9000 INPUT.
CASE SY-UCOMM.
WHEN 'EXT'.
LEAVE PROGRAM.
ENDCASE.
ENDMODULE. " USER_COMMAND_9000 INPU
Thanks.
Reward If Helpful. -
Reading text file and display in the selectOnechoice list item In ADF.
Hi,
I have a requirement to read the text field which have list of strings and that string display in the SelectOneChoice List item component on page load.
I am using Jdeveloper 11.1.2.3 version.
Any suggestion will highly appreciated..
Thanks in advance.
RegardsHi,
Google will produce you with hints on how to read content of a file from Java (ideally the file uses some delimiter). Then in a managed bean, you read the file and save its content in a list of SelectItem. So your managed bean should have the following property and setter/getter pairs
ArrayList<SelectItem> listFromFile = new ArrayList<SelectItem>();
public void setListFromFile(ArrayList l){ //you don't need this }
public ArrayList<SelectItem> getListFromFile(){
//read file content and iterate over the file list entries
for(i=0, i < fileContent.length, ++i){
SelectItem si = new SelectItem();
si.setValue(... the value to update the list of value with ...);
si.setLabel("... the label to show in the list ...");
listFromFile.add(si);
return listFromFile;
}The af:selectOneChoice component should look as follows
<af:selectOneChoice id=".." value="...attribute to update with selection ..." ...>
<f:selectItems value="#{managedBean.listFromFile}"/>
</af:selectOneChoice>Frank -
How do i show descriptions instead of dimension values at presentations ?
We are facing a problem that could be a BIBeans problem or could be an OLAP problem, please inform if to change forum:
We are using jdev 903/BIB903 accessing an AW created at Oracle OLAP 9205 with AWM.
All our dimensions were created at OWB 10g and deployed to RDBMS following the general rules below:
DIM X
ID_X - sequence primary key
CD_X - original key from source systems
DS_X, NM_X, and so on - description fields and hierarchy fields related to this record.
i.e.:
SQL> desc dim_rota
Name Null? Type
ID_ROTA NOT NULL NUMBER(6)
CD_EMPRESA NOT NULL NUMBER(2)
CD_FILIAL NOT NULL NUMBER(2)
CD_ROTA NOT NULL VARCHAR2(3)
NM_FILIAL NOT NULL VARCHAR2(40)
NM_ROTA NOT NULL VARCHAR2(30)
CD_SETOR NOT NULL VARCHAR2(1)
ID_SETOR NOT NULL NUMBER(6)
NM_SETOR NOT NULL VARCHAR2(30)
this dimension has 1 hierarchy with 2 levels called SETOR and ROTA.
when we generated the AW using AWM, each field (except ID) is created as a variable dimensioned by DIM_ROTA, as shown below:
->listby dim_rota
35 objects dimensioned by or related to DIM_ROTA in analytic workspace AW1
DIM_ROTA_CD_EMPRESA
DIM_ROTA_CD_FILIAL
DIM_ROTA_CD_ROTA
DIM_ROTA_CD_SETOR
DIM_ROTA_CREATEDBY
DIM_ROTA_FAMILYREL
DIM_ROTA_GID
DIM_ROTA_INHIER
DIM_ROTA_LEVELCOLMAP
DIM_ROTA_LEVELREL
DIM_ROTA_NM_FILIAL
DIM_ROTA_NM_ROTA
DIM_ROTA_NM_SETOR
DIM_ROTA_ORDER
DIM_ROTA_PARENTREL
ID field was concatenated with level name to generate the dimension value - so, for the following relational record:
SQL> select id_rota, cd_rota, nm_rota from dim_rota where ID_ROTA = 233;
ID_ROTA CD_ROTA NM_ROTA
233 A99 A99-Consig. Sup. Setor A
we have at multidimensional side:
->LIMIT DIM_ROTA TO 'ROTA.233'
->rpr dim_rota
DIM_ROTA
ROTA.233
->dsc dim_rota_nm_rota
DEFINE DIM_ROTA_NM_ROTA VARIABLE TEXT <DIM_ROTA DIM_ROTA_HIERLIST ALL_LANGUAGES>
LD IMPLEMENTATION NM_ROTA Attribute for DIM_ROTA Dimension
->rpr down dim_rota w 30 dim_rota_nm_rota
ALL_LANGUAGES: AMERICAN_AMERICA
-------DIM_ROTA_NM_ROTA-------
------DIM_ROTA_HIERLIST-------
DIM_ROTA ROTA
ROTA.233 A99-Consig. Sup. Setor A
here comes our question: how do we show at BIBeans designer/presentations the related descriptive fields and NOT the dimension values themselves?
thanks in advance,
FlavioThere a re two additional attributes that need to be mapped within OWB for each dimension:
Long Description - this is used by the presentation beans and query and calc builder to replace the dimension values with more meaningful/end-user friendly descriptions
Short Descriptions - this can be used where the long description is too long for display purposes. In BI Beans 10g Release 2 (due out soon) you will be able to select between long/short descriptions when using many of the new tags.
These new attributes will be automatically picked up by the OLAP Bridge in OWB and automatically added to the OLAP catalog.
Hope this helps
Business Intelligence Beans Product Management Team
Oracle Corporation -
How to have image instead of blank player screen
I know virtually nothing about Dreamweaver and Flash...I know
how to update page, embed .flv files, etc, and how to encode
videos, but that's it. I am a videographer by trade. I am putting
videos up on my new website and they are not going to be autostart.
How can I have an image instead of a blank screen show on the
inactive player?
Thanks in advanceHi,
In the VO list of values, check "Include no selection item", choose "Labelled item first of the list" from the drop down and give your custom label.
Thanks -
How to get Text instead of key in a ListBox or DropDown
Hi,
I have a Listbox Country and I would like to get the Country name selected instead of key.
for example if i select India , i am getting corresponding key value for India not the actual text India.
How would i get that
I am using this.rawValue to get the key
Thanks
Bala DuvvuriHi Bala,
Have you tried this:
Place the following JavaScript code on the Change event of your ListBox
xfa.host.messageBox("TEST: " + xfa.event.newText);
This code should give you the actual Text for your entries.
Hope this helps,
Harman -
How to show description instead of code on a view page?
I'm new so this is probably basic, but I didn't find an answer when I tried searching.
I'm using JDeveloper 10.1.3.3, ADF Business Components, ADF Faces.
In my application, I have both view pages and edit pages (some users will only have read access). Many of the fields will be populated from LOV and the code will be stored in the database.
The edit page is no problem - I have read-only VO for the LOV and I use af:selectOneChoice and display the description. But how do I display the same description on the view page? By defaiult the code is displayed when the entity based VO is dropped as a ADF Read Only Form.
I assume I need to do something in the BC, but I'm not sure how to get values from read-only VO into my entity based VO. Or do I have to make all my VO for LOVs entity based even though they will never be edited? Or is there something I can do in the view to get the description instead of the code?
Thank you for your help.
Karen Helt
Sr IT Programmer/Analysit
Hach CompanySo if I understand you properly, I need to create EOs for all my list of values (which are based on views of Oracle apps tables) and base my VO on those EOs. And then I setup associations between these EOs and the Item EO. Then I include the these EOs in my Items VO and add the description attributes to my list of attributes. I had done this for the list of users, but for the views of Oracle I had just created read only VO. Sounds like that won't work if I want to display the description. I know what to do - I guess I was hoping there was a way to use the read only VO.
Thanks
Karen -
How to show two amount (based on value type and entry code) in same column
Hi, I have to show two amount in the same column how can i do that...
For example there is
1) premium amount which depends upon the entry code lets say entry code 1000 = Premium amount .
2) Now there is another premium amount but this amount is stored on basis of value type ...let us say for value type 'prem' = premium amount .
these amount are in different field can i shown it in same column in BEx query.
If you can you please help .use the selection criteria to restrict the field types in the query designer- use other variables to check the value
if it doesnt reconcile- you can alternatively use a multi provider for the same thing- that way you will get the same amount in 1 column and you could restrict using the infoprovider column -
How to show text in encrypted form using forms
Actually I am making an application for changing the password so I want to first confirm the old password but how can I display the password in encrypted form...
Thanx in advanceIf you need hide password in text item you can set item's property "Conceal Data" to "Yes"
Good Luck,
Michael
null -
How to show a filter of the values in SCCM 2012 report?
I didn't see a forum for SCCM 2012 reporting, only SCCM 2007 Reporting, so I hope I am posting in the correct forum for this.
We upgraded to SCCM 2012 R2 and when running a report and entering values we can no longer type in a filter and then see a filtered list of values like in SCCM 2007.
Is there a solution for this? This was very useful especially in the Add/Remove report because many times we don't know exactly what to enter.
Below is a snapshot of what we did in SCCM 2007.Garth, unfortunately, I don't. I was fair at SCCM 2007 reporting and modifying SQL statements, but it seems everything has changed with SCCM 2012 reporting. For the specific SCCM 2012 report I mentioned, "Computers with specific software
registered in Add Remove Programs", is there some code I could paste in somewhere to get it to operate like the SCCM 2007 report?
Are you using BIDS or Report Builder. (Keep in mind that I recommend BIDS over RP)
Here are the basic steps:
Review the SQL for the Prompt
Add a variable to the prompt
Import; refresh the SQL query within the dataset
Move that the new variable is BEFORE the existing variable
Enter in the Prompt text “Enter computer filer”
Test to make sure everything is nice
Upload the report.
Garth Jones | My blogs: Enhansoft and
Old Blog site | Twitter:
@GarthMJ
Maybe you are looking for
-
IPhoto quits when I try and change text color in book
When editing a new iPhoto book (version 5), I was changing the font color. As I clicked on the text color icon in the fonts window (show fonts from the iPhoto menu), Iphoto just quit. It also lost all my formating thst I had for my pics. I tried the
-
No web sound after 10.4.7 update
I am unable to get any web based sound,either on safari, firefox or netscape. No sound on quick time, windows media player or real player. Alert tones work, Itunes work, just nothing from the internet. This began imeadtaely after the last 10.4.7 upda
-
HELP: Best way to take photos from Web
I went to a city website and want to use some photos (that are not copyrighted)in a report. My save as jpg did not produce a good image that could be scaled up. How to do?
-
Problems with transparency in interactive PDFs
Hi, I am creating a 40pp document in InDesign CS6. The document is created as CMYK and will be issued as a printed piece but also there is an interactive version. For revision control purposes, I have created one document for both purposes, and have
-
I understand that the Mac will perform routine maintenance at night, if I do not allow the computer to sleep. But suppose I select "never" for computer sleep but check off "allow hard disc to sleep when possible". Will the computer still perform the