Need Help :  How to make particular Record  in Bold

Hi Frnds,
I am facing the problem to resolve the following issue....... Plz... help me out .........
I am displaying the payslip information (Elements Information ) in a Table.
In the table , i am showing the "DEDUCTIONS TOTAL"  , "EARNING TOTAL" and "NET PAY"
Now, i have to display the DEDUCTIONS TOTAL, EARNINGS TOTAL  AND NET PAY in BOLD
plz... help me out .........
Regards,
Jaya

Hello
did you try to use EL in the Attribute inlineStyle of the cell you want to style:
                          inlineStyle="#{row.Salary.value>200?'color: Red; background-color: Green; font-size: 30pt; font-weight: bolder;':''}"
here is the full page script to display data from employees table in HR schema:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<%@ page contentType="text/html;charset=windows-1252"%>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib uri="http://xmlns.oracle.com/adf/faces" prefix="af"%>
<%@ taglib uri="http://xmlns.oracle.com/adf/faces/html" prefix="afh"%>
<f:view>
  <afh:html>
    <afh:head title="untitled1">
      <meta http-equiv="Content-Type"
            content="text/html; charset=windows-1252"/>
    </afh:head>
    <afh:body>
      <af:messages/>
      <h:form>
        <af:table value="#{bindings.EmployeesView1.collectionModel}" var="row"
                  rows="#{bindings.EmployeesView1.rangeSize}"
                  first="#{bindings.EmployeesView1.rangeStart}"
                  emptyText="#{bindings.EmployeesView1.viewable ? \'No rows yet.\' : \'Access Denied.\'}">
          <af:column sortProperty="EmployeeId" sortable="false"
                     headerText="#{bindings.EmployeesView1.labels.EmployeeId}">
            <af:inputText value="#{row.EmployeeId}"
                          required="#{bindings.EmployeesView1.attrDefs.EmployeeId.mandatory}"
                          columns="#{bindings.EmployeesView1.attrHints.EmployeeId.displayWidth}">
              <f:convertNumber groupingUsed="false"
                               pattern="#{bindings.EmployeesView1.formats.EmployeeId}"/>
            </af:inputText>
          </af:column>
          <af:column sortProperty="FirstName" sortable="false"
                     headerText="#{bindings.EmployeesView1.labels.FirstName}">
            <af:inputText value="#{row.FirstName}" simple="true"
                          required="#{bindings.EmployeesView1.attrDefs.FirstName.mandatory}"
                          columns="#{bindings.EmployeesView1.attrHints.FirstName.displayWidth}"/>
          </af:column>
          <af:column sortProperty="LastName" sortable="false"
                     headerText="#{bindings.EmployeesView1.labels.LastName}">
            <af:inputText value="#{row.LastName}" simple="true"
                          required="#{bindings.EmployeesView1.attrDefs.LastName.mandatory}"
                          columns="#{bindings.EmployeesView1.attrHints.LastName.displayWidth}"/>
          </af:column>
          <af:column sortProperty="Email" sortable="false"
                     headerText="#{bindings.EmployeesView1.labels.Email}">
            <af:inputText value="#{row.Email}" simple="true"
                          required="#{bindings.EmployeesView1.attrDefs.Email.mandatory}"
                          columns="#{bindings.EmployeesView1.attrHints.Email.displayWidth}"/>
          </af:column>
          <af:column sortProperty="PhoneNumber" sortable="false"
                     headerText="#{bindings.EmployeesView1.labels.PhoneNumber}">
            <af:inputText value="#{row.PhoneNumber}" simple="true"
                          required="#{bindings.EmployeesView1.attrDefs.PhoneNumber.mandatory}"
                          columns="#{bindings.EmployeesView1.attrHints.PhoneNumber.displayWidth}"/>
          </af:column>
          <af:column sortProperty="HireDate" sortable="false"
                     headerText="#{bindings.EmployeesView1.labels.HireDate}">
            <af:inputText value="#{row.HireDate}"
                          required="#{bindings.EmployeesView1.attrDefs.HireDate.mandatory}"
                          columns="#{bindings.EmployeesView1.attrHints.HireDate.displayWidth}">
              <f:convertDateTime pattern="#{bindings.EmployeesView1.formats.HireDate}"/>
            </af:inputText>
          </af:column>
          <af:column sortProperty="JobId" sortable="false"
                     headerText="#{bindings.EmployeesView1.labels.JobId}">
            <af:inputText value="#{row.JobId}" simple="true"
                          required="#{bindings.EmployeesView1.attrDefs.JobId.mandatory}"
                          columns="#{bindings.EmployeesView1.attrHints.JobId.displayWidth}"/>
          </af:column>
          <af:column sortProperty="Salary" sortable="false"
                     headerText="#{bindings.EmployeesView1.labels.Salary}">
            <af:inputText value="#{row.Salary}"
                          required="#{bindings.EmployeesView1.attrDefs.Salary.mandatory}"
                          columns="#{bindings.EmployeesView1.attrHints.Salary.displayWidth}"
                          inlineStyle="#{row.Salary.value>200?'color: Red; background-color: Green; font-size: 30pt; font-weight: bolder;':''}">
              <f:convertNumber groupingUsed="false"
                               pattern="#{bindings.EmployeesView1.formats.Salary}"/>
            </af:inputText>
          </af:column>
          <af:column sortProperty="CommissionPct" sortable="false"
                     headerText="#{bindings.EmployeesView1.labels.CommissionPct}">
            <af:inputText value="#{row.CommissionPct}"
                          required="#{bindings.EmployeesView1.attrDefs.CommissionPct.mandatory}"
                          columns="#{bindings.EmployeesView1.attrHints.CommissionPct.displayWidth}">
              <f:convertNumber groupingUsed="false"
                               pattern="#{bindings.EmployeesView1.formats.CommissionPct}"/>
            </af:inputText>
          </af:column>
          <af:column sortProperty="ManagerId" sortable="false"
                     headerText="#{bindings.EmployeesView1.labels.ManagerId}">
            <af:inputText value="#{row.ManagerId}"
                          required="#{bindings.EmployeesView1.attrDefs.ManagerId.mandatory}"
                          columns="#{bindings.EmployeesView1.attrHints.ManagerId.displayWidth}">
              <f:convertNumber groupingUsed="false"
                               pattern="#{bindings.EmployeesView1.formats.ManagerId}"/>
            </af:inputText>
          </af:column>
          <af:column sortProperty="DepartmentId" sortable="false"
                     headerText="#{bindings.EmployeesView1.labels.DepartmentId}">
            <af:inputText value="#{row.DepartmentId}"
                          required="#{bindings.EmployeesView1.attrDefs.DepartmentId.mandatory}"
                          columns="#{bindings.EmployeesView1.attrHints.DepartmentId.displayWidth}">
              <f:convertNumber groupingUsed="false"
                               pattern="#{bindings.EmployeesView1.formats.DepartmentId}"/>
            </af:inputText>
          </af:column>
          <af:column sortProperty="DeptName" sortable="false"
                     headerText="#{bindings.EmployeesView1.labels.DeptName}">
            <af:inputText value="#{row.DeptName}" simple="true"
                          required="#{bindings.EmployeesView1.attrDefs.DeptName.mandatory}"
                          columns="#{bindings.EmployeesView1.attrHints.DeptName.displayWidth}"/>
          </af:column>
          <af:column sortProperty="EmpVideo" sortable="false"
                     headerText="#{bindings.EmployeesView1.labels.EmpVideo}">
            <af:inputText value="#{row.EmpVideo}" simple="true"
                          required="#{bindings.EmployeesView1.attrDefs.EmpVideo.mandatory}"
                          columns="#{bindings.EmployeesView1.attrHints.EmpVideo.displayWidth}"/>
          </af:column>
          <af:column sortProperty="Nationality" sortable="false"
                     headerText="#{bindings.EmployeesView1.labels.Nationality}">
            <af:inputText value="#{row.Nationality}" simple="true"
                          required="#{bindings.EmployeesView1.attrDefs.Nationality.mandatory}"
                          columns="#{bindings.EmployeesView1.attrHints.Nationality.displayWidth}"/>
          </af:column>
        </af:table>
      </h:form>
    </afh:body>
  </afh:html>
