SelectOneChoice display label
Hi,
Can anyone tell me how to influence which attributes are used to create the display text for a selectOneChoice element?
I have a dropdown box to choose the gender of a person (the forum censors the word Sex?!). My page source looks like:
<af:selectOneChoice value="#{bindings.Gender.inputValue}"
label="#{bindings.Gender.label}"
required="#{bindings.Gender.hints.mandatory}"
shortDesc="#{bindings.Gender.hints.tooltip}"
id="soc1">
<f:selectItems value="#{bindings.Gender.items}" id="si1"/>
</af:selectOneChoice>with page binding:
<list IterBinding="MyIterator" StaticList="false" Uses="LOV_Gender" id="Gender" DTSupportsMRU="true"/>At present, because I have two attributes on the LOV, i get labels like:
M Male
F Female
When I actually just want to show one of these (not really bothered which).
I've tried both of the methods described here:
http://java2go.blogspot.com/2007/08/mastering-adf-faces-component.html
But the first has no effect (adding AttrNames child element in binding and specifying only one of the attributes) and the second doesn't seem to be possible any more (af:forEach tag is not allowed as a child of selectOneChoice).
I've tried the UI Hints on the GengerLOV object but they also seem to have no effect. What's the recommended way to do this?
Cheers
Hi,
It should work fine, if you have selected only one attribute in UI hints for GenderLOV. Please re-check if you have multiple attributes selected or only one attribute selected.
Also, In the source view of the view object, check the ListBinding and its display attributes to make sure the view object source is updated correctly.
ListBinding for LOV_Gender should be something like:
<ListBinding
Name="LOV_Gender" .. >
<AttrArray Name="ListDisplayAttrNames">
<Item Value="Gender"/> <!-- make sure only one item is available-->
</AttrArray>
</ListBinding>
Sireesha
Similar Messages
-
Hi,
In my application I have reports tab and have few reports.
I am able to sum the amounts in the report using the aggragete function.
But besides the total amount computed I want to display Label like Total Amount.
tried with display item and put in the same region but no luck.
can we achieve this or any other work around.
Like i should get my total as follows. now iam getting total 600 but no total amt label beside the same. thanks in advance.
100
200
300
Total Amt 600You could try altering your GROUP BY to GROUP BY ROLLUP
or
Under Report Attributes take a look at Break Formatting
Jeff -
Bridge stopped display labels in thumbnails CS4
Today, Bridge CS4 stopped displaying labels (coloured ones) in thumbnails.
It still keeps track of them, they show up in the large size display on the right and I can filter by label.
I checked preferences and I have display labels on thumbnails checked.
The only thing I did differently today from usual was to access bridge/ps via remote desktop from another computer but bridge was running on the computer where the photos are stored and where I usually work on them from (ie. I was not running bridge on another computer).
I have restarted bridge and the computer but nothing brings labels back.
I do not use ratings but notice similar problem with them.
I have purged cache in folders to check as well but that doesn't help.
Any ideas how to bring thumbnail label display back?
thanks for your help
Vista 32, 4GB, intelone other thing, the file names do not show up either
this is in the grid view
when i use other views they seem fine but much less convenient than having a easy way (labels) to see what I have done with images -
Displaying labels with a different color in a form
hello all,
how to display labels in a form in different color?
the question may be simple to many. as i am new to apex.Hello,
Please check if the following can help you - App. Express -- Change font size in the item label. .
Regards,
Arie. -
PPR Report ,How to display Label with TOTAl
Hi,
How Can i display PPR Report ,How to display Label with TOTAl like
[http://apex.oracle.com/pls/apex/f?p=267:30:]
Thanks
Edited by: 805629 on Jan 6, 2011 3:34 AMHi,
For PPR Report:
Select "Yes" in "Enable Partial Page Refresh" item of "Layout and Pagination" region in Report Attributes of that report.
For display Label with TOTAL:
Use "Break Formatting" region in Report Attributes of that report.
Regards,
Kartik Patel
http://patelkartik.blogspot.com/
http://apex.oracle.com/pls/apex/f?p=9904351712:1 -
How to modify display label in error message raised from capi?
How to modify display label in error message raised from capi?
qms_transaction_mgt.process_rule_violation
( p_br_name => 'BR_PBR_DEL006'
, p_msg_code => 'PMS-00417'
, p_display_label => display_label
, p_table_name => 'pan_project_members'
, p_table_rowid => get_rowid
regards,
marcelWhen you mean which columns are displayed, this is actually quite easy.
Display_label will display by default the unique key columns, or if no unique key exists, the primary key. To overrule this behaviour, you have to specify the columns you want to display by assigning them a 'descriptor sequence'.
For example, to display the ename on EMP warnings, assign descriptor sequence 10 to the EMP.ENAME column and regenerate the CAPI package.
Jeroen van Veldhuizen -
How can I display labels in the margin on last page
I would like to display a label and a line (for a signature) on the last page of my report at the bottom of the report. This has to be displayed after all the other report details have been displayed and should appear only on the last page. How can I do it? Please help.
You can move the label and the line for the signature into a frame and place the frame at the end of your report. Then set the "Print Object On" property for the frame to Last Page.
-
Hi
I am using OBIEE11.1.1.6.6.We created one bar chart report.In this report i set "Data Label Display Always".Now my requirment is i have to display data lebel values in the middle of the bar. not in the top of the bar.
Could you please let me know any one.How can i achive.
Thanks
Gram.Hi,
I hope you can use stacked vertical bar chart to display the values in the middle.
Regards,
VG -
How to display labels ( vertically) in a column Chart
Hi,
As per my requirement I want to show labels inside the column charts & they must be aligned verically
say ABC is id i want display i want A
B
C
I have tried with Column Charts properties like showvertically =" true" & extendLabelToEnd="true".But i am not getting them vertically aligned .Is that something else also must be done.
Regards
Kalavati singh
[email protected]Take a look at this blog: http://gerardnico.com/wiki/dat/obiee/presentation_variable
Try it out by providing a default format.
Thanks,
BIPuser -
Tree view not displaying labels
Hi,
I am trying to use the Tree component, the tree view part is
fine I can click on a folder and it expands click on the icon and
it runs the preloader (component) and displays to pic fine. What it
doesn’t do is display the text next to the folder or icon it
is just blank. I have even tried copying the gallery_tree.fla (from
\Flash 8\Samples and Tutorials\Samples\ActionScript\Galleries) and
putting it in to my project with the same problem. So below are the
xml file and the action script.
Any help is appreciated
BP
Note: I am trying to use this in _root.blank_mc.menu3 (which
is a movie clip)
XML file
<?xml version="1.0"?>
<tree>
<node label='Gallery 1'>
<node label='DCP_0730' src="images/DCP_0730.jpg" />
<node label='DCP_0731' src="images/DCP_0731.jpg" />
<node label="DCP_0732" src="images/DCP_0732.jpg" />
<node label="DCP_0733" src="images/DCP_0733.jpg" />
<node label="DCP_0734" src="images/DCP_0734.jpg" />
<node label="DCP_0735" src="images/DCP_0735.jpg" />
<node label="DCP_0736" src="images/DCP_0736.jpg" />
<node label="DCP_0737" src="images/DCP_0737.jpg" />
<node label="DCP_0738" src="images/DCP_0738.jpg" />
<node label="DCP_0739" src="images/DCP_0739.jpg" />
<node label="DCP_0740" src="images/DCP_0740.jpg" />
<node label="DCP_0741" src="images/DCP_0741.jpg" />
<node label="DCP_0742" src="images/DCP_0742.jpg" />
<node label="DCP_0743" src="images/DCP_0743.jpg" />
<node label="DCP_0744" src="images/DCP_0744.jpg" />
<node label="DCP_0745" src="images/DCP_0745.jpg" />
<node label="DCP_0746" src="images/DCP_0746.jpg" />
<node label="DCP_0747" src="images/DCP_0747.jpg" />
</node>
</tree>
Action scriptanyone out there with any sugestions? the problem is in the
action script because it works on the mail time line but not in
_root.blank_mc.menu3 which is were I need it.
Action script below
var my_pb:mx.controls.ProgressBar;
var my_ldr:mx.controls.Loader;
var my_tree:mx.controls.Tree;
my_pb._visible = false;
my_pb.indeterminate = true;
my_pb.setSize(160, 30);
my_pb.source = my_ldr;
my_pb.mode = "polled";
var pbListener
bject = new Object();
pbListener.complete = function(evt
bject) {
evt.target._visible = false;
my_pb.addEventListener("complete", pbListener);
var treeDP_xml:XML = new XML();
treeDP_xml.ignoreWhite = true;
treeDP_xml.onLoad = function(success:Boolean) {
if (success) {
my_tree.dataProvider = this.firstChild;
treeDP_xml.load("gallery_tree.xml");
var treeListener
bject = new Object();
treeListener.change = function(evt
bject) {
var treeNode:XMLNode = evt.target.selectedItem;
if (treeNode.attributes.src != undefined) {
my_pb._visible = true;
my_ldr.load(treeNode.attributes.src);
my_tree.addEventListener("change",treeListener);
stop(); -
Summary Report: Can Smallest Tile Display Label?
A client has requested to not "do the math"...
Even though the hover state shows the value, can the display of labels be required?
Please see the linked pic.
Thanks for any input.
TimHi Tim,
One possible work-around would be to increase the amount of available space for the report tile. This can be done by following these steps:
1. Switch to the "Summary Report" tab
2. Click the File > Page Setup... menu item
3. Increase the available space by either increasing the page width or changing the page orientation from portrait to landscape
The screenshot below shows the before/after of an example report tile.
Regards,
Brian -
Chart Ledgend Display Label not showing correctly in CR Viewer 2008
Hello All
I have a chart where I have edited the displayed Legend Name for 3 chart elements using Edit Axis Label. The three new labels display correctly in CR Designer, when I run the report in CR Viewer I see 2 ledgend labels with the Edited Label and the thrid displays Original Label.
Has anyone encounted this before and knows what the solution is or is this a Bug in the software, which requires an OSS?
Thanks
PhillipHi Phillip,
I remember some Bugs related to chart labels fixed in Service Pack 3.
What service pack level you are?
If you have the same problems with Crystal Reports Viewer on SP3 level then we need more details about the issue to replicate and escalate it.
If you do not have SP3 yet, then please describe the steps, so we can test it in SP3.
Vitaly -
How can i create n display label dynamically
Hai, I want to create a label dynamically, meant when i pressed a button once one label generated for the next click of button another label. like this,
so i need to know how to create and display a label.
regardsHi,
Armin's solution already answers your question.
Create a value attributre CreatLabel..of type boolean and set it to false in init.
Then in the button's action handler ,set it to true.
And write this code in wdDoModifyView.
In wdDoModifyView():
if ( wdContext.currentContextElement().getCreateLabel() ){ /* create new label with automatic ID */ IWDLabel label = (IWDLabel) view.createElement(IWDLabel.class, null); /* add label to some container */ someContainer.addChild(label); /* reset creation flag */ wdContext.currentContextElement().setCreateLabel(false);}
You should not create view element outside wdDoModifyView. So we write this in the wdDoModify view..a nd control when it is executed.. by means of setting CreateLabel value attribute..
Regards
Bharathwaj
Message was edited by: Bharathwaj R -
How to display labels for the list populated in F4's ?
Hi,
I am working on ADOBE interactive form where in a remote F4 help is used.
When i click on F4 help, the list is shown in a pop up window, but the problem here is the labels are missing.
Eg:- The list is displaying COST CENTERS and DESCRIPTIONS, but there is no heading to differentiate between the two.
Do i have to code for displaying the labels as well ?
If yes, could you please provide the steps ...
Thanks
KumarHi Sachin,
I am using a remote function call to a function module which exists in another system. The values for the F4 are getting
filled, but as i said earlier, the title and content header are missing.
I am using an entity type "UOM" which has a data element and i checked that the field labels are maintained for it.
What am i supposed to do in this situation ?
Thank you,
Raja -
How to translate SelectOneChoice display if it linked to lookup view object
I used ADF faces to build simple registration form for Customers and i want to localize it and its lookups(SelectOneChoice,SelectOneListbox) so i did the following
1- Create table called Customer and has field of Country id
2- Create table called Countries with 3 fields {CountryID,CountryName,CountryNameArabic}
where
CountryName :English Country name
CountryNameArabic : Arabic Countrty Name
3- Create DataControl for the previous description
4- Drag the CustomersView to JSF page
5- Change CustCountryID to selectOneChoice and refer to CountriesView which is my lookup View
I want to change the displayed Country Name according to localization of the browser
if locale is English --> use CountryName Field
if locale is Arabic --> use CountryNameArabic Field
please help
note : if there is another solution please describe it
thanksfirst thanks for reply
You can use an expression language to check for the
locale and based on the result change the value
binding that you are using.i already used expression language in pageDef to get the values dependent on the views
<list id="CustomerViewCountryid" IterBinding="CustomerViewIterator"
StaticList="false" ListOperMode="0"
ListIter="CountriesListIterator">
<AttrNames>
<Item Value="Countryid"/>
</AttrNames>
<ListAttrNames>
<Item Value="Countryid"/>
</ListAttrNames>
<ListDisplayAttrNames>
<Item Value="#{(view.locale.locale=='en')?'CountryName':'CountryArabicName'}"/>
</ListDisplayAttrNames>
</list>
and i got
oracle.jbo.NoDefException: JBO-25058: Definition #{view.locale.language=='en'? 'CountryName':'CountryArabicName'} of type Attribute not found in CountriesView
You can also have both the English and Arabic items
on your page and use an expression language in the
rendered property of the list to decide which one to
show.i think this solution is not applicable because i can't bind the same field (CustomerView.CountryID) to 2 different iterators in the pageDef
if so please describe this solution clearly
thanks
Maybe you are looking for
-
Time Machine Migration hanging on "Less than one minute remaining"
I decided to take a risk with my iMac and do an erase and install with Leopard, the version of OS X it's been running for years now. The reinstall went fine migration assistent got me started transferring my information from my Time Machine external
-
Oracle 8.0.6.1.0 and PHP 5.2.17
Hi all I need help, I've this enviroment: Dedicated Server: Oracle Version: 8.0.6.1.0 OS: UNIXware 6 Web Server (Windows 7): Oracle Client Version: 9.2 Oracle Instant Client: 10.1.0.5 (OCI Version: 1.2.5 Rev: 293036) Apache 2.2 PHP 5.2.17 (OCI librar
-
How do I burn a dvd from imovie? Using imovie as updated when Mavericks was installed.
-
Warning:suid file system
warning:suid system, what going on?
-
Using PCI-6025E with quadrature encoder.
Hi, i'm presently trying to figure out if i can use the PCI-6025E Card to count up/down with a quadrature encoder with no additionnal hardware. I know my answer lies in a document called "Using Quadrature Encoders with E Series DAQ Boards document "