Need color alternative lines of an OAAdvancedTable Bean in OFA

Hello

I have a table adv. Bean & when the page is displayed, I need to display the alternative lines in a different color. In my VO, I added an attribute additional 'color', which even have values like "OraPageStampText" for all the odd records and "OraErrorNameText" for all records. Until now its ok. I got stuck when I try to implement the logic of OADataBoundValueViewObject in my ProcessRequest() method.

I looked into some old discussions and got the below mentioned thread. There they suggested to use the bean line, but I'm afraid there is no such bean in the context of return a line like what we have for a column (OAColumnBean).

I had asked the same thing in this thread Re: can color us lines in a table column . But it get all the answers, so post a new.

Pls know me if I'm missing something.

Thank you

Hello

You create the bean of all fields in the advanced table and using the bean setAttributeValue API.

See the code below,

OAMessageStyledTextBean comCode = (OAMessageStyledTextBean) webBean.findChildRecursive ("CompanyCode");
Css1 OADataBoundValueViewObject = new OADataBoundValueViewObject (comCode "FontColor");
comCode.setAttributeValue (oracle.cabo.ui.UIConstants.STYLE_CLASS_ATTR, css1);

In the above example, CompanyCode is one of the advanced table column. FontColor is the attribute to display like what you have created. You need to repeat the same steps for all the fields of the table of the advance.

Hope it will work for you.

Thank you best regards &,.
REDA Papdeja

Tags: Oracle Applications

