Need to display color on top of the region of the table.

Hi all

In my page, there are 3 table, just on the side of the region of table need to display green space (header) for each table.
is it possible to display colors in the OPS?

Please help me on this.

Robet

Code:

OARowLayoutBean RowLayoutRN1 = (OARowLayoutBean) webBean.findChildRecursive ("RowLayoutRN1") ;---Id

CSSStyle oraaniltext = new CSSStyle();
oraaniltext.setProperty ("color", "#000000");
oraaniltext.setProperty ("background-color", "#ADA96E");

RowLayoutRN1.setInlineStyle (oraaniltext);

-Use the same code and let me know... :))

Concerning
Meher Irk

Tags: Oracle Applications

Similar Questions

  • I need to display tomorrow's date in the format ' yyyy/mm/dd' in Captivate 8.

    I need to display tomorrow's date in the format ' yyyy/mm/dd' in Captivate 8.

    I understand that I must build a tip for this Action. Has someone done something similar and can post a screenshot of the completed tip Action?

    Thanks in advance!

    I think that means Lieve this article:

    http://www.Infosemantics.com.au/Adobe-Captivate/template/02-dynamic-date-functions

  • Need to create a new line in the table with the same data as the primary key, but new PK

    Hello gurus,

    I have a table with a column as a primary key, I need to create a new row in the table, but with the same data in one of the lines, but with different primary keys, focus a double row with key primary diferent...

    Any ideas of how it can be done without much complication?

    Thanks in advance for your answer.

    Agress,
    Karim idrissi

    user9970447 wrote:
    Hello gurus,

    I have a table with a column as a primary key, I need to create a new row in the table, but with the same data in one of the lines, but with different primary keys, focus a double row with key primary diferent...

    Any ideas of how it can be done without much complication?

    Thanks in advance for your answer.

    Agress,
    Karim idrissi

    something like

    insert into mytable values ('literal for new pk',
                                           select non-pk-1,
                                                    non-pk-2,
                                                    non-pk-n
                                           from mytable
                                           where pk-col = 'literal for existing pk')
    
  • Open an Image in Photoshop puts a pink color on top of the Image.

    I work with the CC 2015 version of Photoshop. When I start a new image in Photoshop, everything is fine. When I open an image in Photoshop, it puts this pink color on top of images. I have a black and white image for example, and it opens in Photoshop causes the white part turn pink. Similarly just regular color images get a pink above them, as if I put a pink colored filter on top of the image. I scoured around and I can't seem to find an answer to the problem I have. Any help would be appreciated. I would like to mention that all open images mode is RGB.

    Looks like the problem fixed itself. I left on Photoshop and then re - open the photos everything was just peachy. In this case, even once, that I will remember to take a screenshot of it. I honestly don't know what could have caused this is the first place to be completely honest.

  • Question how to freeze the top of the table line

    I try to freeze the top of a table row, so when you scroll the top line is fixed.

    I tried to use a CSS Style sheet and the link to the table. I can get the top row to freeze but the columns align not when you scroll the page.

    Thanks if anyone can help. It is my coding...

    < id of the table = "name of width ="1135"border ="2"align ="center"cellspacing ="2">"

    < thead style = "" >

    < b >

    < th = width "306" bgcolor = "#B7383A" style = "color: rgba (247,238,238,1)" > < h3 > < style strong = "color: rgba (248,240,241,1)" > < facilities > data < / h3 > < /th >

    < th = width "62" bgcolor = "#B7383A" style = "color: rgba (247,238,238,1)" > < AA h3 > < / h3 > < /th >

    < th = width "76" bgcolor = "#B7383A" style = "color: rgba (247,238,238,1)" > < SSAA h3 > < / h3 > < /th >

    < width th = "111" bgcolor = "#B7383A" style = "color: rgba (247,238,238,1)" > < strong data > < / strong > < /th >

    < width th = "111" bgcolor = "#B7383A" style = "color: rgba (247,238,238,1)" > < data h3 > < / h3 > < /th >

    < width th = "63" bgcolor = "#B7383A" style = "color: rgba (247,238,238,1)" > < data h3 > < / h3 > < /th >

    < width th = "44" bgcolor = "#B7383A" style = "color: rgba (247,238,238,1)" > < data h3 > < / h3 > < /th >

    < width th = "43" bgcolor = "#B7383A" style = "color: rgba (247,238,238,1)" > < EC h3 > < / h3 > < /th >

    < th = width "60" bgcolor = "#B7383A" style = "color: rgba (247,238,238,1)" > < h3 > < strong data > < / strong > < / h3 > < /th >

    < th = width "37" bgcolor = "#B7383A" style = "color: rgba (247,238,238,1)" > < data h3 > < / h3 > < /th >

    < th = width "60" bgcolor = "#B7383A" style = "color: rgba (247,238,238,1)" > < data h3 > < / h3 > < /th >

    < th = width "107" bgcolor = "#B7383A" style = "color: rgba (247,238,238,1)" > < data h3 > < / strong > < / h3 > < /th >

    < /tr >

    < / thead >

    link to stylesheet to table

    @charset "utf-8";

    / * CSS document * /.

    / * Table Styles * /.

    table #name

    {

    border: 3px solid black

    }

    Th {}

    }

    border-collapse: collapse {;}

    border-spacing: 1;

    }

    Table #name th, table #vigor td {text-align: center}

    table thead {} #vigor

    line-height: 12px;

    text-transform: uppercase;

    position: fixed;

    padding: 0px

    }

    table thead th {} #name

    padding: 0px

    }

    If you could please help, I would appreciate...

    There is a trick to this:

    Fixed the Table header - http://alt-web.com/

    Nancy O.

  • When I filled a form field using a query SQL result is displayed but not registered in the table.

    I write in the topic, I have created a form and in some of their fields, I used a SQL query to get information from a table based on the user who has been logging.

    The information displayed well, but when I press "Send button" loses information and the field in the table is shown empty.


    Anyone know what is happening?

    I enclose below a picture of the problem

    Concerning

    Problema DB APEX.jpg

    Hi ANTHONY,.

    ANTHONY wrote:

    I give you the credentials of my database, I hope you could do it works and most importantly, showing me what the error care...

    Feel free to change what you want in the application

    https://Apex.Oracle.com/pls/Apex/f?p=4550:1:2838412118981:

    BANCO_PRUEBAS

    ADMIN

    password

    It is interesting that, when I use APEX 5.0.1.00.06, I have some errors form appearing not using APEX 4.1.0.00.32

    Check your 77569 application-> Page 1. I have modified the page element attributes. Now it's working.

    Here are the changes (I will explain for P1_NOMBRE, did the same for the P1_APELLIDOS and P1_CATEGORIA):

    • 'Source' has become article attributed to him include:

    Source: Replacement always, value that exists in session state

    Source type: column database

    Source of value or an expression: NUMBER

    • The "Default" article now the following attributes:

    By default of Type: PL/SQL function body

    Default value:

    DECLARE
    
      L_NOMBRE B_LISTA_EMPLEADOS.NOMBRE%TYPE;
    
    BEGIN
    
      select NOMBRE
      into   L_NOMBRE
      from   B_LISTA_EMPLEADOS
      where  USERNAME = :APP_USER;
    
      RETURN L_NOMBRE;
    
    EXCEPTION
      WHEN NO_DATA_FOUND THEN
      RETURN NULL;
    
    END;
    

    Kind regards

    Kiran

  • How to display a complete tree of the table of contents in the body of a page instead of the sidebar?

    How to display a full (project) TOC tree in the body of the pages of the section instead of the default sidebar (left pane)? Is there a simple way to do this in the application? I have not yet discovered a way to do it, but I can't get to the right place. Any suggestions?

    I don't think you can view the table of contents on a page, and even if you could, the sidebar would always be there for indexing and search. The only possibility I can think of is to create a page where you create links arranged to act as a TOC, then maybe iFrame this page in. Each book might be a drop-down list to view links to topics.

    Maintenance would be horrible and she barely meets your requirement to be simple.

    See www.grainge.org for creating tips and RoboHelp

    @petergrainge

  • Need to insert test data in all the tables that were present in a schema

    Hello

    I use Oracle 9i.

    10 tables were present in my current schema. All tables are not having all the records.

    I need to insert test data in each table using a single procedure. (the table name is inparameter for the procedure)

    For example, I test_emp, test_sal tables.

    CREATE TABLE test_emp (ename varchar2 (40), number of sal);
    CREATE TABLE test_sal (it NUMBER, rank NUMBER, will designate the NUMBER);

    I need to insert some test data in these tables. I shouldn't use utl_file or sql * loader for this.

    I tried below way.
    -- Incomplete code
    
    CREATE OR REPLACE PROCEDURE test_proc_insertdata(p_table_name IN VARCHAR2) IS
    
    BEGIN
    
      --Selected all the column_names, data_type, data_length into a collection variable from user_tab_columns.
    
      SELECT u.column_name, u.data_type, u.data_length
      --BULK COLLECT INTO l_col_tab
        FROM user_tab_columns u
       WHERE u.table_name = p_table_name;
    
      -- generated the values using below statement
      
        SELECT decode(u.DATA_TYPE,'VARCHAR2',dbms_random.string('A', u.data_length),'NUMBER',TRUNC(dbms_random.value(1, 5000)),'DATE',SYSDATE) val_list
        -- INTO collection varaible
          FROM user_tab_columns u
         WHERE TABLE_NAME = p_table_name;  
       
    
    END;
    I am not able to transmit these values to the collection dynamically to the INSERT statement. I tried many ways, but I am not satisfied with the code I've written.

    Please help me if you know a better idea.



    Thank you
    Suri

    Suri wrote:
    Hello

    I use Oracle 9i.

    10 tables were present in my current schema. All tables are not having all the records.

    I need to insert test data in each table using a single procedure. (the table name is inparameter for the procedure)

    For example, I test_emp, test_sal tables.

    CREATE TABLE test_emp (ename varchar2 (40), number of sal);
    CREATE TABLE test_sal (it NUMBER, rank NUMBER, will designate the NUMBER);

    I need to insert some test data in these tables. I shouldn't use utl_file or sql * loader for this.

    I tried below way.

    -- Incomplete code
    
    CREATE OR REPLACE PROCEDURE test_proc_insertdata(p_table_name IN VARCHAR2) IS
    
    BEGIN
    
    --Selected all the column_names, data_type, data_length into a collection variable from user_tab_columns.
    
    SELECT u.column_name, u.data_type, u.data_length
    --BULK COLLECT INTO l_col_tab
    FROM user_tab_columns u
    WHERE u.table_name = p_table_name;
    
    -- generated the values using below statement
    
    SELECT decode(u.DATA_TYPE,'VARCHAR2',dbms_random.string('A', u.data_length),'NUMBER',TRUNC(dbms_random.value(1, 5000)),'DATE',SYSDATE) val_list
    -- INTO collection varaible
    FROM user_tab_columns u
    WHERE TABLE_NAME = p_table_name;  
    
    END;
    

    I am not able to transmit these values to the collection dynamically to the INSERT statement. I tried many ways, but I am not satisfied with the code I've written.

    Please help me if you know a better idea.

    Thank you
    Suri

    With some effort, you can write dynamic insert queries. Read the data dictionary views ALL_TABLES and ALL_TAB_COLUMNS to get the data you need. You may need to limit the list to the tables you specify to hardcode the names of the tables. You can read the views for the information of table and column that you need generate the insert column orders. It will be a lot of work and it might be easier to simply hardcode values. Dynamic SQL is difficult to debug and work with: (.) Something like this (untested and totally undebugged)

    declare
      cursor v_tab_col(p_table_name) is select * from all_tab_columns where table_name = p_table_name;
      v_text varchar2(32767);
      v_table_name varchar2(30);
    begin
      v_table_name := 'DUAL';
      --chr(10) is a newline for readability when debugging
      v_text := 'insert into '||v_table_name||chr(10)||'(';
      --loop to build column list
      for v_tab_rec in v_tab_col loop
        --add comma if not first item in list
        if v_tab_col%rowcount > 1 then
          v_text := v_text ||',';
        end if;
        v_text := v_text || v_tab_rec.column_name;
      end loop;
      v_text := v_text ||') values ('||
      --loop to build column values
      for v_tab_rec in v_tab_cur loop
        if (v_tab_rec.datatype = 'VARCHAR2') then
          --add comma if not first item in list
          if v_tab_col%rowcount > 1 then
            v_text := v_text ||',';
          end if;
          if v_tab_rec.datatype = 'NUMBER' then
           v_text := v_text || '9';
           elsif v_tab_rec.datatype = 'VARCHAR2' then
             v_text := v_text ||'X';
          end if;
      end loop;
      v_text := v_text || ')';
      execute immediate v_text;
    end;
    

    This code is not effective, but shows how to do what you described. You'll have to code for all data types you need and find a way to take into account the primary/foreign keys, yourself. I leave it to you to find a way to avoid selecting the data twice ;)
    Good luck!

    Published by: riedelme on July 24, 2012 13:58

  • How to avoid to display a line blank in the table component

    Hello

    I create button and a table like in a read-only form.

    Whenever I click on Create Insert button, a pop-up window showing were the person enter the corresponding values and clicking on the "submit" button it should show changes in the table and clicking the Cancel button to return to the page.

    But even when I click on cancel there is always an empty line is indicated in the table. Is it possible to avoid it?

    Thanks in advance.

    In this case, you will need to delete the new created line. Link the button Cancel to a bean method of directly to the delete of the VO method, you used to create the line.

    Timo

  • Keep the Rollover buttons at the top of the Table column

    I'm working on a new Web site. I have rollover navigation buttons in the left of a table column. When the text of the right-hand column extends the buttons move downwards. I'm sure there's a way to keep them at the top of the column, but I can't understand it.

    I have temporarily pages on the server from another site that I do.

    www.watermillmuseum.org/index2.html

    Hope to learn how to fix this problem.

    TIA... Betty

    Betty, trying to add to your CSS:

    TD {vertical-align: top}

    Nancy O.
    ALT-Web Design & Publishing
    Web | Graphics | Print | Media specialists
    www.Alt-Web.com/
    www.Twitter.com/ALTWEB

  • How do I top align the table on the Web page to the top of the browser?

    If you look at www.colonialstock.com, you will see that the Web page was made in a tabular format.  How do I best align the table, then the gray space above the table is removed?

    Add this to your body tag...

    LeftMargin = "0" marginheight = "0" marginWidth = "0" topmargin = "0".

  • Need to print colors different, based on the condition in the xml reports

    Hi all

    I have a xml report editor who I ned to print different colours according to requirement is possible please help me.

    requirement is if any field has all the data in the report I need to print this area as 'Red' color, please help me if it is possible to rtf model.

    Thank you

    Clément

    Please try this

    No data found -put all the code in a form field

    In your example, the EMPNUM field has no data then it will display "No data found" in red.

    And if data are available, it will display the actual value.

    Add this logic to all your individual fields.

    Just want to know - if none of the columns were not given, in this case - that we

    EMPNUM PERSONID2 EMP_FULL_NAME NATIONALITY NATIONAL_ID Date of birth GCC_PENSION
    No data found No data found No data found No data found No data found No data found No data found

    (GOLD)

    EMPNUM PERSONID2 EMP_FULL_NAME NATIONALITY NATIONAL_ID Date of birth GCC_PENSION
    No data found
  • OBIEE - hyperlink stored in column - need to display as text, but with the navigation

    Hello Experts,

    I have a requirement where in a column has hypertext links as values. An invoice is scanned and stored somewhere.

    So when the link is clicked it opens a Web page with the scanned invoice.

    Now I have 2 requirements

    1. instead of any hyperlink, I should display only "scanned the invoice" instead of any hyperlink.

    2. the invoice is open in a different window.

    any help is greatly appreciated.

    Thanks in advance,

    Parag

    You set the properties of column to the processing to HTML?

  • How do I keep content at the top of the table, rather that propagate vertically from top down?

    I have very little experience...

    I have a simple website that I created in DWCS4 that uses simple tables and nested tables.  It's a Web site to display pictures with brief descriptions along the right side.  So I have a picture on the left side in one table and then the text on the right side that is contained in another table, divided into several cells.  The thing I can't understand, is that all of the text in the cells of the right side are distributed evenly along the vertical axis.  Instead, I want the text at the top of each cell.  And Yes, in every cell, I put the text must be aligned vertically at the top.

    It seems to me that maybe the cell heights are either adjusted automatically to spread evenly along the height of the largest left table cells text.  If this is the case, I rather each of those cells to stay static and keep the height that I put for the cells. I put the heights in the cell properties, but this does not change.

    Please, be gentle and give me the dummy version and thanks in advance to anyone who can help me.

    Create a class for the alignment of things upwards, for example

    . Align-top

    Add the vertical-align of the css for this class attribute...

    {.align-top

    vertical-align: top;

    }

    Then add the class to alltag you want lined up on...

  • Need a solution to update values in the table

    My version of oracle is 11 and my table name is nit_xml in which column the name is cust_dtls

    Nit_xml table data


    < root >
    Nitesh < Cust_dtls > < / Cust_dtls >
    < / root >

    I want to just update Nitesh Nit...

    Its inserted i through this way, values

    INSERT INTO nit_xml
    VALUES)
    ' < root >
    Nitesh < Cust_dtls > < / Cust_dtls >
    < / root > '

    So I tried to update my way like like that



    UPDATE nit_xml
    SET cust_dtls = ' < root >
    Nitesh < Cust_dtls > < / Cust_dtls >
    < / root > '
    WHERE cust_dtls = ' < root >
    Nitesh < Cust_dtls > < / Cust_dtls >
    < / root > ';

    But not working if anyone can give me any ideas about XML as well as how it works and what is possible or not to update through query... His note I want to update the column cust_dtls based on the same value of the column and not any other data type number or varchar2 because that based on other datatype it works easily and the second thing her i use application TOAD while the manual update is possible which is very good, but I need to update directly through query...



    Kind regards
    Nitkhush...

    Niteshkhush wrote:
    But in this link and that updated the example is based on once again the string as warehouse_name as 'san fransciso', but I want to update based on the same datatype column in which I am faced with the difficulty of writing where the clause can u give some advice...

    Like this?

    update nit_xml
       set cust_dtls = updatexml(cust_dtls, '/root/Cust_dtls/text()', 'Nit')
     where trim(extract(cust_dtls, '/root/Cust_dtls/text()')) = 'Nitesh'
    

Maybe you are looking for