Impossible to use two af:tables with different colors (skins)?
Im trying to configure the Siebel self-service application and customize the counting. I have a few problems, because I need to show two af:tables on the same page, but with different colors. One with black background and white text (header and body) and the other with white background and black text. I tried to use styleClass: are, but the css settings defined for the table of the af are the substitution of those mentioned in the style sheets.Anyone with an idea how to solve this problem?
Thank you
/ Jon-Erik
Hello
If the styleClass name is table1 then the skin selector would be something like
.Table1 af | table
mul afTable.af: table
I don't see how this can be overloaded. If you hypothesis is that the style class reference must be to a definition of CSS on the page, then indeed, it does not. The styleClass name is an identifier of type named for the skin component and is used to describe more the component skin
Frank
Tags: Java
Similar Questions
-
Use two temporary tables to assign 'color' to the results of the data
Hello world... Here's what I'm trying to do, any help is appreciated of course...
Data and Tables in the example:
I have 5 dishes, each course has 2 assignments.
I need each assignment to get a color assigned to it according to its courseID. So my theory is that I have a temporary table with a list of colors; each courseID would be are they assigned a color, but my question is how can I assign each courseID a color without anything to join the temporary table? Once that each courseID has a color, I would join rights holders so that each assignment has a color associated with it according to its courseID.with Courses as ( select 100 courseID from dual union all select 200 from dual union all select 300 from dual union all select 400 from dual union all select 500 from dual ), Assigns as ( select 'test100' name, 100 courseID from dual union all select 'test100', 100 from dual union all select 'test200', 200 from dual union all select 'test200', 200 from dual union all select 'test300', 300 from dual union all select 'test300', 300 from dual union all select 'test400', 400 from dual union all select 'test400', 400 from dual union all select 'test500', 500 from dual union all select 'test500', 500 from dual ) select assigns.name, assigns.courseID from courses inner join assigns on assigns.courseID = courses.courseID
I have a previous post on this topic, but I didn't do well explain and make a link to it would probably add to the confusion to this question... happy to delete this post if someone recommends.--Color table with 6 colors with Colors as ( select 'red' color from dual union all select 'blue' from dual union all select 'yellow' from dual union all select 'green' from dual union all select 'purple' from dual union all select 'teal' from dual )
Thanks for any help! Running Oracle 11 g.Hello
939920 wrote:
I don't have the ability to store the courseID with colors...Can get it, or ask someone with the makeup of capacity change for you.
Is the problem that you have more than 6 courses but you want to add color to them with only 6 colors, and it is unclear what courses can be included in the results of a given query?
If so, you can do somehting like this:WITH colors AS ( SELECT 'red' AS color_name FROM dual UNION ALL SELECT 'blue' FROM dual UNION ALL SELECT 'yellow' FROM dual UNION ALL SELECT 'green' FROM dual UNION ALL SELECT 'purple' FROM dual UNION ALL SELECT 'teal' FROM dual ) , colors_plus AS ( SELECT color_name , ROW_NUMBER () OVER (ORDER BY NULL) - 1 AS color_id , COUNT (*) OVER () AS color_cnt FROM colors ) , course_assigns AS ( SELECT a.name , a.courseid , DENSE_RANK () OVER (ORDER BY a.courseid) AS course_num FROM assigns a INNER JOIN courses c ON a.courseid = c.courseid -- If needed ) SELECT ca.name , ca.courseid , cp.color_name FROM course_assigns ca JOIN colors_plus cp ON cp.color_id = MOD ( ca.course_num , cp.color_cnt ) ;
Typical power:
AME COURSEID COLOR_ ------- ---------- ------ test100 100 blue test100 100 blue test200 200 yellow test200 200 yellow test300 300 green test300 300 green test400 400 purple test400 400 purple test500 500 teal test500 500 teal
It would be better if you could create a real table as colors_plus.
If there are more than 6 separate courses in the output, then 2 or more courses can be coded in the same color, but no color will be used N times (N > 1) until all the colors have been used N-1 times.
The assignment of courses coolors is arbitrary. Depending on how fancy you want to do this, you might want to do something more complicated. For example, you have 2 course with 10 lines of each and 5-course dinner with 1 row of each. The query above will have to assign the same color to 2 courses of differenct, and it can assign the color "blue" for 2 courses with 10 rows of each. The query above can be modified, if necessary, assign the colors in order of frequency, in order to ensure that two 10-line courses get different colors, and that the colors tend to be more evenly distributed. I'll leave that as an exercise. (Tip: use the frequency in the clause ORDER BY of DENSE_RANK.) To obtain the frequency, use the COUNT function analytical in a subquery. Why do you need a subquery? Discuss among you). -
Hello
I have a loop 'for' which can take different number of iterations according to the number of measures that the user wants to do.
Inside this loop, I'm auto-indexation four different 1 d arrays. This means that the size of the tables will be different in the different phases of the execution of the program (the size will equal the number of measures).
My question is: the auto-indexation of the tables with different sizes will affect the performance of the program? I think it slows down my Vi...
Thank you very much.
My first thought is that the compiler to the LabVIEW actually removes the Matlab node because the outputs are not used. Once you son upward, LabVIEW must then call Matlab and wait for it to run. I know from experience, the call of Matlab to run the script is SLOW. I also recommend to do the math in native LabVIEW.
-
How to use two external monitors with my laptop?
I have a new Pavilion dm4-301 d cl Entertainment PC. My OS is Windows 7. I'm used to using two external monitors with a docking station. This new laptop lacks a docking station. What should I do use two external monitors?
Certainly not without a dock, but even with laptop HP well enough docks limit you to one of the ports on the external monitor, even if there are two on the dock. We used a device called an Atlona AT-HDPIX2 which is a USB to hdmi adapter. It provides a feature of third monitor for a laptop... use the native external port of the screen and the computer screen internal, then this device gives a third control that is fully configurable to display Windows 7 interface... clone, extend, etc.. It allows a full HD resolution and is pretty responsive for games even light. HP does not have any true docking station for your laptop.
-
Interactive report - with different colors column header
Hi all
I use the Application Express 4.0.2.00.07.
Theme: 2 blue Builder
I have the zoom before interactive reports in a page, in do I have to display each header of reports with different colors instead of having the same blue color given by theme for all reports.
Also I need this color change of header for this page only, not for the entire application.
can someone offer me please how to do this?
Thank you for your help in advance.
Kind regards
Santini.
Add a static region ID in each region report and include a stylesheet like the following in the HTML Header page:
When the report 1, report 2, etc. are the static region ID.
-
Why you do not have your products with different colors? compatible with the colors of the iPhone or the iPad? Example: Gold Earpods, silver, BLACK and Rose Gold.
You say Apple your wishes on the link below.
-
Graph XY overlay multi field with different colors
Hello
I want to make a cyclic XY one track loop and plot the graph for each cycle in different colors.
I want a field like XYgraph2 but with different colors and probably even without this line of tracing. How can I change my schema?
Thank you for your time and your efforts.
KOUYATÉ
Try this.
-
Desktop goes down with different COLOR SCREEN ERROR, PATTERNS of ERRORS
My office always crashes (with different colors) at any time, it starts the stop then cut again, but still fact once again, and I also see a grounds checkerboards at the peak of the computer, videos and games, correct computer! TNX.
My office is still blocking (with different colors) at any time, it starts the computer to stop then cut again, but don't always work again, and I also see a checkered patterns at the peak of the computer, videos and games , correct! TNX.
Hello
It is normally a sign of corrupt graphics drivers or graphics hardware fault.
You should go to the website of your computer or the manufacturer of the graphics card > Search a drivers and download article > search your computer or your graphics card model number > your operating system > drivers for it: either video / graphic / Chipset (according to the wording it) > download and install the drivers.
If that fixed it, it seems to me be a problem of graphic material.
As it is a desktop, either Exchange your graphics card with a good.
Or, if graphics card built-in, you will need to install a graphics card in a slot of the motherboard to see if this solves the problem.
See you soon.
-
Two tables with different values of basic on an analysis filter
Hi guys,.
Let assume that I have an analysis with columns: group_id and sales.
On this basis I would like to create two tables: table1 where group_id = 1 and table2 where group_id = 2.
OBIEE is able to do?
Kind regards
SlaviHi Slavi,
You can do it in a single analysis, but you have to have the column with group_id twice.
Bring, group_id_1, group_id_2 (same column), sale
Now in table 1.
bring group_id_1, sales
Then in the selection steps for group_id_1-> select members-> Action choose keep only-> choose the value of the filter 1
This will filter the table 1 with group_id 1
In table2 group_id_2 porter, sales
Then do the same step for group_id_2 with the value 2.
You now have two reports with different filter in the same report.
If you want you can keep the same name column for the two columns group_id, I just kept group_id_1, group_id_2 for easy reference.
-
Using two 2 monitors with Windows 7
I try to use 2 monitors with windows 7 for my wife can work at home connected to the workstation via the vpn. We are able to use two screens while workinig offline (for example. Able to drag and use programs from one screen to another). However when it is connected to his work station we are not able to drag and use both programs on different screens.
On Fri, 24 Sep 2010 12:53:35 + 0000, Safert39 wrote:> I try to use 2 monitors with windows 7 for my wife can work at home connected to the workstation via the vpn. We are able to use two screens while workinig offline (for example. Able to drag and use programs from one screen to another). However when it is connected to his work station we are not able to drag and use both programs on different screens.Right. If I understand what you're saying, you cannot do it.--Ken BlakeKen Blake (MS-MVP)
-
not impossible to use my 3 shots with a unique ID.
I bought 2 CC license and after buying an individual plan for Photoshop. I want to use in 3 diferent computers and now I can't. Why? I use a unique ID
Hello
Each plan must be associated with different Adobe ID if its for the same product on the other it creates conflicts with the activation.
Please contact customer service for questions.
Kind regards
Sheena
-
bug using dbms_redefinition on table with the altered text index?
I think I can found a bug when you use DBMS_REDEFINITION on a table with a text index that has been modified using ALTER INDEX index-name REBUILD PARAMETERS (REPLACE...). It seems that DBMS_REDEFINITION does not recognize the syntax with REPLACE and redefining fails. However, if I remove the text index and re-create it with all the parameters set during the initial creation and no ALTER INDEX command, then redo the redefinition, it works correctly. I have provided below a script that reproduces the problem, then use workaround mentioned. I have provided a copy of the script and executing the script separately, so that it can be copied and pasted to reproduce the problem. It is a simplification of a problem which has emerged over the diagnosis of a larger problem presented by someone on another forum, where the objective was to perform a loop on a group of tables that meet certain criteria and change some columns varchar2, nvarchar2 columns of these tables, where there are indexes in full text on the other columns in the tables and indexes have been changed using the syntax above. This seems to be a bug or am I missing something or is at - it an easier solution for the redefinition?
-version:
-run the script:SCOTT@orcl_11gR2> select * from v$version; BANNER -------------------------------------------------------------------------------- Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production PL/SQL Release 11.2.0.1.0 - Production CORE 11.2.0.1.0 Production TNS for 64-bit Windows: Version 11.2.0.1.0 - Production NLSRTL Version 11.2.0.1.0 - Production 5 rows selected. SCOTT@orcl_11gR2>
-script:SCOTT@orcl_11gR2> -- table, data, altered text index: SCOTT@orcl_11gR2> CREATE TABLE t_test 2 (col1 NUMBER PRIMARY KEY, 3 col2 VARCHAR2 (10), 4 col3 CLOB) 5 / Table created. SCOTT@orcl_11gR2> INSERT INTO t_test VALUES (1, 'A', 'test data') 2 / 1 row created. SCOTT@orcl_11gR2> CREATE INDEX i1 ON t_test (col3) INDEXTYPE IS CTXSYS.CONTEXT 2 / Index created. SCOTT@orcl_11gR2> ALTER INDEX i1 REBUILD PARAMETERS ('REPLACE SYNC (ON COMMIT)') 2 / Index altered. SCOTT@orcl_11gR2> SELECT * FROM t_test WHERE CONTAINS (col3, 'test data') > 0 2 / COL1 COL2 COL3 ---------- ---------- ---------- 1 A test data 1 row selected. SCOTT@orcl_11gR2> -- redefinition that fails: SCOTT@orcl_11gR2> CREATE TABLE t_test_interim 2 (col1 NUMBER, 3 col2 NVARCHAR2 (10), 4 col3 CLOB) 5 / Table created. SCOTT@orcl_11gR2> DECLARE 2 v_num_errors NUMBER; 3 BEGIN 4 DBMS_REDEFINITION.CAN_REDEF_TABLE 5 (USER, 'T_TEST', DBMS_REDEFINITION.CONS_USE_PK); 6 DBMS_REDEFINITION.START_REDEF_TABLE 7 (USER, 'T_TEST', 'T_TEST_INTERIM', 8 'COL1 COL1,TO_NCHAR(COL2) COL2,COL3 COL3', 9 DBMS_REDEFINITION.CONS_USE_PK); 10 DBMS_REDEFINITION.SYNC_INTERIM_TABLE 11 (USER, 'T_TEST', 'T_TEST_INTERIM'); 12 DBMS_REDEFINITION.COPY_TABLE_DEPENDENTS 13 (USER, 'T_TEST', 'T_TEST_INTERIM', 14 DBMS_REDEFINITION.CONS_ORIG_PARAMS, 15 TRUE, TRUE, TRUE, FALSE, v_num_errors, TRUE); 16 DBMS_REDEFINITION.FINISH_REDEF_TABLE 17 (USER, 'T_TEST', 'T_TEST_INTERIM'); 18 END; 19 / DECLARE * ERROR at line 1: ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine ORA-20000: Oracle Text error: DRG-11000: invalid keyword REPLACE ORA-06512: at "SYS.DBMS_REDEFINITION", line 1364 ORA-06512: at "SYS.DBMS_REDEFINITION", line 2025 ORA-06512: at line 12 SCOTT@orcl_11gR2> -- clean up the mess: SCOTT@orcl_11gR2> DROP MATERIALIZED VIEW t_test_interim 2 / Materialized view dropped. SCOTT@orcl_11gR2> DROP TABLE t_test_interim CASCADE CONSTRAINTS 2 / Table dropped. SCOTT@orcl_11gR2> BEGIN 2 DBMS_REDEFINITION.ABORT_REDEF_TABLE 3 (USER, 'T_TEST', 'T_TEST_INTERIM'); 4 END; 5 / PL/SQL procedure successfully completed. SCOTT@orcl_11gR2> -- drop and recreate index with all parameters without altering: SCOTT@orcl_11gR2> DROP INDEX I1 2 / Index dropped. SCOTT@orcl_11gR2> CREATE INDEX I1 ON T_TEST (COL3) INDEXTYPE IS CTXSYS.CONTEXT 2 PARAMETERS ('SYNC (ON COMMIT)') 3 / Index created. SCOTT@orcl_11gR2> -- redo redefinition: SCOTT@orcl_11gR2> CREATE TABLE t_test_interim 2 (col1 NUMBER, 3 col2 NVARCHAR2 (10), 4 col3 CLOB) 5 / Table created. SCOTT@orcl_11gR2> DECLARE 2 v_num_errors NUMBER; 3 BEGIN 4 DBMS_REDEFINITION.CAN_REDEF_TABLE 5 (USER, 'T_TEST', DBMS_REDEFINITION.CONS_USE_PK); 6 DBMS_REDEFINITION.START_REDEF_TABLE 7 (USER, 'T_TEST', 'T_TEST_INTERIM', 8 'COL1 COL1,TO_NCHAR(COL2) COL2,COL3 COL3', 9 DBMS_REDEFINITION.CONS_USE_PK); 10 DBMS_REDEFINITION.SYNC_INTERIM_TABLE 11 (USER, 'T_TEST', 'T_TEST_INTERIM'); 12 DBMS_REDEFINITION.COPY_TABLE_DEPENDENTS 13 (USER, 'T_TEST', 'T_TEST_INTERIM', 14 DBMS_REDEFINITION.CONS_ORIG_PARAMS, 15 TRUE, TRUE, TRUE, FALSE, v_num_errors, TRUE); 16 DBMS_REDEFINITION.FINISH_REDEF_TABLE 17 (USER, 'T_TEST', 'T_TEST_INTERIM'); 18 END; 19 / PL/SQL procedure successfully completed. SCOTT@orcl_11gR2> DROP TABLE t_test_interim CASCADE CONSTRAINTS 2 / Table dropped. SCOTT@orcl_11gR2> -- results: SCOTT@orcl_11gR2> DESC t_test Name Null? Type ----------------------------------------- -------- ---------------------------- COL1 NUMBER COL2 NVARCHAR2(10) COL3 CLOB SCOTT@orcl_11gR2> COLUMN col3 FORMAT A10 SCOTT@orcl_11gR2> SELECT * FROM t_test WHERE CONTAINS (col3, 'test data') > 0 2 / COL1 COL2 COL3 ---------- ---------- ---------- 1 A test data 1 row selected. SCOTT@orcl_11gR2> -- clean-up: SCOTT@orcl_11gR2> DROP TABLE t_test 2 / Table dropped. SCOTT@orcl_11gR2>
-- table, data, altered text index: CREATE TABLE t_test (col1 NUMBER PRIMARY KEY, col2 VARCHAR2 (10), col3 CLOB) / INSERT INTO t_test VALUES (1, 'A', 'test data') / CREATE INDEX i1 ON t_test (col3) INDEXTYPE IS CTXSYS.CONTEXT / ALTER INDEX i1 REBUILD PARAMETERS ('REPLACE SYNC (ON COMMIT)') / SELECT * FROM t_test WHERE CONTAINS (col3, 'test data') > 0 / -- redefinition that fails: CREATE TABLE t_test_interim (col1 NUMBER, col2 NVARCHAR2 (10), col3 CLOB) / DECLARE v_num_errors NUMBER; BEGIN DBMS_REDEFINITION.CAN_REDEF_TABLE (USER, 'T_TEST', DBMS_REDEFINITION.CONS_USE_PK); DBMS_REDEFINITION.START_REDEF_TABLE (USER, 'T_TEST', 'T_TEST_INTERIM', 'COL1 COL1,TO_NCHAR(COL2) COL2,COL3 COL3', DBMS_REDEFINITION.CONS_USE_PK); DBMS_REDEFINITION.SYNC_INTERIM_TABLE (USER, 'T_TEST', 'T_TEST_INTERIM'); DBMS_REDEFINITION.COPY_TABLE_DEPENDENTS (USER, 'T_TEST', 'T_TEST_INTERIM', DBMS_REDEFINITION.CONS_ORIG_PARAMS, TRUE, TRUE, TRUE, FALSE, v_num_errors, TRUE); DBMS_REDEFINITION.FINISH_REDEF_TABLE (USER, 'T_TEST', 'T_TEST_INTERIM'); END; / -- clean up the mess: DROP MATERIALIZED VIEW t_test_interim / DROP TABLE t_test_interim CASCADE CONSTRAINTS / BEGIN DBMS_REDEFINITION.ABORT_REDEF_TABLE (USER, 'T_TEST', 'T_TEST_INTERIM'); END; / -- drop and recreate index with all parameters without altering: DROP INDEX I1 / CREATE INDEX I1 ON T_TEST (COL3) INDEXTYPE IS CTXSYS.CONTEXT PARAMETERS ('SYNC (ON COMMIT)') / -- redo redefinition: CREATE TABLE t_test_interim (col1 NUMBER, col2 NVARCHAR2 (10), col3 CLOB) / DECLARE v_num_errors NUMBER; BEGIN DBMS_REDEFINITION.CAN_REDEF_TABLE (USER, 'T_TEST', DBMS_REDEFINITION.CONS_USE_PK); DBMS_REDEFINITION.START_REDEF_TABLE (USER, 'T_TEST', 'T_TEST_INTERIM', 'COL1 COL1,TO_NCHAR(COL2) COL2,COL3 COL3', DBMS_REDEFINITION.CONS_USE_PK); DBMS_REDEFINITION.SYNC_INTERIM_TABLE (USER, 'T_TEST', 'T_TEST_INTERIM'); DBMS_REDEFINITION.COPY_TABLE_DEPENDENTS (USER, 'T_TEST', 'T_TEST_INTERIM', DBMS_REDEFINITION.CONS_ORIG_PARAMS, TRUE, TRUE, TRUE, FALSE, v_num_errors, TRUE); DBMS_REDEFINITION.FINISH_REDEF_TABLE (USER, 'T_TEST', 'T_TEST_INTERIM'); END; / DROP TABLE t_test_interim CASCADE CONSTRAINTS / -- results: DESC t_test COLUMN col3 FORMAT A10 SELECT * FROM t_test WHERE CONTAINS (col3, 'test data') > 0 / -- clean-up: DROP TABLE t_test /
No real workaround DBMS_REDEFINITION uses function DBMS_METADATA. GET_DDL() and a string of invalid parameter is returned due to known bugs when you use the ALTER INDEX REBUILD with parameter REPLACE; try to avoid changing the index with REPLACE if you export or use DBMS_REDEFINITION for this table/index.
Note to change the text index metadata, to change the existing class preference, you can use the REPLACE METADATA, IE
ALTER INDEX i1 REBUILD PARAMETERS ("replace metadata sync (on commit)" ");
Will not rebuild the index so that your DOF is to rebuild the index
ALTER INDEX i1 REBUILD PARAMETERS ('REPLACE SYNC (ON COMMIT)")
-
HP-S5-1414: use two onboard video with add on video PCIe at the same time
I have a HP S5-1414 (HP Pavilion Slimline). It has 2 DVI connectors on board and a PCIe x 16 slot with a Gigabyte R9 270 X Video card. With a lot of motherboards with onboard video you can now launch the edge and a discrete video card simultaneously. I tried to do this on this system without success. The question is this. Is there a way use Board on board with separate video, at the same time?
Jim Hutto
I do not work for HP.
I am a computer technician and a passion for computing with more than 32 years of computer repair and networking experienceHello
Space cleary wrote:
Integrated Intel Graphics Media Accelerator HD graphics* Built-in video is not available if you have installed a graphics card or an Intel processor ending with 'P'. -
Can I use two external monitors with Satellite P105?
I wonder if it is possible to connect two external monitors P105-S9722 model using the DVI and VGA ports at the same time?
Hello cozdas
It is very interesting question but unfortunately I don't l t figured out how you use two monitors. Can you please be a little more specific?
I am also interested in how you are connected the two monitors on your laptop?
-
Interpolation of shape with different colors of lines
Hello, I just created a simple shape tween, and I am very satisfied with the appearance of the interpolation. However, the borders of the shape are two different colors. On the first and last frame of the tween, the colors are correct, however in the frames between, all lines are the same color, which in fact stand out from the rest of the form. Is there a way to stop flash to change the colors of the Tween? It has been designed using the online tool.
put the border, then fill in the different layers. convert each symbol if you want to use interpolations of movement on each or if you don't want to interpolate the border, you should not convert.
Maybe you are looking for
-
What shortcut keys to switch between tabs, as in previous FF pay?
In older versions of Firefox, I could pass the current and previous tab tab (not before) with the shortcut Ctrl-Tab.I can't find a shortcut for it in Version 34. Tab utilities addon is no help, either, when activated.
-
Satellite on L9W Mini - B - can not press multiple keys at the same time
Hello I'm here to inform a huge problem with the keyboard.To play some games like Minecraft you will have to press certain keys (WASD to walk and jspace jump), but the keyboard automatically release all keys when a key is released. Only the special k
-
BlackBerry App Blackberry 10 OS cannot run the most popular android app of China (PRC)
I know that the Blackberry 10 operating system does not guarantee compatibility with all android applications. But I think that your company will be interested in solving this problem. This is because the program has 1 billion users. (It's the Chines
-
AutoComplete solution or hint for TextArea
Does anyone have an idea on how to implement a type of seizure intellisense/auto-complete indicators type of code for a TextArea component?
-
BlackBerry Z30 download Z30 pictures on computer
How can you download pictures (all - not 1 by 1) to Z30 of computer?