Similar Questions

  • Is it possible to create a spreadsheet Numbers alternating line colors I choose (rather than just a line alternating color)?

    Is it possible to create a spreadsheet Numbers alternating line colors I choose (rather than just a line alternating color)?

    Hi tochan,.

    No, but it is possible to create this look.

    Procedure:

    Open a table.

    Format > table

    Check the alternative line color. The yellow value.

    Click the form button, select the rectangle.

    Click the shape to select it.

    Format > Style

    Set the fill color to green.

    The border value without border.

    Move the shape to align with the upper left corner of the table.

    Drag the handle at the bottom right of the form to the lower right of the table.

    Go to organize > Send to back (or backward and repeat until the form is behind the table, and the Green shape is visible through the non colored lines).

    Note that the form is independent of the table. If the lines are added to the table, alternating lines will continue to have the yellow filling, as it has been applied to the table itself, but the lines between indicate white background, until the shape is expanded to match the size of the table.

    Select the Table (by clicking on the 'target' at the top left.

    Go arrange > Send backward. (Repeat if necessary until the form is in the front of the table)

    Select the shape.

    Resized according to the table.

    Go arrange > Send backward.

    Kind regards

    Barry

  • Alternating line colors

    Hi all

    OK, I ticked the box of alternating line colors, selected my color, but you want to color the other lines, I'm sure it's easy but I'm stuffed if I know how to do this. It may be down manually, but I want to do this automatically because it is a spreadsheet live transaction that will evolve over time.

    I tried color all of the table 'Cell' and then 'Fill', and then clicked on the box of the alternating line colors, but the color stays the same in every other row according to the shade was selected in the option ' Cell ' / ' fill ', regardless of me dirty around with the shade etc.!

    Of course possible to choose what color I want when you select the line alternating color option, but is it possible to choose what color goes in the other lines?

    Thank you

    Graeme

    the background color of cell goes too spare line color.

    The only way I could achieve this goal is to leave the the cell fill color 'NONE' then turn the color of line replacing in table formatter then add a rectangle filled with the color I want and place it behind the table.

    Like this:

    Select the green rectangle, put in the background by using the menu item "organize > background.

    Now drag the rectangle behind the table:

  • In TB45.4, Inbox, the lines aren't colors alternating as in previous versions. Is it possible to put back or highlight the space between the lines.

    Lines/lines of the Inbox have been alternating... normal background color, then color, then normal, then color. Like the OLD fan paper feed bar background color each lines 5 or 10 alternating... Makes it easy for us old people follow along a line if info and keep drifting upward or down a line.

    You can probably pick up a theme of appearance that made it, but I quickly found another way to do this.

    Create or edit a userChrome.css file.

    First find your Thunderbird profile folder: Thunderbird Menu: help: troubleshooting information

    Under the request of base, next to the profile folder, click on the view file"" button.

    A Windows Explorer window will open to your Thunderbird profiles folder.

    Is there a folder there called "chrome"? If this isn't the case, create a.

    If there is already a file called userChrome.css, good. If not, then right click on an open area where the list of the files and choose new and the Notepad document. Type the name of the userChrome.css file. Case of text is important here, so the 'C' should be capitalized, but not the rest.

    Open the userChrome.css file in Notepad (or another text editor) and placed in the file to the following:

        #threadTree treechildren::-moz-tree-row(odd) {
           -moz-appearance: none !important;
           background-color: rgb(232,232,232) !important; }
    

    Save the file and close Notepad.

    Restart Thunderbird.

    Now you'll see alternating lines in your records, white and light grey.

  • Another issue of alternation line color

    I used alternating colors of line before with great success, but this situation is a little different. I * grouped * data and I want each * grouped * line to have an alternating color. When I try it with the standard code, it does not work. I get the colors, but they are not alternately. My code is below. Any suggestions would be most appreciated. Thank you very much.

    < table width = "100%" border = "0" bgcolor = "#666666" >
    < cfoutput query is group of "getAllCourts" is "courtID" >
    < tr id = 'small' valign = "middle" bgcolor = "#IIf (CurrentRow Mod 2, DE('D8DCD8'), DE('C2FFC1')) #" >
    < td height = "100" width = "10%" id = "tennisText" align = "center" bgcolor = "FFFFFF" >
    < cfif isdefined("CourtID") and CourtID NEQ "" > "".


    < cfif courtID eq '1' >
    < img src = "images/number1.gif" / > "
    < cfelseif courtid eq '2' >
    < img src = "images/number2.gif" / > "
    < cfelseif courtid eq '3' >
    < img src = "images/number3.gif" / > "
    < cfelseif courtid eq '4' >
    < img src = "images/number4.gif" / > "
    < cfelseif courtid eq '5' >
    < img src = "images/number5.gif" / > "
    < cfelseif courtid eq '6' >
    < img src = "images/number6.gif" / > "
    < cfelseif courtid eq '7' >
    < img src = "images/number7.gif" / > "
    < cfelseif courtid eq '8' >
    < img src = "images/number8.gif" / > "
    < cfelseif courtid eq '9' >
    < img src = "images/number9.gif" / > "
    < cfelseif courtid eq '10' >
    < img src = "images/number10.gif" / > "
    < cfelseif courtid eq "11" >
    < img src = "images/number11.gif" / > "
    < cfelseif courtid eq '12' >
    < img src = "images/number12.gif" / > "
    < cfelseif courtid eq "14" >
    < img src = "images/number14.gif" / > "
    < cfelseif courtid eq '15' >
    < img src = "images/number15.gif" / > "
    < cfelseif courtid eq "16" >
    < img src = "images/hard1.gif" / > "
    < cfelseif courtid eq '17' >
    < img src = "images/hard2.gif" / > "
    < cfelseif courtid eq '18' >
    < img src = "images/stadiumHard.gif" / > "

    < cfelse >

    < / cfif >
    < / cfif >
    < table >

    < td >

    < id of the table = 'small' width = '100% ' cellpadding = "0" cellspacing = "0" border = "1" >
    < cfoutput >
    < b >
    < td width = "2%" height = "21" > < table >
    < td width = "8%" > #timeformat (BeginTime, "h: mm tt") # < table >
    < td width = "10%" > #timeformat (endtime, "h: mm tt") # < table >
    < td width = "15%" >
    < cfif isdefined("InstructorID") and NEQ InstructorID "" > "".

    <!-query to get the name of the instructor. ->
    < name cfquery = "getInstName" datasource = "" #request.dsn # "dbtype ="ODBC">"
    SELECT InstructorName
    OF EL_Instructor
    Where InstructorID = #InstructorID #.
    < / cfquery >

    #getInstName.InstructorName #.

    < cfelse >

    < / cfif >

    < table >

    < td width = "15%" height = "21" > #CustomerName # < table >
    < td width = "32%" > #additionalInfo # < table >
    < td width = "10%" align = "center" > < a href = "#myself #xfa.editCourtAssignment # & CourtAssignmentID = #CourtAssignmentID #& InstructorI D = #InstructorID #" > edit < /a > < table >
    < td width = "8%" align = "center" > < a href = "#myself #xfa.cancelCourtAssignment # & CourtAssignmentID = #CourtAssignmentID #& reserveDa = you #reserveDate #" > cancel < /a > < table >

    < /tr >


    < / cfoutput >
    < /table >
    < table >
    < /tr >
    < / cfoutput >
    < /table >

    Create your own ;)

















     

  • Interactive report with alternating lines - 5 APEX

    Heyho guys.

    I got a task to set alternating line colors in my interactive report.

    IM using Oracle 11 g Database XE with APEX 5.0.0.00.31 2.

    I searched current debates and following this thread:

    https://community.Oracle.com/thread/912414?TSTART=0

    I followed the comments written there and I tried with javascript, they spoke aboud (I'm a newbie using javascript)

    I pasted the following in my page header:

    < script type = "text/javascript" >

    IT IS THE INTERLACING

    function decorateDataGrids (strClass) {}

    var tables = document.getElementsByTagName ("table");

    for (var i = tables.length; i-;)) {

    If (tables.className == strClass) {}
    var gridRows = tables [i] .getElementsByTagName ("tr");
    for (var j = gridRows.length; j-;)) {If (j %2) {gridRows [j] .className = "even" ;}}
    }
    }
    }
    < /script >

    < style >
    / * THIS REPLACES THE DEFAULT STYLES OF THE APEX * /.
    table.apexir_WORKSHEET_DATA tr.even td {}
    background-color: #F1F5FA! important;
    }

    table.apexir_WORKSHEET_DATA td {}
    background-color: #FFFFFF! important;
    border: 1px solid #B3B3A7! important;
    padding: 4px 8px! important;
    }
    < / style >

    And called in my link to my column ID text field via:

    "< img src =" "#IMAGE_PREFIX #edit.gif" alt = "" onload = "decorateDataGrids ('apexir_WORKSHEET_DATA'); ">

    If I start the page now, nothing happens.

    In the thread, we talk about bad SEO of the IR:

    "OK here's why the code does not work." When you use getElementsByTagName, you get a collection, not a single item.

    So when you make the comparison to see if the class of the table is an ApEx IR type, you need to reference the current table, not the entire collection. As follows... »

    But I don't understand how I'm doing the right reference.

    Someone at - it an idea to get this race?

    Thank you

    pleNn

    pleNn wrote:

    Heyho guys.

    I got a task to set alternating line colors in my interactive report.

    IM using Oracle 11 g Database XE with APEX 5.0.0.00.31 2.

    I searched current debates and following this thread:

    https://community.Oracle.com/thread/912414?TSTART=0

    I followed the comments written there and I tried with javascript, they spoke aboud (I'm a newbie using javascript)

    I pasted the following in my page header:


    for (var j = gridRows.length; j-;)) {If (j %2) {gridRows [j] .className = "even" ;}}
    }
    }
    }

    And called in my link to my column ID text field via:

        

    If I start the page now, nothing happens.

    In the thread, we talk about bad SEO of the IR:

    "OK here's why the code does not work." When you use getElementsByTagName, you get a collection, not a single item.

    So when you make the comparison to see if the class of the table is an ApEx IR type, you need to reference the current table, not the entire collection. As follows... »

    But I don't understand how I'm doing the right reference.

    Someone at - it an idea to get this race?

    It's all totally obsolete with respect to the 5.0 APEX where interactive reports have been completely redesigned and rebuilt.

    To complete the full version number of APEX, always indicate what theme and browser (s) / version (s) you use when asking questions of shape/layout visual layout.

    To go from rank (Zebra) when you use the universal theme distribution in interactive reports, see Re: interactive report - no line scratched?

  • How to include check boxes for alternating line fill?

    I tried allowing alternating filling line before and after adding a column with checkboxes, but it just does not work - the entire column "will not participate" in the alternation of filler as all other columns don't. How can I make it work?

    Hi VarHyid,

    Worked for me.

    I inserted a new table 'ordinary' in an existing document to format a cell as a checkbox column, then clicked on the button in the Inspector to Format table, clicked on the alternative line color box, click on the color wheel and used the RGB sliders to set a color for the alternate rows (pairs).

    Note that I started with a "plain" table and that it did not apply fills all cells except through alternative line color. Any color fill applied to the cells will substitute the color defined by collour alternative line.

    Kind regards

    Barry

  • I dropped my iPhone 5 c now it has different colored vertical lines

    I dropped it once and the screen cracked, then I dropped it a second time now, the screen is different colored vertical lines this will be under "other repairs" or "screen fix" Please help asap thank you! I can touch the screen and open something, but I don't see it because the view is of different colors. I can hear the audio too... I want to know what repair is because the price is important... Help, please! I tried the hard reset. 5 c 16 gb iPhone

    You can consider to Apple and buy one off replacement for this guarantee as long as you have not yet opened.

  • Colored vertical lines receivers when you try to scan with the printer a HP Officejet 6500.

    original title: reception of the vertical lines of color when you try to print using HP Officejet 6500 a printer.

    I have a HP Officejet 6500 a and the scanner is not working properly, I get only color vertical lines, what happens, how do I fix this please?

    Hello

    What operating system is installed on the computer?

    Follow the steps in the following links, and check, if that helps.

    http://h10025.www1.HP.com/ewfrf/wc/document?DocName=c03111687&tmp_task=solveCategory&cc=us&DLC=en&lang=en&LC=en&product=4083977#n41

    http://h10025.www1.HP.com/ewfrf/wc/document?DocName=c01612462&tmp_task=solveCategory&cc=us&DLC=en&lang=en&LC=en&product=4083977

  • Multi-colored vertical lines on the screen until you restart

    I get multi-colored vertical lines on my screen and lose control of the mouse. Power off and restart eliminate the problem. Y at - it a permanent cure?

    Question seems closed. Lines no longer appear after you download a driver from the manufacturer of the monitor.

  • colored vertical lines

    I'm using the latest version of windows with a brand new computer. I am trying to edit a graph model and I tried several that appear with colored vertical lines that won't disappear.

    It is the space reserved for the missing images. Look in your project for lack of sequence window and link. Files will probably be at the location where you downloaded the model.

  • Background color of line AdvancedDataGrid

    I hope someone can help, I want to highlight an entire line or lines that match a value. I assumed the stylefunction get me but I have not found the style referring to the background color of line.

    Any help please.

    Thank you

    The solution I found was to extend the DataGrid class, add the override in the background of the drawing and add a rowcolorfunction. When using converters of point, you must use the function with the alternatingItemColors style so the rendering engine Gets the color correct and not opaque.

    Thanks to research saisri2k2.

  • Color of line numbers Flash CS5?

    is it possible to change the color of line numbers in the Actions Panel / .as file on Mac OS X?

    I see the version Windows from Flash CS5 has this ability, or it's colored blue/cyan by default (see screenshot) while the Mac version is gray.

    http://blogs.highlander.co.uk/files/2010/04/flcodesnippets-300x148.jpg

    In the ActionScript of Flash Professional Editor, you cannot change the color of the user interface, such as the vertical bar where line numbers are included. For Windows computers, it's cyan when it is active, or grey, when an another Panel/window is active.

    The only changes of color, you can assign are in the preferences > ActionScript Panel (in the foreground, which is the main color black text, background, keywords, comments, identifiers and strings).

    I use FlashDevelop, a 3rd party LIKE (and other codes) editor-in-Chief. Even with that, I don't think that the user interface can be changed.

  • Hi, need to change the color of line at run time

    Hi all

    I have columns in the paintings is one of them for YES and it is of TYPE I create two attribute for this and place like this to trigger post_query block-level after that I get what I want the color of the YES and NO, but
    NOW I NEED TO CHANGE THE LINE COLOR IN FULL WHAT IT TAKES PLEASE GUIDE

    IF: ORDER_TRACKER2. TYPE = "YES" THEN
    SET_ITEM_INSTANCE_PROPERTY ('ORDER_TRACKER2.) TYPE ', CURRENT_RECORD, VISUAL_ATTRIBUTE, 'ATT_NO');
    ON THE OTHER
    SET_ITEM_INSTANCE_PROPERTY ('ORDER_TRACKER2.) TYPE ', CURRENT_RECORD, VISUAL_ATTRIBUTE, 'ATT_YES');
    END IF;

    Thanks and greetings
    Vikas Singhal
    IF :ORDER_TRACKER2.TYPE = 'YES' THEN
      SET_ITEM_INSTANCE_PROPERTY ('ORDER_TRACKER2.TYPE', CURRENT_RECORD, VISUAL_ATTRIBUTE, 'ATT_NO');
      SET_ITEM_INSTANCE_PROPERTY ('ORDER_TRACKER2.ITEM1', CURRENT_RECORD, VISUAL_ATTRIBUTE, 'ATT_NO');
      SET_ITEM_INSTANCE_PROPERTY ('ORDER_TRACKER2.ITEM2', CURRENT_RECORD, VISUAL_ATTRIBUTE, 'ATT_NO');
      SET_ITEM_INSTANCE_PROPERTY ('ORDER_TRACKER2.ITEM3', CURRENT_RECORD, VISUAL_ATTRIBUTE, 'ATT_NO');
      SET_ITEM_INSTANCE_PROPERTY ('ORDER_TRACKER2.ITEM4', CURRENT_RECORD, VISUAL_ATTRIBUTE, 'ATT_NO');
      SET_ITEM_INSTANCE_PROPERTY ('ORDER_TRACKER2.ITEM5', CURRENT_RECORD, VISUAL_ATTRIBUTE, 'ATT_NO');
    ELSE
      SET_ITEM_INSTANCE_PROPERTY ('ORDER_TRACKER2.TYPE', CURRENT_RECORD, VISUAL_ATTRIBUTE, 'ATT_YES');
      SET_ITEM_INSTANCE_PROPERTY ('ORDER_TRACKER2.ITEM1', CURRENT_RECORD, VISUAL_ATTRIBUTE, 'ATT_YES');
      SET_ITEM_INSTANCE_PROPERTY ('ORDER_TRACKER2.ITEM2', CURRENT_RECORD, VISUAL_ATTRIBUTE, 'ATT_YES');
      SET_ITEM_INSTANCE_PROPERTY ('ORDER_TRACKER2.ITEM3', CURRENT_RECORD, VISUAL_ATTRIBUTE, 'ATT_YES');
      SET_ITEM_INSTANCE_PROPERTY ('ORDER_TRACKER2.ITEM4', CURRENT_RECORD, VISUAL_ATTRIBUTE, 'ATT_YES');
      SET_ITEM_INSTANCE_PROPERTY ('ORDER_TRACKER2.ITEM5', CURRENT_RECORD, VISUAL_ATTRIBUTE, 'ATT_YES');
    END IF;
    
  • report interactive by default alternating line colors, how to remove it?

    Is it possible to remove the alternating colours of the interactive report line.

    In a standard report, I can select the model of report, but in an interactive report No.

    Kind regards

    Rob

    To customize a single page, add this rule to the page Inline CSS attribute:

    .apexir_WORKSHEET_DATA tr.odd td {
      background: rgb(242, 242, 242) !important;
    }
    

    To apply to an entire application, or add

    .apexir_WORKSHEET_DATA tr.odd td {
      background: rgb(242, 242, 242) !important;
    }
    

    attribute to Style sheet cascading Inline on each model of the page, or create a CSS containing file

    .apexir_WORKSHEET_DATA tr.odd td {
      background: rgb(242, 242, 242);
    }
    

    Transfer it to your workspace and make reference to it after the theme link in each page header template:

    
    
    

Maybe you are looking for