</f:view>
Best Regards,
Ahmad Al-Zamer

Similar Messages

  • I need help. how to make vertical drop down menu

    I need help. I want on my site to make navigation as such on this site http://www.website24.eu/einstieg/. if you can help me and explain how?

    like this http://www.jqueryrain.com/?3khGEoMY

  • I need help how to make emails into outide folders for storage?

    I need to back up emails as folders in order to save for the new computer?  Is there a way to do this though mobile me?

    Hi Grant
    I think I've solved my problem
    I will get the emails off the server when I switch to the new computer
    I have both macmail & entourage
    I'm upgrading from a G5 to the new imac
    Thank you, also do you know someone who is an app developer for the ipad?

  • Need help: how to make a package into a jar file?

    I tried to make a package into a jar file by using:
    jar cf a.jar packagedirectory
    But when I import one class of this package in an other application, by using:
    javac -cp path\a.jar; app.java
    the compliler can not find the calss.
    The interesting thing is if I do not put the package into the jar file, it works well.
    Here is my sample code under path D:\b\b1
    package b1;
    public class Son
         int x = 10;
         public Son(){
         public int getX(){
              return x;
    and the application code under path d:\b
    import b1.Son;
    public class Father
         public Father(){
         public static void main(String[] args)
              Son son = new Son();
              System.out.println("Hello World!"+son.getX());
    Thanks for any advise.
    Xin Cheng

    You must make sure that you are in the right directory
    when you do your jar command to create the archive.
    [home/trejkaz/proj/test/classes]% jar -cf a.jar
    path/to/package/*.class
    Thank you very much.
    Yes, I did as what you said, but it does not work.
    Here is what I did:
    1. Edit Father.java in D:\b
    2. Edit Son.java in D:\b\b1
    3. Compile Son.java
    4. Complie Father.java
    5. Make the a.jar by
    command jar cf a.jar D:\b\b1\ (I cheked the content of the a.jar, it seems right.)
    a.jar is in directory D:\b
    6. Delete Son.class in D:\b\b1
    7. Run Father.class by
    command: java -classpath D:\b\a.jar; Father
    error message is: Exception in thread "main" java.lang.NoClassDefFoundError: b1/Son
    at Father.main(Father.java:11)
    What is the problem?
    Thanks again.

  • Hi, I have this green mark (with pointing arrow looks like a link) on some words show on my window screen when I open a web page, I wonder if it is a virus link or such. Need help how to get rid of it. Thanks

    Hi, I have this green mark (with pointing arrow looks like a link) on some words show on my window screen when I open a web page, I wonder if it is a virus link or such. Need help how to get rid of it. Here's the example:
    WING
    GAMES
    MAJORITY
    Thanks

    If the third link you posted (the link containing the word "majority") does not look like the following then you inadvertently installed adware.
    That particular page should resemble the following:
    The word "majority" in the third paragraph should not be a link and should not have the green icon associated with it.
    To learn how this may have occurred, and how to prevent it from occurring in the future, read How to install adware
    Most so-called "news" websites are nothing more than entertainment outlets that cater to prurient interests, and contain advertisements that leave the user about three clicks away from installing junk. If you decide to frequent those websites, Safari's "Reader" feature helps minimize that exposure.
    Try it:

  • My Creative Cloud subscription has expired, and I assigned the monthly payment, but I can not open any progam creative cloud, I need help how to solve this problem

    my Creative Cloud subscription has expired, and I assigned the monthly payment, but I can not open any progam creative cloud, I need help how to solve this problem

    Carlos-
    Start by signing out and back in to see if it will see the subscription: 
    How to sign in and sign out of creative cloud (activate/deactivate)
    If the apps are installed fine and close after launch see this link:
    CC applications close immediately after launch
    If the problem is something different, please let us know the error you see or what is happening on the screen so we can advise  you on a solution
    Pattie

  • Mail server not responding. Need help how to verify my account

    Mail server not responding. Need help how to verify my account

    There are instructions on this page for how to create a new account without giving credit card details (the instructions won't work with existing accounts) : http://support.apple.com/kb/HT2534
    Unless an account is created via those instructions then credit card details will need to be entered on it before the account can be used.

  • How can I get a stripped screw out of the bottom of my iPhone?? I need help, How can I get a stripped screw out of the bottom of my iPhone?? I need help

    How can I get a stripped screw out of the bottom of my iPhone?? I need help, How can I get a stripped screw out of the bottom of my iPhone?? I need help

    Try asking at ifixit.com. The iPhone is not considered user servicable. You're not going to get much help on an Apple sponsored forum.

  • Need help how to use itunes card to download music

    Need help how to use itunes card to download music

    If you want to add the iTunes card to your account, then in the iTunes app on the iPad you should be able to scroll to the bottom of the Music tab and there should be a Redeem button - there is more info here : http://support.apple.com/kb/HT1574

  • I have I pad one use iOS 5.1.1 i want update to iOS 8 itry a lot time but no possible  i need  help how ican doit

    I have I pad one use iOS 5.1.1 i want update to iOS 8 itry a lot time but no possible  i need  help how ican doit.

    The iPad 1 can not be upgraded beyond 5.1.1.

  • I need help, How could I add Aliases to Local Administrator account via terminal commands???

    I need help, How could I add Aliases to Local Administrator account via terminal commands???
    I want to use commands to add alias for existing administrator account remotly by using ARD.
    Thanks.

    Hi,
    a Windows Domain Controller does not have any local user or groups. So you might add the user to the admin group at Domain level.
    B RGDS,
    Gregor
    Edited by: Gregor Gasper on Jan 9, 2009 1:44 PM

  • Hi I am new on the Mac, I need help, how can I run my apps from my library on my Mac Pro?  All my apps I was used in my iPad, thanks guys!!!!

    Hi I am new on the Mac, I need help, how can I run my apps from my library on my Mac Pro?  All my apps I was used in my iPad, thanks guys!!!!

    The Mac OS X and iOS versions are separate products

  • Hi..i am trying to login i message but i cant access ,it thing i forgot my password number, please i need help,how i can reset new password number. please i need help.

    hi..i am trying to login i message but i cant access ,it thing i forgot my password number, please i need help,how i can reset new password number. please i need help.

    Go here.
    Good luck,
    Clinton

  • Need help how to upload a PDF to an internet site

    I'm applying for jobs on my iphone 5 and some websites need me to upload a resume... I click upload and my photo album comes up! I have PDFs of my resume saved on an app but I can't work out how to upload them on the websites? Any1 know an App or solution

    Duplicate post NEED HELP: HOW TO OPEN A PDF IN ESS (EMPLOYEE SELF SERVICE)
    --Shiv                                                                                                                                                                                               

  • Help: how to make photo enlargements?

    hi there, i'm am currently constucting a website using iweb. i have managed to create a photo page with all the thumbnails i need.
    can anyone tell me how to make it so when someone clicks on a particular thumbnail and enlargement or the actual size of the photo opens up in a separate window as you find in regular galleries?
    also, is this an effective method, or does it take up a lot more memory when uploading the site, or would it just be better to have larger thumbnails that are more visable?
    any help is appreciated, thanks!
    MacBook2,1   Mac OS X (10.4.8)  

    This should be already happening if you are using a photo page template.

Maybe you are looking for

  • Can send but not receive in Mail

    I can't send out email in Mail, despite having the right settings. (I have gone over this with support.) I have used Mail for years, and this has only been a problem since upgrading to Leopard. Saw Pascal's answer to zfalstaf on Jan 7 and tried all h

  • Every time I try to connect to my home wi-fi it says unable to connect

    Help!  I cannot connect to my home network.

  • Streaming music from iPad

    TRying to play music from ipad2 on appletv..I see my library on tv but can not control from ipad

  • One or more files...missing

    I have re-installed my OS (Tiger). Upon launching Photoshop the first time (CS2) I had to re-authorize, ok, no problem (I hope). Then the window appears: One or more files in the Adobe Application Support folder, necessary to running Photoshop, are m

  • Problems opening ePub.zip files in iBooks?

    I write book reviews and recently the publisher I work for has stopped sending press copies and only sends eBook copies in the form of ePub.zip files. They claim the files will work on Nook e-readers and "most other available e-readers". The problem