DropDownByIndex - different coloring for contained elements
Hi community,
I'd like to have a DropDownByIndex display some of the contained items with a different background and a tooltip.
I'm pretty sure this is not possible with Web Dynpro as a fine-grained control of the visual representation of the generated ui elements seems to be impossible but maybe there is special or work-around I have not stumbled over yet.
It is - however - an easy task with JSP, but I'm sick and tired of AbstractPortalComponents... ;-(
Thanks for your help!
regards,
Christian
Hi Christian,
To display tooltip for DropDownByIndex, there is property
tooltip.
For different background, just set the layout property of Container (which contains the DropDownByIndex- RootUIElementContainer) to GridLayout.
In the DropDownByIndex properties change cellBackGroundDesign to your choice.
regards,
Siva
Sorry:I have overlooked the words contained items with and misunderstood your requirement
So I can not give better answer than Armin
Edited by: Siva Rama Krushna on Jan 9, 2008 5:42 PM
Similar Messages
-
Different colors for hierarchy nodes in WEBI 4.0 (Possible or not)
Hi Everyone,
We have been listening a lot about the capability of Webi 4.0 in terms of Hierarchies from BW BEx Query. It works just fine like in BEx Analyzer, but is it possible to create formatted reports like we do in Crystal reports to display different colors for the hierarchy nodes. The reason for asking about this functionality is though Crystal Enterprise also inherits Hierarchical view from BEx Query we still won't be able to drill down in real time to do some interactive analysis.
Where as Webi 4.0 can allow us to do interactive analysis by allowing us to drill down on the hierarchies, but it would be great to show the Webi report with different colors for the hierarchy nodes along with the drill down functionality, to give users the best look and feel while working with these reports.
I am trying to achieve this functionality but I am not successful yet and running out of ideas. I am also not sure if this is possible or not. Can anyone throw some light or share there thoughts on this.
Any comments will be greatly appreciated.
Thanks & Regards,
SRVCreate a variable with:
=[Object].Depth
where [Object] has to be the one containing the BEx hierarchy.
This function will return the hierarchy level starting with 0 (zero).
You can use the value of the variable the in the formatting rules:
variable equal [hierarchy level]
to format all hierarchy nodes on the given level.
R. Uli -
How can i do different colors for the category in business graphics
Hi everybody,
i have a business graphics and i need different colors for the category. my business graphics is a gantt.
for example
category1
category2
category2
and so on.
Is there a solution for this? How can i do it?
Best regards,
MarkusSorry.
In my opinion, this requirement can not be resolved.
Generally, we use Business Graphic with Category, we just follow:
DATA:lr_graph TYPE REF TO cl_wd_business_graphics.
lr_graph = cl_wd_business_graphics=>new_business_graphics(
bind_series_source = 'NODE_DYN'
chart_type = cl_wd_business_graphics=>e_chart_type-BARS
height = 340
width = 750
* BIND_TOOLTIP = 'GRAPH.TT'
id = 'GRAPH' ).
DATA: lr_bgr_cs TYPE REF TO cl_wd_category.
lr_bgr_cs = cl_wd_category=>new_category(
view = wd_this->mr_view
bind_description = 'NODE_DYN.CATEGORY').
lr_graph->set_category( lr_bgr_cs ).
If we go to SE24, to check the class "CL_WD_CATEGORY", we cannot find any method or attribute about how to manipulate the "Category Font Color"...
Maybe,any other expert can give you fantastic solution, hope. Best wishes. -
Same logo printing different colors for different file formats?
I created a logo for a client who will be using it for some printed materials. I provided the logo in 3 different file formats: EPS, JPEG and Tiff.
In INDesign and MS Word, the logo is printing a different color for the EPS vs the Jpeg/Tiff file types. Is there something I'm missing?
I've even tried changing the color to something completely different and we are getting the same result. There is STiLL a considerable difference between the Eps file and the other two files.No the logo was created for print and I originally had used a pantone color but converted to CMYK. The actual value is C69 M7 Y0 K0. When my client inserts the eps file into her InDesign layout, it prints a bright aqua color and if she uses either the jpeg or tiff, it is a much different blue. We've tried other colors because I was thinking it might just be the fact that it's a blue color... but the same thing happens to other colors. I am wondering if there is some sort of color management setting that is causing the eps to be different?
-
How can i apply different color for each cell in jlist component?
hi guys i need your help and sorry if my english is very bad..guys how can i apply different colors for each cell in jlist component? for example for the first cell i want to apply color blue, for the second cell i want red, etc... i need your answer guys tnx..
Edited by: ryrene on Mar 21, 2010 12:13 AMryrene wrote:
hi guys i need your help and sorry if my english is very bad.
..guys how can i apply different colors for each cell in jlist component? for example for the first cell i want to apply color blue, for the second cell i want red, etc... i need your answer guys tnx..I'll see your tnx, and raise you dve bmbrs & nplm. -
How to set different colors for even odd rows in a data table
hi,
In my project i hav a data table. i am using jsf. i want the rows of the data table different colors for even, odd rows. can i do it just setting the row class property ? or there should be there some other way? please help.
sailajoyHope this helps
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-loose.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
<title></title>
<style type='text/css'>
.scrollContent {
height:100px;
overflow-x:hidden;
overflow-y:auto;
.scrollContent tr {
height: auto;
white-space: nowrap;
.scrollContent tr td:last-child {
padding-right: 20px;
.fixedHeader tr {
position: relative;
height: auto;
top: expression( this.parentNode.parentNode.parentNode.scrollTop + 'px' );
div.TableContainer {
border: 1px solid #7DA87D;
.headerFormat {
background-color: white;
color: #C8D7B5;
margin: 3px;
padding: 1px;
white-space: nowrap;
font-family: Helvetica;
font-size: 16px;
text-decoration: none;
font-weight: bold;
.headerFormat tr td {
border: 1px solid #C8D7B5;
background-color: #666633;
.bodyFormat tr td {
color: #000000;
margin: 3px;
padding: 1px;
border: 0px none;
font-family: Helvetica;
font-size: 12px;
.alternateRow {
background-color: #C8D7B5;
</style>
<style type="text/css">
div.TableContainer {
height: 121px;
overflow-x:hidden;
overflow-y:auto;
</style>
</head>
<body>
<table cellpadding="0" cellspacing="0" border="0"><tr><td><div id="TableContainer" class="TableContainer" style="height:230px;">
<table class="scrollTable">
<thead class="fixedHeader headerFormat">
<tr class="title">
<td title="Sort" align="center"><b>NAME</b> </td>
<td title="Sort" align="center"><b>Amt</b> </td>
<td title="Sort" align="center"><b>Lvl</b> </td>
<td title="Sort" align="center"><b>Rank</b> </td>
<td title="Sort" align="center"><b>Position</b> </td>
<td title="Sort" align="center"><b>Date</b></td>
</tr>
</thead>
<tbody class="scrollContent bodyFormat" style="height:200px;">
<tr class="alternateRow">
<td>Maha</td>
<td>
<input type="text" name="textfield" size="7" />
</td>
<td align="right"><input type="text" name="textfield2" size="7" /></td>
<td align="right"><input type="text" name="textfield3" size="7" /></td>
<td><input type="text" name="textfield4" size="7" /></td>
<td align="right"><input type="text" name="textfield5" size="7" /></td>
</tr>
<tr>
<td>Thrawl</td>
<td align="right">$9,550</td>
<td align="right">159</td>
<td align="right">100%</td>
<td>Co-Owner</td>
<td align="right">11/07/2003</td>
</tr>
<tr class="alternateRow">
<td>Marhanen</td>
<td align="right">$223.04</td>
<td align="right">83</td>
<td align="right">99%</td>
<td>Banker</td>
<td align="right">06/27/2006</td>
</tr>
<tr>
<td>Peter</td>
<td align="right">$121</td>
<td align="right">567</td>
<td align="right">23423%</td>
<td>FishHead</td>
<td align="right">06/06/2006</td>
</tr>
<tr class="alternateRow">
<td>Jones</td>
<td align="right">$15</td>
<td align="right">11</td>
<td align="right">15%</td>
<td>Bubba</td>
<td align="right">10/27/2005</td>
</tr>
<tr>
<td>Supa-De-Dupa</td>
<td align="right">$145</td>
<td align="right">91</td>
<td align="right">32%</td>
<td>momma</td>
<td align="right">12/15/1996</td>
</tr>
<tr class="alternateRow">
<td>ClickClock</td>
<td align="right">$1,213</td>
<td align="right">23</td>
<td align="right">1%</td>
<td>Dada</td>
<td align="right">1/30/1998</td>
</tr>
<tr>
<td>Mrs. Robinson</td>
<td align="right">$99</td>
<td align="right">99</td>
<td align="right">99%</td>
<td>Wife</td>
<td align="right">07/04/1963</td>
</tr>
<tr class="alternateRow">
<td>Maha</td>
<td align="right">$19,923.19</td>
<td align="right">100</td>
<td align="right">100%</td>
<td>Owner</td>
<td align="right">01/02/2001</td>
</tr>
<tr>
<td>Thrawl</td>
<td align="right">$9,550</td>
<td align="right">159</td>
<td align="right">100%</td>
<td>Co-Owner</td>
<td align="right">11/07/2003</td>
</tr>
<tr class="alternateRow">
<td>Marhanen</td>
<td align="right">$223.04</td>
<td align="right">83</td>
<td align="right">59%</td>
<td>Banker</td>
<td align="right">06/27/2006</td>
</tr>
<tr>
<td>Peter</td>
<td align="right">$121</td>
<td align="right">567</td>
<td align="right">534.23%</td>
<td>FishHead</td>
<td align="right">06/06/2006</td>
</tr>
<tr class="alternateRow">
<td>Jones</td>
<td align="right">$15</td>
<td align="right">11</td>
<td align="right">15%</td>
<td>Bubba</td>
<td align="right">10/27/2005</td>
</tr>
<tr>
<td>Supa-De-Dupa</td>
<td align="right">$145</td>
<td align="right">91</td>
<td align="right">42%</td>
<td>momma</td>
<td align="right">12/15/1996</td>
</tr>
<tr class="alternateRow">
<td>ClickClock</td>
<td align="right">$1,213</td>
<td align="right">23</td>
<td align="right">2%</td>
<td>Dada</td>
<td align="right">1/30/1998</td>
</tr>
<tr>
<td>Mrs. Robinson</td>
<td align="right">$99</td>
<td align="right">99</td>
<td align="right">(-10.42%)</td>
<td>Wife</td>
<td align="right">07/04/1963</td>
</tr>
<tr class="alternateRow">
<td>Maha</td>
<td align="right">-$19,923.19</td>
<td align="right">100</td>
<td align="right">(-10.01%)</td>
<td>Owner</td>
<td align="right">01/02/2001</td>
</tr>
<tr >
<td>Thrawl</td>
<td align="right">$9,550</td>
<td align="right">159</td>
<td align="right">-10.20%</td>
<td>Co-Owner</td>
<td align="right">11/07/2003</td>
</tr>
<tr class="alternateRow" >
<td><strong>TOTAL</strong>:</td>
<td align="right"><strong>999999</strong></td>
<td align="right"><strong>9999999</strong></td>
<td align="right"><strong>99</strong></td>
<td > </td>
<td align="right"> </td>
</tr>
</tbody>
</table>
</div></td></tr></table>
</body>
</html> -
Combo chart - different colors for Bar/Line
Hi,
In a combo chart is it possible to have different colors for bar and lines......................In our report- combo charts the intersection of bar/line is NOT visible beacuse of same color.Yes, I create a formula row with a zero in the first column. The row should be hiden. This has to be at the top of the grid and include the row in your data ranges for the chart.
-
A quick way to set different color for certain items in JList?
is there a quick way of setting different color for certain items in JList?
Either use HTML strings as the values in your JList (quickest, but may not be the most convenient, especially if your model isn't just text), or create your own ListCellRenderer (e.g. extend DefaultListCellRenderer).
There is no such thing as "list.setItemForeground(int index, Color c)". You'll have to use one of the methods above. -
PWA 2010 timesheet: 2 different colors for the rows "Actual " and "Planned
Hello,
To make timesheet easier to read and fill, is it possible to have 2 different colors for the rows “Actual “ and “Planned”?
Thanks,
soudhaHello Soudha,
By default the timesheet grid shows the cells in white color. But if you have little coding skills or a developer at your end, you can try this using "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\LAYOUTS\JsGrid.js" java
script file.
You may have to modify it but I recommend to take a backup of the file and test in your test environment first.
Happy troubleshooting.....
Vikram Daruru - MSFT -
Is there a way to have multiple color Guides so I can have different colors for different layers
Is there a way to have multiple color Guides in Illustrator and Photoshop CC so I can have different colors for different layers?
I think it's not possible "natively" to have this functionalty but I found these topics for Photoshop :
http://www.ps-scripts.com/bb/viewtopic.php?f=10&t=4618
http://www.ps-scripts.com/bb/viewtopic.php?f=10&t=4617
On this one, you will see a workflow which are well described.
http://graphicdesign.stackexchange.com/questions/6030/how-to-set-different-color-to-guides ai-ps-id-fw
I've not tested them but you should give it a try! -
JTextArea-Using different colors for the Strings added
I'm looking for a way to write in a textArea using different colors for the Strings
use SetForeground(Color newForegroundColor) on the JTextArea class
good luck
krishna -
Need to display different colors for Actuals and forecasting values in WAD
Hi Gurus,
My requirement in the report is, I need to display different colors for particular values like Actuals(say value type 10) and for forecasting values(say value type 20) , and data will uploaded from flat file.
Scenario : If I upload the data for March Month, I receive actual values upto March(Jan to March month) and from April to Dec(Forecast values with value type 20), Every month I will be getting file and similarly for subsequent months, i will get current month actual values and forwarding months forecasting values,
Now , my requirement is, When ever i execute the Report, Say if i execute for April Month, Upto April( Jan to April for actual values should be displayed in one color) and from May to Dec ( forecast values should be displayed in different color).
I had tried with following options like exceptions and could not display , as it runs based on key figure values where as my requiremnet is based on the CALMONTH , i need to show different colors for both actual and forecast values.
Kindly, help me out from this,
ThanksHi,
it is not necesseary that you need to do that in WAD , you can do the same in BEx platform, Since WAD is build above the bex reports. so automatially any changes done in Report will be replicated in WAD
Go for Exceptions in Bex. Give some range for Actuals and Forcasting at the creation of the exception.
if you do those changes in BEX automatically it will replicate in the WAD.
for more information please read this link
http://help.sap.com/saphelp_nw04/helpdata/en/68/253239bd1fa74ee10000000a114084/content.htm
hope this will solve your problem.
Santosh -
How can i set the different colors for a different group ui elements
Hi All,
I Created a View Container in that i crated 2 views. In first view i created a group and in second
view also i created a group. I want to set The First view group header colour as Golden colour and for second view group heder colour as Green colour. Please any one help me on this.
Thanks&Regards,
Bhargava.Dear GLM,
i got that. while creating the theme, in Complex Elements select the group element and set the primary group header colour to golden and secondary group Header colour to Green and in ur webdynpro application set the Group Design property as Primary Color for which group u want to set the Golden color and set the Group Design property as Secondary Color for which group u want to set the Green color.
Thanks&Regards,
Bhargava. -
How to set different color for items in selectManyCheckbox
hi,
I would like to change item text background color for each item on selectManyCheckbox (different for each item).
It is only 5 items so that could be static reference or select.
I know only how to change background for all items
af|selectManyCheckbox::item-text {
background:orange;
How to select concrete item text and change color for only them?
I found similar problem:
css - Set background color of every individual checkbox of p:selectManyCheckbox - Stack Overflow
but this dont work for me because I dont have in adf tr structure
I need somethink like this:
af|selectManyCheckbox::item-text XXXX - select here one of the item by number on list or id {
background:orange;hi,
thanks Alejandro and Federico for answers.
I use JDev 11.1.1.6. I dont write it in previously post because I think that is a more css then adf problem.
I have 5 selectItem based on simple List<String> {"text1", "text2", "text3", "text4". "text5"}:
<af:selectManyCheckbox label="List" id="smc2"
layout="horizontal"
value="#{bean.listInBean}"
autoSubmit="true">
<af:selectItem label="text1" value="text1" id="si47"/>
<af:selectItem label="text2" value="text2" id="si43"/>
<af:selectItem label="text3" value="text3" id="si46"/>
<af:selectItem label="text4" value="text4" id="si45"/>
<af:selectItem label="text5" value="text5" id="si44"/>
</af:selectManyCheckbox>
and I would like to color first selectItem text to orange, second to red.. etc, The list is a static list. Not would be changed.
After Alejandro answer I build simple for each element (anyCollection contains item with two fields: textValue and label {(text1,text1), (text2,text2)...}
<af:forEach items="#{bean.anyCollection}"
var="item">
<af:selectItem id="si48" value="#{item.textValue}" styleClass="yourClassName#{var.index}"
label="#{item.label}"/>
</af:forEach>
And now if I have my var called "item" I can write 5 css style classe yourClassName#{var.index} with different color, but there is a problem:
Attribute styleClass is not defined for af:selectItem
If it will be so simple I will just add 5 style classes for each selectItem
<af:selectItem label="text1" value="text1" id="si47" styleClass="yourClassName0"/>
<af:selectItem label="text2" value="text2" id="si43" styleClass="yourClassName1"/>
Should I use other component then adf facer rich? -
Different colors for the aggregation in the report
Hi
In my BEx report I require to show the aggregation in different colors.
That is suppose my report has 3 characteristics and 2 keyfigures. When the 'Result' appears for characteristic1 it should be shown in blue color(not specific) and when the result appears for characteristic2 it should be shown in red color and when result appears for characteristic3 it should be shown in green color and similarly.
Has any one already implemented this?
Please help..
Thanks and Regards,
Satya Raj Kumar.Hi,
Many thanks for your reply.
But this is not what I am looking for.
I require the result rows in different colors.
Suppose the result row is based on aggregation of Characteristic 3 then the result row should appear in blue color.
Suppose the result row is based on aggregation of Characteristic 2 then the result row should appear in green color. and so on.
Please help on this.
Thanks and Regards,
Satya Raj Kumar.
Maybe you are looking for
-
Crystal report XI error while Linking tables
We have just purchased Crystal Report XI license copy but as we going to create new report there is problem in linking tables i.e while pressing LINK tab after selecting ODBC databse name application going shut down.Please suggest.Thanks in advan
-
Can 2+ J2EE Clusters use one UME
This might sound odd, but it's something I need for a transition. I have one J2EE cluster running Portal. It is using LDAP+DB for the UME. I have internal users stored in LDAP and a few external users stored in the DB. I need to create a new cluster
-
How can I get itunes just to play albums from beginning to end? Often if an artist has a guest artist, or there are 'various artists' on the album, it stores them all separately, so listening from beginning to end becomes not one click away, but a mu
-
Hi gurus, My problem is in the search result screen from Check Status Transaction. When it is create da SC (from Describe requirement or Internal Goods) and the PO is also created, item level status should be Purchase Order Created. However, the stat
-
Having trouble opening a doc from 2001 with 9.5
Hi, My 9.5 won't support opening a doc from 2001... any suggestions?