Change the background color of the table rows af of those who have a larger date today

Greetings,

I have a table of af of insurance of the person which show details for each insurance policy. I have change the sql query table to show only those that the insurance is still active ('end_date' variable is greater than today).

Everything works fine, but on doubts, I want to show all the records, but change the background color red of those lines which have expired ('end_date' variable less today).

Can you help me please?

Thanks in advance.

Using Jdeveloper v11.1.2.4.0 (JSF - components of the ADF)

This example shows how to do this http://andrejusb.blogspot.de/2010/04/changed-row-highlighting-in-oracle-adf.html

Timo

Tags: Java

Similar Questions

  • is it possible to set the background color of a table or chart to be transparent?

    is it possible to set the background color of a table or chart to be transparent?

    Thank you

    Yes.

    Select tools palette (view > tool palette) and set the background of the graph as well as the control in transperent.

  • Apex 5.0.2 error when changing the table name in the treatment of automatic line of process (process row)

    Hello

    I need a little help...

    For some reason, I have to change the underlying table for a treatment of automatic process (process Row) line (form).

    Although such a change is possible in the designer of the page (under "settings") Apex does not recognize the new name of the table, but seem to rather use the name of the original table "old."

    Pretty strange (new/modified) (the new table columns) are (correctly) error message.

    For example, the 'old' is: TABLE_1 and TABLE_2 new.

    TABLE_2 has a new COLUMN_NEW column (and corresponding P1234_COLUMN_NEW page element exists)

    Then the error message says something like: not found COLUMN_NEW column in TABLE_1. Althougt I changed the table to be TABLE_2.

    Maybe it's a bug or I do something wrong about this?

    Thank you in advance!

    André

    OK, just to get some - you changed the name of the table twice:

    -Rendering of section--> Page1234: Pagename--> pre-rendering--> after the header--> process of--> line from TABLE_2

    -Treatment article--> treatment--> process--> process of line from TABLE_2

    I thought, that always seek you the line of TABLE_1

    Christian

  • skin of the ADF, stationary of the table row

    Hello

    I'm having confussion with adf-stripping.
    I can effect hover so the user each time a row in a table in a hover, it will change the background color of the line?
    Should what class I use in my css?
    I tried with af | : the table-row data: highlighted, af | : data of the table-row: hover...

    If there is anyone who knows the link where I can download an adf-skin model then she also be very useful to me...

    Best regards.

    Hello

    I found this in the forum. It works for you?

    Re: Comment on the blog of Frank added effect hover at table

    AF | table: content TR:hover {background-color: InfoBackground ;}}
    AF | table: content TR:hover TD {background-color: transparent ;}}

    concerning
    Peter

  • Cannot change the table in a layer [was: another weird One]

    I created www.ccahv.com with Dreamweaver MX and now seeks to update with Dreamweaver CS3.  The buttons are in a table on a layer to easily copy, but I can't change the table to add a button.  Impossible to insert an image.  The pages are modified by a Secretary with Frontpage 2000.  Who would have something to do with it.  I am sure that I've updated these pages in June and October with the CS3 version.  I am at a loss.  Help!

    joepd

    [Subject line edited for clarity by Moderator]

    First, fix the validation errors. You have the doctype declaration in the body.

    > The buttons are in a table on a layer

    Avoid layers unless they are necessary.

  • Table Row duplicates button click, but carries with it data

    What I mean is, I have a form with a table on page 1. I created the floating fields on page two where the data entered in the the flow in text fields, which works very well. I added a button for the user to add rows to the table and the table row repeat.

    However, when I type the data into the table and click on the button to add another line, it duplicates the line containing the data that I typed in. Of course, this isn't what I want to say are you seeking. I've never had this problem before. It's because of the floating fields. What I am doing wrong?

    Hello

    You can use two tables (one on the entry page) and the other on the page of the letter that are related. See an example here: http://assure.ly/eTOXaH.

    Note that the script in the event of output from the fields in the table.

    Hope that helps,

    Niall

  • I'm working on a given HP computer where the administrator was already settled by those who have set up the system when it was given. Error: 0 x 80070005 access denied.

    I'm working on a given HP computer where the administrator was already settled by those who have set up the system when it was given. Now, I am trying to perform an action that requires me to use the program of scheduled tasks. I have problems with passwords and user ID. It defaults to the Userid of the machine number/administrator. I put the password when asked, but I was rejected when I finished to complete the scheduled task that I perfom. The scheduled task, I wanted to do was simply to have iTunes launch and play a song both partiucular. After completing all the details, I must click on 'Apply' or 'OK' and then I get an another dialog box asking that I get the password once more. I enter the password I put at the beginning when the application Assistant came on - but I get access denied - and the error number 0 x 80070005. Help, please. Thank you. * E-mail address is removed from the privacy *.

    original title: "error: 0 x 80070005 access denied."

    Hi HaikMuradian,

    For this particular issue, there is a fix available, you can contact Microsoft Customer Service & provide article 904423 which contains the fix.

    Reference: Error message: "0 x 80070005 access denied. You are not authorized to perform the requested operation"

    Hope the helps of information.

  • I have problems with the form widget. When I created my forms, I need to leave out the line, one email because my client does not want the message line and two because those who have tried to fill the online form cannot submit because that box "email".

    I have problems with the form widget. When I created my forms, I need to leave out the line, one email because my client does not want the message line and two because those who have tried to fill the online form cannot submit because the 'email' box keep rejecting their email address valid. And I just tried to remove the line in my form and it does not allow me to delete or to mark it as not necessary either.

    Currently, there is no way around the field email forms of the Muse. Another option is to have a look at Jotforms or another third-party provider of shape that Muse has widgets for.

  • Change the background color of a table cell, depending on the selection in a drop-down list

    I have a drop-down list wrapped in a subform in a table cell. Users can choose green, yellow or red, and I want the background color to change according to their choice.

    Can you tell me why this script does not work? I'm sure that some of you, dear friends can see in a second.


    If (this. ListItem == "green") {}

    Subform1.DropDownList1.fillColor = "000,128,000"; BackgroundFill = "solid";

    }

    If (this. ListItem == 'yellow') {}

    Subform1.DropDownList1.fillColor = "255,128,000";

    }

    If (this. ListItem == 'red') {}

    Subform1.DropDownList1.fillColor = "255,000,000;

    }


    Thank you

    Hello

    I think you should be able to use the following code in the event change of the dropdownlist control.

    Form1. #subform [0]. Table1.row2.DropDownList1::change - (JavaScript, client)

    If {(xfa.event.change=="green)"}

    this.fillColor = "000,128,000";

    }

    If {(xfa.event.change=="yellow)"}

    this.fillColor = "255,128,000";

    }

    If {(xfa.event.change=="red)"}

    this.fillColor = "255,000,000;

    }

    Concerning

    Bruce

  • change the background color of specific table cell

    Hello

    I'm trying to highlight the cell when the max value occurs in the attached VI.

    In addition, as it is a secondary function, possible to change the background color of this specific cell?

    Thank you

    hiNi

    This?

  • How to change the table of contents page text color

    Hello


    Can someone suggest me please how do I change the color of the text in Captivate6 table.


    Please see below image, color of the highlighted text should be changed.


    Future prospects for assistance.


    Thank you

    Srikanth

    Untitled-4 copy.jpg

    The background color of the text is controlled by the selection of "Title" in the color.

    title text font, size and color are controlled by accessing the "Info" button and selecting "Title" in the theme area and by changing your selections there.

    Hope this helps - sorry for the delay - took in a drama date limit!

  • How can I get rid of the background color of a table?

    I insert a table and it comes with a blue background.  The properties panel displays any selected background.  I changed it with a white base, but nothing happened.  I made a new class named tableformat, it took all the styles that I applied to the class, except the bottom, still blue.  Here is the code:

    < table width = "600" border = "1" cellpadding = "3" >

    < b >

    < scope = "col" th > < /th >

    < scope = "col" th > < /th >

    < scope = "col" th > < /th >

    < /tr >

    < b >

    < td > < table >

    < td > < table >

    < td > < table >

    < /tr >

    < b >

    < td > < table >

    < td > < table >

    < td > < table >

    < /tr >

    < /table >

    < p align = "left" > < / p >

    < p > < / p >

    Thank you in advance for any help that anyone can give me.

    OharaLane wrote:

    Yes background.jpg is blue.  So how we stop to pick up the body of the page the table background image?

    body,td,th {
         font-family: Verdana, Geneva, sans-serif;
         font-size: 1em;
         background-image: url(../images/background.jpg);
         background-attachment: fixed;
         color: #003A68;
    }
    

    Remove the ", td, th ' after the body.  The td is a table cell and the th is a table header.

  • How to set the table rows spacing and line changing automatically if is limit

    Greetings,

    I use JDeveloper 11.1.2.4. By default, if you set (or not) the table width and the line is its width, it will create a scroll down bar.

    Is what I want to do, if the text inside each row its greatest width, to change the line inside his line. TO

    more to explain it, I'll demonstrate a small table below:

    MESSAGE ID

    1 Hello Philip

    2 Hello Philip

    3 How are yo

    u today?

    4 tries...

    This way, if the text in the column 'message' is the largest say width 40, to increase his height of line automatically if the text

    fits inside 1 row without creating a scroll bar.

    Thanks in advance for any help.

    Have you attempted to assign noWrap = "false" on af:column?

    Dario

  • How to customize the background color of a table column?

    Hi all

    For example, I want a column of table still to be dark gray, is not to be alternative by default.

    Thank you

    Jason

    It is probably best (makes the code more readable and better separation of concerns) to just set a style on your TableCell class, can actually define the styles in an external style sheet.

    Something like:

    @Override
    public void updateItem(Object item, boolean empty) {
         super.updateItem(item, empty);
         setText(item.toString());
         getStyleClass().add("special-table-column");
    }
    

    and then in an external style sheet

    .special-table-column {
         -fx-background-color: -fx-focus-color, -fx-cell-focus-inner-border, -fx-selection-bar ;
         -fx-padding: 0 3 0 0 ;
         -fx-alignment: center-right ;
    }
    

    You can obviously replace "special-table-column" with something that logically represents what you are doing.

  • Highlight field when the table row is selected

    I have a table view with a couple of lines in there. such a line has a white and gray text. now, when I select the line, the background turns blue to indicate the selection. the problem is that can not read the grey-blue text correctly. you have an idea on how to change the color when this specific line is selected? I need somehow to be able to receive the event in my implementation of custom label to react accordingly on the selection within my method of painting. Thanks, remo

    well, the thing is a little naughty...

    It takes extends a TableController and overwrite the navigationMovement (...) method that acts as an event listener.

    Then you can get the fields and the model of line data and access.

    int rowNr = (getView()) .getRowNumberWithFocus () (TableView);

    Model DataTemplate = (getView()) .getDataTemplate (rowNr) (TableView);

    Scope of fields [] = template.getDataFields (rowNr + 1); I want to get the next line!

Maybe you are looking for

  • the printer says it is offline. How to make it online?

    Sometimes, printer does not print because it disconnects. How can I get this back online? Please email me at {removed personal information}

  • WMP and super Audio CD

    I bought a super audio CD, in effect of Deep Purple's Machine head. The disc has two parts. First part is stereo PCM DSD &, including seven originals of 1972. Second part is called multi-channel DSD, which contains ten tracks. The problem is that onl

  • problem detected with the adoptive parent wireless802.11 b/g 2 (code 43)?

    my printer does not work on any usb port.  Will work sometimes if I restart the computer, or stop and restart printer.

  • 15 ac121dx: driver need chipset

    So I deleted Windows 10 and windows 7 64-bit ultimate instoled... no usb port do not work, so I ges I need driver chpset...

  • Levels of payment AppWorld

    Hello I am trying to publish an application in AppWorld and contained this app purchasable. What I don't understand is why there are price levels in the right section where I expect rather to have an input field and add my desired price? Are existing