ADF pivot total table on the lines as specified column in different color, Jdev 11.1.2.3
Hi all
I have the aggregation of data on my PivotTable set to display totals for all rows and all columns. But they appear exactly like all other cells. To distinguish them clearly, I want to change the color of this entire column and the row that displays totals at the end of something different - say "Grey".
Is it possible to do this?... preferably without binding the bean pivot table,...
DataIsTotal metadata allows you to set a color if dataIsTotal is set to true.
Tags: Java
Similar Questions
-
Divide the line into several columns
Hi all
I have a question where I want to divide the line into multiple columns based on the delimiter ' |'.
Staging of Table structure: People_STG, I have people in it.
Create table People_STG(col1 varchar2(4000));
Insert into People_STG(Emp_id|) User name | FirstName. LastName. JobTitle | hire_date | Location_id)
SELECT REGEXP_SUBSTR ( COL1, '[^,|]+', 1, 1) EMP_ID, REGEXP_SUBSTR ( COL1, '[^|]+', 1, 2) USERNAME, REGEXP_SUBSTR ( COL1, '[^,|]+', 1, 3) FIRSTNAME, REGEXP_SUBSTR ( COL1, '[^,|]+', 1, 4) LASTNAME, REGEXP_SUBSTR ( COL1, '[^,|]+', 1, 5) JOBTITLE, REGEXP_SUBSTR ( COL1, '[^,|]+', 1, 6) HIRE_DATE, REGEXP_SUBSTR ( COL1, '[^,|]+', 1, 7) LOCATION_ID FROM PEOPLE_STG WHERE length(regexp_replace(COL1, '[^|]', '')) = 14;
But I am facing a problem here, as in some lines, function is null, but when I run the above query, it is not recognizing the empty element and inserting Hire_date values of function and location_id in Hire_date where function is null.
for example: 1 | akash51 | Akaksh | C | 22/11/14 | 15
Here the function is null, so when I run top to divide query it will insert 11/22/14 in the function column and 15 in Hire_Date.
Please need help on this one.
Oracle Version: 11.2 g
Thanks in advance,
Akash.
There are different techniques to cope with this. Is a simple...
SQL > ed
A written file afiedt.buf1 with t as (select 1 | akash51 |) Akaksh | C | 22/11/14 | 15' as col1 of union double all the
2 Select 2 | akash52 | Akaksh | C | Jobs jobs | 23/11/14 | 15' of the double
3 )
4 --
5. end of test data
6 --
7 select trim (REGEXP_SUBSTR (COL1, ' [^, |] +', 1, 1)) EMP_ID,.
8 toppings (REGEXP_SUBSTR (COL1, ' [^, |] +', 1, 2)) USERNAME,.
9 garnish (REGEXP_SUBSTR (COL1, ' [^, |] +' 1, 3)) FIRSTNAME,
10 pads (REGEXP_SUBSTR (COL1, ' [^, |] +' 1, 4)) LASTNAME,.
11 garnish (REGEXP_SUBSTR (COL1, ' [^, |] +' 1, 5)) JOBTITLE,.
12 pads (REGEXP_SUBSTR (COL1, ' [^, |] +', 1, 6)) HIRE_DATE,.
13 garnish (REGEXP_SUBSTR (COL1, ' [^, |] +' 1, 7)) location_id
14 * from (select replace (col1, ' |)) ',' | as col1 of t)
SQL > /.EMP_ID USERNAME FIRSTNAME LASTNAME, JOBTITLE HIRE_DATE LOCATION_I
---------- ---------- ---------- ---------- ---------- ---------- ----------
1 akash51 Akaksh C 22/11/14 15
2 akash52 Akaksh C Job 23/11/14 15 -
Hi everyone, yet once landed upward with a problem.
After trying many things to myself, finally decided to post here...
I created a form in form builder 6i in which clicking on a button, the data gets exported to the excel sheet.
It works very well with a single table. The problem now is that I cannot do the same with 2 tables.
Because the tables have the same number of columns and the columns names.
Here are the 2 tables with column names:
Table-1 (MONTHLY_PART_1) Table-2 (MONTHLY_PART_2) SL_NO SL_NO MODEL MODEL END_DATE END_DATE U-1 U-1 U-2 U-2 U-4 U-4 .......... ........ .......... ........ U-20 U-20 U-25 U-25 Given that the tables have the same column names, I get the following error :
402 error at line 103, column 4
required aliases in the SELECT list of the slider to avoid duplicate column names.
So how to export data to excel that has 2 tables with the same number of columns and the column names?
Should I paste the code? Should I publish this query in 'SQL and PL/SQL ' Forum?
Help me with this please.
Thank you.
Wait a second... is this a kind of House of partitioning? Shouldn't it is a union of two tables instead a join?
see you soon
-
How can we change the predator X 34 lights a different color?
How can we change the predator X 34 lights a different color?
I looked throguh the options and couldn't find it. It is still blue for me.
It's called "Ambient light" in menu 4. Allows you to change color, brightness, model behavior and sleep.
-
The monitor Panel is of 2 different colors
Hi, I just installed 10 PRE-Photoshop 10 and I opened my film project that I was working with PRE 9.
I noticed that sometimes, when it begins firstly I see a screen in the project with a foreign language is displayed then it disappears and my regular video shows but the video in the monitor Panel is of 2 different colors.
Divide into the orange middle of half the other green. I also see "Purple" and regular.
I use Win7 64 on a new pc, I've built:
ASUS Rampage 3 Extreme MOBO
Quad Core i7 950
12 GB of RAM of 1867 Mhz Dominator
2 ASUS EAH 5850 TOP / SAY in crossfire
4 TB WD Caviar Black hard drives
23 '' Samsung SyncMaster XL2320 monitors HD 2
I ran this system for about a year with no problems at all.
I also updated the video drivers etc, and the only place where the video is messed up is the monitor Panel.
Any ideas?
THX! Matt
Thanks for the ideas.
I checked this morning before work and the monitor Panel is still split on some video segments.
I will cancel the first crossfire configuration and hang individually monitors for video cards and see what happens with that. Then I'll try just on monitor hooked up but I doubt that's the issue. I also think to Quicktime settings/reinstall.
Will let you know everything that happens.
I hope you had a good action of grace!
-
Manipulation of table (delete the lines which are >; lines after them)
I have a table of entry I want to manipulate.
We measure a rotation device. In the measurement sequence we want to display the data on a slope that is constantly growing, although when we let off the coast of the acceleration of our mobile device at the end of the test, we end up with a higher torque #s at the beginning of the sequence of RPM... which blurs our line of slope on our chart.
For example, see the PNG attached on the table of torque/RPM torque. I need to be able to cut the 2 first lines of the table that we need go less and more general in the line of torque sequence. Throughout the test, we have a number of line 10 for example couple that is greater than the value of torque on line 11, so that we would need to cut the value of torque in line 10.
I have attached the vi sub that I plugged in order to try it, but can't make it work. I don't have to sort the table, but to remove the lines that exceed the lines after them... relatively to the value of rpm decreases constantly. If I have a pair of value 2340/1869 in the row 1 & 276/1839 in row 2, I need rank 1 deleted. But if I have a pair of value of 2509/1704 in row 12 & a pair value of 2493/1689 in the 13th row, I don't want to let the value of torque in (if possible) because it is a realistic appearance of the torque curve captured during the sweep of the power of the test.
Any ideas?
ready!
-
Hide disclose rows of trees ADF icon form according to the line
Hello
I have a tree of the ADF based recursive View object. So basically, we don't know how many levels tree is there, but according to a line, we know that the line is a sheet and there will be no lines children.
But the icon to disclose is event if we know certainly that it is currently useless.
So is it possible to hide the icon to disclose rank tree (treetable) ADF according to line?
Thank you.
ADF 11R2See if that helps - ADF TreeTable - how to hide/Expand disclosure for leaf icon
-
Need help in the design of the structure of the table with the lines of the query
Hello
Need to design a page
ex:
Select empno, emp wage; is my query and returns two columns and four rows
the four rows should be my values in the structure of the table.
EmpNo - salary
---------------------
1 - 1000
-----------------------
2 - 2000
------------------------
3 - 3000
----------------------
4 - 4000
Kind regards
KrishnaHello
One of the ways is to create 2 RowLayouts dynamically like this
Row1-> Cell1--> HeaderRegion--> StaticStyleText (EMPNO attribute)
Row2-> Cell1--> StaticStyleText (EMPNO attribute) Cell2--> StaticStyleText (SALARYattribute)and iterate this code for all the lines of the vo.
Kind regards
Mukesh Uchaniya -
About concatation, all the lines in a column
Dear friends,
I have to concatinate all lines as a column based on a whim of the key column.
col1 col2 COL3 COL4 col5 4 81 TC_View 4 TC_View_A 3 81 TC_View 3 TC_View_B 2 81 TC_View 2 TC_View_C 1 81 TC_View 1 TC_View_D I need output like below col2 col5 81 TC_View_A, TC_View_B, TC_View_C, TC_View_D I appreciate your help in this regard.
Thank you
Ravi
Hi Ravi,
That's exactly what the aggregate LISTAGG function:
SELECT col2
, LISTAGG (col5, ' / ') WITHIN GROUP (ORDER BY col5) AS all_col5s
FROM table_x
GROUP BY col2
ORDER BY col2
;
If you would care to post CREATE TABLE and INSERT statements for your sample data, and then I could test this.
-
How to move a table (with the UDT as a column) to a different schema
I have a table that has a column of user-defined type. There is a requirement to an another schema of this table as well as the UDT. I tried to create the table as, the problem is that it uses the DFU of the original schema. Is there a way to do this?
Ex:
User 1:
CREATE TYPE employee_t AS OBJECT
(employee_id NUMBER
, employee_name VARCHAR2 (30)
Number of salary
dept_id NUMBER);
Department of CREATE TABLE
(emp employee_t
, Bishop varchar2 (40)
number of dept_id
(, dept_name varchar2 (30));
In the example above, department table has a column called emp that is UDT.
Now on User2, if I do the following
Create service table in select * from user1.department. Table will be created as follows. In fact I want EMPLOYEE_T also to be moved to User2.
Name Null? Type
----------------------------------------- -------- ----------------------------
EMP USER1. EMPLOYEE_T
BISHOP VARCHAR2 (40)
NUMBER OF DEPT_ID
DEPT_NAME VARCHAR2 (30)
You can use expdp and impdp - but you must include the type explicitly in your dump command, since it isn't included automatically: http://dbaharrison.blogspot.de/2013/05/expdp-of-just-table-and-type-dependents.html.
-
How to: need to take the line and be able to add color to the areas
I have a bit of drawing that I've vectorized it in outline, I wish I could add coloring to drawings is simple steps where I would theoretically add a color box and some how cookie cut the color on the lines, I can get as much as it is some areas but not in others, I know I'm doing something wrong , can someone help me,
as in a coloring book, you have the outlines then each area can be colored
LITTLE,
Try this:
1. Select > all.
2 copy.
3 group. (Just to group your line drawings, so you can select it later.)
3 paste in front.
4 pathfinder Palette: click the icon of the divide more (left, bottom row).
5 Color Palette: click on a color, as applying to a fill. (The fill icon background/contour part must be at the front.
6 object > arrange > SendToBack.
7 separate.
You should now have an object filled for each region Visual envelope of your work at the chain, under the Assembly-line work in the stacking order. You can re - color filled areas by selecting and changing their fill colors.
If all areas has not created you can fill a closed path, there is a gap between some lines around this region. You must ensure that all the areas you want to color are less than completely surrounded by paths. In other words, to the method above works, paths that define a region coloring must at least touch each other. (Best to make them pass as either little - although it has less than the weight of the race.
A similar method:
1 Select all.
2 copy.
3 group.
4 paste in front.
5. set the features to round the ends.
6 object > path > describe the path.
7. pathfinder palette: AltClick the button Add to the area (at the far left, senior) form.
8 object > CompoundPath > Release.
9 choose a colourful filling, none related.
You should now have a closed path setting inside each visually closed region and a single path describing everything. Delete the latter.
This method uses the rounded tips to help fill the paths. OutlinePath step converts the paths of the filled shapes, including round earmolds, which hopefully will overlap. Unions of operation Pathfinder those overlapping paths within a single compound path, removing duplication. Releasing the compound path leaves you with the individual subpaths, which correspond to the inside edges of the surrounding features visually closed regions.
JET
-
ADF table change the value of a column rest after executeQuery
Referring to the instance, which is to correct the cause and especially implemented to solve this problem-
I'll have a search form and the basis of the table of results based on entity vo. The table of results is in mode editall. If I change the value in the inputtext for a line and I click on search again, I expect the value modified to reset. The text component is not autosubmit.
If I put resetactionlistener in the search button, it works, but it resets then some other components which I don't want. This makes me think under analysis is tris -.
'But chooses to render using the value sent instead of the value of the database '.
What is the correct implementation to handle this?
Stamped UI components (such as af:table) have resetStampState() method.
Then you can try something like:
table.resetStampState ();
AdfFacesContext.getCurrentInstance () .addPartialTarget (table);
Dario
-
Link to the lines using other columns in the same line
Link to all rows based on values:
All - I have a requirement like this:
My Table has 2 columns - Col1, Col2
Select * from tab1;
Col1, Col2
A1 C1
A1 C2
A2 C2
C3 A2
C3 A3
C4 A4
A5 C2
Now, I have to create a link like this (in the example above, A1, A2, A3, and A5 are related because Col2 -
A1 is related to the C1 and C2 - A2 is related to A1 because they have all both C2 and thus related to A1 - A3 is associated with A2 because of the C3 (and therefore associated with A1) and A5 is linked to A2 because of the C2 (so A1 and A3)
A4 is not related to what it is and so independent
L1 A1
L1 A2
L1 A3
L1 A5
L2 A4
How can I do it using the function analytical or any other way - I reached the same using sliders-, but it takes too long and messy. Any help would be appreciated.
Thank you
RAM
Hello
If I understand your problem, a line with col1 = x and a line with col1 = get will assign the same linklevel if one
- There is a line with x = col1 and col2 = x and another line with col1 = 'AY' and col2 = z, or
- There is a line with col1 = x and col2 = z and another line that has col2 = z and the same linklevel there.
It is a recursive relationship. Here's a way to do it in pure SQL:
WITH got_relative AS
(
SELECT col1
CONNECT_BY_ROOT col1 AS relative
OF testdata
CONNECT BY NOCYCLE (col1 = col1 PRIOR
AND col2 <> col2 PRIOR
)
OR (col1 <> col1 PREREQUISITE)
AND col2 = col2 PRIOR
)
)
SELECT 'L ' | DENSE_RANK () OVER (ORDER OF MIN (relative)) AS linklevel
col1
OF got_relative
GROUP BY col1
ORDER BY col1
;
But pure SQL is not the most effective way to solce this problems. You might be better off with a solution of PL/SQL.
-
Hello
How to add a control (digital button, boolean) dynamically in control instead of lines and columns selected. Please suggest the idea or no matter what example code you have please share with me...
Thank you
Vieu
Essentially, that's what you're looking for:
Please note that you have to account border sizes and the label of the control so that the code does not work right out of the box. You should also check for the height and width of column and if the position is valid at all before moving around the control.
Norbert
-
Creating table in the model with 80 columns
Hello
I am trying to create a model to display 80 columns, but in Word format, I get the message "you cannot create a table with more than 63 columns.
Can how I put the 80 columns in the Template.rtf?
Env: Suite Oracle E business 12
Output required: Excel
Thanks in advance.It's the MSword limitation and no BEEP, but indirectly there is a limitation of the BEEP ;)
MSWord supports only maximum of 63 columns.
As MS Word supports only the width of page maximum of 22 inches wide and 22 inches high.Option 1:
Create a table with two columns
Insert a table with 63 columns in the first cell,
Insert a table with 63 columns in the second cell,
How we can get rid of limitations columns.Option 2:
If you want to use more than 63, then you use templates other than RTF. I recommend XSL.
Maybe you are looking for
-
Satellite L50-B05D - Windows 7 support and drivers
Hi all Has anyone lowered successfully a L50-B05D Satellite to Windows 7 drivers and everything? I took a look at the website of Toshi at THE and the only drivers for windows 7 for the battery bluetooth. After talking with Toshiba support, they said
-
Last night when I used google chrome then suddenly Dump, crash windown appears to be suddenly restarted got laptop... And showing Stop: 0 x 00000116 error and atikmpag.sys address 4f162e49... SO what I can do... & my laptop is normally open in safe m
-
WINDOWS XP3 unavailable to replace WGAN said imitations.
It seems that MS have abandoned the manufacture of XP3, told by one of their local/regional office. They have no stocks. But the software is awailable with dealers / stores sharpened. What guarantee we have when we buy them, or, history is repeating
-
After an update of Norton Utilities, Windows launch
This morning, I started my HP Pavilion a6600f, and it started normally, running in Vista. Then, I received a notice of Norton that I needed an update, something that happens regularly. He downloaded the updates, and then asked that I restart the co
-
Want: Solid State Drive for HP Envy 17.3
Hello I'm looking for more information on the SATA - 3 Solid State Drive TLC m2. I would like to install an SSD as boot in my HP ENVY 17.3 (screen) drive; Intel i7 with 16 GB of RAM. Thank you