Need to change color depends on the action

Hello

I use JDeveloeper 11.1.1.6

My scenario is that I order five link in my model Page.Click the each commandlink he will open a separate page.

After clicking the order link I want to change the color for her. But I'm not able to change color permanently, I tried below things,

1, af | CommandLink:hover it works only the mouse on the link command.

2, af | CommandLink: active it works when click the link after you open the page again, it is replaced by the old color.

3, af | CommandLink: selected it does not work.

4, af | CommandLink: visited it does not work.

Thank you...

Hello

commandLink lacks selectors selected and visited. You should use some EL to dynamically set the styleClass.

E.g. create two classes of style

af|commandLink.unvisited{
    color: Green;
}

af|commandLink.visited{
    color: Fuchsia;
}

Set the commandLink styleClass property an EL and add a setPropertyListener to set a variable, click on the link.


 
 

Arun-

Tags: Java

Similar Questions

  • How to change color depending on the color of our lipstick perfectly?

    Hello.

    Can someone show me how to change the color of the lips perfectly?

    I tried it myself for many days, but I couldn't find a way. I can change the color I want, but lips seem false.

    It's the color I want to put on the lips

    Screen Shot 2016-05-10 at 9.21.38 PM.png

    Here are the lips after I changed it. I go to the Quick Selection tool-> fill color-> blend modes: normal, opacity 0-100% (I adjust a lower opacity but different color)

    I tried all blending modes, but the color change so normal 100% is the actual color, only the lips look fake.

    Screen Shot 2016-05-10 at 9.21.29 PM.png

    Ultimately, I want the final lip as appearance below but color as above.

    Screen Shot 2016-05-10 at 7.43.15 PM.png

    Help, please

    1 make a selection of the lips

    2. in the main menu, choose layer/new adjustment layer / black and white

    3. in the properties panel check the color, and then click the active color into the color picker

    4. your color is around R = 249 = 95 = 104

    5 when necessary adjust the brightness of the red and yellow to illuminate the lipstic

  • Need to change my iPad in the United States to the United Kingdom as now living in the United Kingdom. Can not change the address or buy in the store.

    Need to change my address in the United Kingdom, the United States, now retired to the United Kingdom and does not apply to make the address change or buy on the Apple Store of UK or download new applications.

    Settings > general > language and region > region > United Kingdom

    I believe that this change will allow you to do what you need to do!

  • Dynamically change color according to the value of the field field

    I hope someone can help with my problem, I have not dealt with Java Script before please bare with me as I try to explain.  I tried searching everywhere for the answer but am getting lost a bit in some answers just so I was wondering if anyone on the forum can help.

    I am trying to create a reliable PDF form for a risk assessment. The user in the columns of the severity and probability input values and the value is generated automatically in the column risk classification. So I managed to get the number of risk rating to calculate automatically using the option calculate and select the value is the product of "Severity1", Likelihood1  It's great, so now I want to the field of evaluation may change the background color based on the value as follows:

    1-5 = Green

    6-10 = orange

    11-25 = Red

    I don't have any idea if this can be done via the Java Script or if it is not possible, I'm sure it will, but I need someone much smarter than me to guide me on how to do it. I guess it's the same concept as the conditional formatting in Excel.

    This is something like what I'm trying to achieve.

    Any help would be greatly appreciated

    Thank you

    Matt

    Gravity
    Likelihood
    Level of risk
    122
    236
    3412

    You will need to use a custom calculation script, something like:

    Custom calculation script

    (function () {}

    Get the field values as numbers

    var v1 = + getField("Severity1").value;

    var v2 = + getField("Likelihood1").value;

    Calculate the product

    var prod = v1 * v2;

    Set the value of this field;

    Event.Value = prod;

    Default background color

    var bg = color.white;

    Set the color orange

    Color.Orange = ['RGB', 1,.33, 0];

    Determine the background color on the product

    If (prod > = 1 & prod)<=5)>

    BG = color.green;

    } ElseIf (prod 5 > & prod)<= 10)="">

    BG = color.orange;

    } ElseIf (prod > 10) {}

    BG = color.red;

    }

    Set the background color of the field

    event.target.fillColor = bg;

    })();

  • need to change ip address on the PSUS4

    I had this psus4 for centuries. Worked very well. New router, new addresses...

    Apparently, I put the thing to use a static IP address. How can I change? I downloaded the installation utility. He sees nothing. But of course it's looking at *. *. 1.* range of IP addresses rather than *. *. 0.* where the psus4 is.

    Of course, either I need to change the static address or make non-static. Of course, which means that I have to get something to talk to her.

    I have reset for 10 seconds, 15 and 30. No luck so far. I disconnected after the reset. Same chance.

    In the meantime, I'll unplug the unit overnight and see if it changes in the morning.

    Thank you very much! He has changed.

  • I need to change my language of the OS?

    IM using win 7 home premium... and my OS language is Italian... I cnt understnd no: (.. .i need to change my OS language... can I use language pack?) If I can give me the instruction to do... Please am really upset my problm

    Windows 7 Home Edition Premium is not able to install language packs, only 7 Ultimate can install language packs. You can pay for a Windows Anytime Upgrade Ultimate, then install a language pack.

    Or you can try to change the display language, although it will change all the system in another language, just some of them:

    There should be three different tabs that allow to change language/location.

    Click Start, then click Control Panel. Under clock, language, and region, click "change display language".

    TAB---> location - change location

    TAB---> keyboards and languages - change keyboard

    TAB---> administrative - the installer of the change system locale language/keyboard/settings

    Questions about installing Windows 7? Read this:
    FAQ - Frequently Asked Questions from Installation Windows 7 & responses

  • Address change Email depending on the connection to send e-mail process in apex 4

    Hi friends,

    I need to send an e-mail by pressing a button using Apex 4.0...

    I have created a send e-mail process, but the problem here is,

    The e-mail process must run accordingly to APP_USER which connects to...

    In the meaning of this saying im is, if the user logs in, and if they click the button to send an electronic means, its respective e-mail address must be captured for the address of...

    To the address-> just a single person post id (to make me think that there will be problem, since everyone applying to this person)...

    But how do I change the address e-mail accordingly to the login of the user (i.e. address) email address...

    Since a process of sending E-mail , specifying just one * 'TO' address * that resembles a hardcoring single e-mail address...

    Because I don't want to just hardcoring address unique e-mail out there, I need to change the e-mail dynamically according to the user that connects to...

    How to achieve this in a process of sending email...

    Any help is appreciated...

    Thank you
    Vel

    Published by: RsVel on March 12, 2011 01:16

    Published by: RsVel on March 12, 2011 01:22

    get e-mail id for an application/page element, and then set it using the syntax nom_element. &
    for example

    & P100_EMAIL_ID.

  • need to change my country of the region

    Please notify

    I am not able to change my country of the region and add the local credit card payment

    What happens when you try to change the details of your country and payment?

    Change country: changing your iTunes Store country or region - Apple Support

  • Need a dynamic link. Page number should change. Depending on the type

    Hello world

    I am using oracle 11g xe, apex 5, universal theme and using the model of the classic report comment.

    It's my request, and I am able to go to a particular page which is connected via.

    Select IMG IMG, decode (tasktype,'CALL ',' fa-mobile', ' fa-tasks') USER_ICON, ' ' USER_NAME, sysdate, COMMENT_DATE, task_description ACTIONS, tasktype COMMENT_TEXT,.

    NWT ATTRIBUTE_1,

    ' ' ATTRIBUTE_2.

    ' ' ATTRIBUTE_3.

    "" ATTRIBUTE_4, 14 icon_modifier from vtask_list where ctn_no =: P444_LEAD_NO;

    In attribute_1 in the report I changed the link feature added attributes.

    He is redirected to the page 441...

    What I need to do, is that the page should change according to the State

    Let's say that tasktype = "CALL" THEN PAGE 441

    IF TASKTYPE = 'EVENT' PAGE 442

    How this can be accomplished in model .how classic report.

    Thanks in advance if one can guide on it.

    pauljohny100 wrote:

    I am using oracle 11g xe, apex 5, universal theme and using the model of the classic report comment.

    It's my request, and I am able to go to a particular page which is connected via.

    Select IMG IMG, decode (tasktype,'CALL ',' fa-mobile', ' fa-tasks') USER_ICON, ' ' USER_NAME, sysdate, COMMENT_DATE, task_description ACTIONS, tasktype COMMENT_TEXT,.

    NWT ATTRIBUTE_1,

    ' ' ATTRIBUTE_2.

    ' ' ATTRIBUTE_3.

    "" ATTRIBUTE_4, 14 icon_modifier from vtask_list where ctn_no =: P444_LEAD_NO;

    In attribute_1 in the report I changed the link feature added attributes.

    He is redirected to the page 441...

    What I need to do, is that the page should change according to the State

    Let's say that tasktype = "CALL" THEN PAGE 441

    IF TASKTYPE = 'EVENT' PAGE 442

    How this can be accomplished in model .how classic report.

    Way not obvious but simple to do this is to specify the alias of the page for pages targets corresponding to possible values TASKTYPE, which is CLAMORING for 441 and 442 EVENT respectively. Add TASKTYPE as a hidden column in the report, and then set the link Page on the ATTRIBUTE_1 column column property of the #TASKTYPE # column string substitution to post a link to the page with the required alias.

  • ADF: by changing the colors depend on the date (week)

    Hello world

    I use Jdev 11 G...
    I have an ADF reads only the table with 8 columns. (itemno, itemname, deliverydate, deliveryweek, type, location, filter, org).
    now, I have to change the color of the itemno according to the following conditions:

    1. If the value type of the column is not null, then do itemno to yellow...
    2. If type is null, then the itemno color should be:
    Brown: if calculated is the current week...
    Red: If the calculated week is next week...
    Rose: If the week calculated beyond next week...

    Note: week must be calculated from sysdate and deliveryweek column. (deliveryweek-(minus) current week (calculated from sysdate))
    the values in the column deliveryweek is as follows: 26-2011, 2012-06, and so on. where 26 and 06 are weeks.
    In short, we must get the week of the deliveryweek column and calculate the week being sysdate and subtract and do the postings you want to color.
    How can I achieve this requirement?

    Any suggestions would be really grateful.
    Thanks in advance.

    Thank you.

    Hello

    The inlinestyle of the background-color (instead of just color) value column

    
    

    Arun-

  • Is it possible to change color or "read" the mail in the Inbox?

    Bad eyesight cause the "BOLD" mail new impression of being difficult to distinguish from the reading mail. not even new monitor, but it's always hard to see the difference. The color of the font can be changed on reading mail?

    Yes.  You can go to tools | Rules of messages and to set up a new message rule for "all messages", then highlight with color and then you can set the color there.  When messages arrive in your Inbox, you can see them in a different color to better distinguish them.  There was a former MVP OE, that allows to define colors for different people, so he would know when everyone sent him a message, just by the color.

    Steve

  • Need to change thumbnail image of the hero AND editing in the browser?

    My customer wants to be able to make changes to the images in the slide show I put in place for their portfolio. It seems that editing in the browser forces him to make changes to individual thumbnails and the heroes of his slide show images separately. Is there a better way to do so, or both should be changed?

    Unfortunately, you will have to do it separately for both at the IBE. It is as expected.

    Thank you

    Sanjit

  • Change color "end of the indicator of media."

    How do I color chancge? I want to line it was black

    4.png

    I believe that we can turn off this "feature" in the next update.

  • Fill cells in a table color % depending on the cell content

    Hello.

    I'm working on a document with a large number of tables filled with percentages. Arrays are originally a Word document and the table cells are colored according to their content: a value of 20% on the cell a 20% tint. This is done automatically on the Word document via a conditional formatting option that applies to a graduated color scale. Is it possible to do this in InDesign? I tried to place the tables and tried all the options, but the color is not imported. Maybe a script or a style GREP?

    Thank you.

    A very smart script here...

    Script to create the heat map in Indesign 5.0 PC?

    P.

  • I have a new computer and need to change my subscription to the new computer

    I bought a new PC for my office.  I have the programs downloaded on my old computer and you want to transfer the subscription and download the apps on my new computer.

    You are allowed to have two facilities enabled, so if you would like to, you can keep the original as a backup installation.  If this isn't the case, then sign right out of him through the CC Manager.

    To get it on the new machine just repeat what you initially... install Manager, sign in, and install the applications.

    Cloud creation help / Creative Cloud to desktop

    https://helpx.Adobe.com/creative-cloud/help/creative-cloud-desktop.html

    Cloud creation help / sign out, sign in | Creative office cloud app

    http://helpx.Adobe.com/creative-cloud/KB/sign-in-out-creative-cloud-desktop-app.html

    Cloud creation help / install, update or uninstall applications

    http://helpx.Adobe.com/creative-cloud/help/install-apps.html

    Install creative Cloud applications

    http://TV.Adobe.com/watch/CS6-creative-cloud-feature-tour-for-video/installing-desktop-app s-of-creative-cloud.

Maybe you are looking for

  • Table of indicators clusters

    Hello world In my program, I have an array of clusters with controls and an array of clusters with indicators.  I created nodes of property for each table that updates the number of columns.  Each column represents a channel that is monitored on a DM

  • Cannot start from 2nd default player

    My problem: can not start from second default drive I have a HP Pavilion dv7 1451NR, product NV204UA #ABA number. I have two drives installed. I have Windows 7 64 bit is installed on disk 0 and Ubuntu 32-bit installed on disk 1. I can boot both opera

  • After installing the adapter Netgear wireless, I get an error stating that "the network is disconnected.

    original title: network problems I recently installed the Netgear Wg111v2 wireless adapter and a router netgear WPN824v3 wireless... All Indications, that it should work... Instead, I get a message... «the network is disconnected...» "I checked all t

  • My anti-theft Xperia

    I'm having a strange problem: I have my phone for a week. I put a second sim and connected the Bluetooth phone. After the phone asked me to put the bluetooth in the 'white list' of protection. I said yes. When I let the rings I have a lock screen. Be

  • said to do the system recovery

    who do system recover girls as he came again, I'm new and didn't not get a restore or recover disk with this computer